FormFolder.Designer.cs

本文介绍了一款用于清理计算机中各类缓存与记录的工具设计与实现细节。该工具通过直观的用户界面提供了多种清理选项,包括临时文件夹、IE地址栏记录、运行对话框记录及文件对话框记录等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

namespace SpecialFolder
{
    partial class FormFolder
    {
        private System.ComponentModel.IContainer components = null;

        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
                components.Dispose();
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormFolder));
            this.toolStripInfo = new System.Windows.Forms.ToolStrip();
            this.toolButtonAll = new System.Windows.Forms.ToolStripButton();
            this.toolButtonCancel = new System.Windows.Forms.ToolStripButton();
            this.toolButtonClear = new System.Windows.Forms.ToolStripButton();
            this.statusStripInfo = new System.Windows.Forms.StatusStrip();
            this.statusLabelTime = new System.Windows.Forms.ToolStripStatusLabel();
            this.timerInfo = new System.Windows.Forms.Timer(this.components);
            this.tabControlTemp = new System.Windows.Forms.TabControl();
            this.tabPageTemp = new System.Windows.Forms.TabPage();
            this.gridViewTemp = new System.Windows.Forms.DataGridView();
            this.Column1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
            this.Column2 = new System.Windows.Forms.DataGridViewLinkColumn();
            this.tabPageIE = new System.Windows.Forms.TabPage();
            this.listViewTemp = new System.Windows.Forms.ListView();
            this.columnHeaderTemp = new System.Windows.Forms.ColumnHeader();
            this.tabPageRun = new System.Windows.Forms.TabPage();
            this.tabPageMRU = new System.Windows.Forms.TabPage();
            this.toolStripInfo.SuspendLayout();
            this.statusStripInfo.SuspendLayout();
            this.tabControlTemp.SuspendLayout();
            this.tabPageTemp.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridViewTemp)).BeginInit();
            this.tabPageIE.SuspendLayout();
            this.SuspendLayout();
            //
            // toolStripInfo
            //
            this.toolStripInfo.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStripInfo.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolButtonAll,
            this.toolButtonCancel,
            this.toolButtonClear});
            this.toolStripInfo.Location = new System.Drawing.Point(0, 0);
            this.toolStripInfo.Name = "toolStripInfo";
            this.toolStripInfo.Size = new System.Drawing.Size(502, 25);
            this.toolStripInfo.TabIndex = 5;
            //
            // toolButtonAll
            //
            this.toolButtonAll.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonAll.Image")));
            this.toolButtonAll.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolButtonAll.Margin = new System.Windows.Forms.Padding(4, 1, 0, 2);
            this.toolButtonAll.Name = "toolButtonAll";
            this.toolButtonAll.Size = new System.Drawing.Size(67, 22);
            this.toolButtonAll.Text = "全选(&A)";
            this.toolButtonAll.Click += new System.EventHandler(this.toolButtonAll_Click);
            //
            // toolButtonCancel
            //
            this.toolButtonCancel.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonCancel.Image")));
            this.toolButtonCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolButtonCancel.Margin = new System.Windows.Forms.Padding(2, 1, 0, 2);
            this.toolButtonCancel.Name = "toolButtonCancel";
            this.toolButtonCancel.Size = new System.Drawing.Size(67, 22);
            this.toolButtonCancel.Text = "取消(&C)";
            this.toolButtonCancel.Click += new System.EventHandler(this.toolButtonAll_Click);
            //
            // toolButtonClear
            //
            this.toolButtonClear.Image = ((System.Drawing.Image)(resources.GetObject("toolButtonClear.Image")));
            this.toolButtonClear.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolButtonClear.Margin = new System.Windows.Forms.Padding(2, 1, 0, 2);
            this.toolButtonClear.Name = "toolButtonClear";
            this.toolButtonClear.Size = new System.Drawing.Size(67, 22);
            this.toolButtonClear.Text = "清理(&D)";
            this.toolButtonClear.Click += new System.EventHandler(this.toolButtonClear_Click);
            //
            // statusStripInfo
            //
            this.statusStripInfo.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.statusLabelTime});
            this.statusStripInfo.Location = new System.Drawing.Point(0, 216);
            this.statusStripInfo.Name = "statusStripInfo";
            this.statusStripInfo.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
            this.statusStripInfo.Size = new System.Drawing.Size(502, 22);
            this.statusStripInfo.TabIndex = 7;
            //
            // statusLabelTime
            //
            this.statusLabelTime.Name = "statusLabelTime";
            this.statusLabelTime.Size = new System.Drawing.Size(477, 17);
            this.statusLabelTime.Spring = true;
            //
            // timerInfo
            //
            this.timerInfo.Enabled = true;
            this.timerInfo.Interval = 1000;
            this.timerInfo.Tick += new System.EventHandler(this.timerInfo_Tick);
            //
            // tabControlTemp
            //
            this.tabControlTemp.Controls.Add(this.tabPageTemp);
            this.tabControlTemp.Controls.Add(this.tabPageIE);
            this.tabControlTemp.Controls.Add(this.tabPageRun);
            this.tabControlTemp.Controls.Add(this.tabPageMRU);
            this.tabControlTemp.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControlTemp.Location = new System.Drawing.Point(0, 25);
            this.tabControlTemp.Name = "tabControlTemp";
            this.tabControlTemp.SelectedIndex = 0;
            this.tabControlTemp.Size = new System.Drawing.Size(502, 191);
            this.tabControlTemp.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
            this.tabControlTemp.TabIndex = 8;
            this.tabControlTemp.Selecting += new System.Windows.Forms.TabControlCancelEventHandler(this.tabControlTemp_Selecting);
            //
            // tabPageTemp
            //
            this.tabPageTemp.Controls.Add(this.gridViewTemp);
            this.tabPageTemp.Location = new System.Drawing.Point(4, 21);
            this.tabPageTemp.Name = "tabPageTemp";
            this.tabPageTemp.Padding = new System.Windows.Forms.Padding(3);
            this.tabPageTemp.Size = new System.Drawing.Size(494, 166);
            this.tabPageTemp.TabIndex = 0;
            this.tabPageTemp.Text = "临时文件夹";
            this.tabPageTemp.UseVisualStyleBackColor = true;
            //
            // gridViewTemp
            //
            this.gridViewTemp.AllowUserToAddRows = false;
            this.gridViewTemp.AllowUserToDeleteRows = false;
            this.gridViewTemp.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.gridViewTemp.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.gridViewTemp.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.Column1,
            this.Column2});
            this.gridViewTemp.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridViewTemp.Location = new System.Drawing.Point(3, 3);
            this.gridViewTemp.Name = "gridViewTemp";
            this.gridViewTemp.ReadOnly = true;
            this.gridViewTemp.RowTemplate.Height = 25;
            this.gridViewTemp.Size = new System.Drawing.Size(488, 160);
            this.gridViewTemp.TabIndex = 9;
            this.gridViewTemp.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gridViewTemp_CellClick);
            //
            // Column1
            //
            this.Column1.HeaderText = "";
            this.Column1.Name = "Column1";
            this.Column1.ReadOnly = true;
            //
            // Column2
            //
            this.Column2.HeaderText = "";
            this.Column2.Name = "Column2";
            this.Column2.ReadOnly = true;
            //
            // tabPageIE
            //
            this.tabPageIE.Controls.Add(this.listViewTemp);
            this.tabPageIE.Location = new System.Drawing.Point(4, 21);
            this.tabPageIE.Name = "tabPageIE";
            this.tabPageIE.Padding = new System.Windows.Forms.Padding(3);
            this.tabPageIE.Size = new System.Drawing.Size(494, 166);
            this.tabPageIE.TabIndex = 1;
            this.tabPageIE.Text = "IE地址栏记录";
            this.tabPageIE.UseVisualStyleBackColor = true;
            //
            // listViewTemp
            //
            this.listViewTemp.CheckBoxes = true;
            this.listViewTemp.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeaderTemp});
            this.listViewTemp.Dock = System.Windows.Forms.DockStyle.Fill;
            this.listViewTemp.GridLines = true;
            this.listViewTemp.Location = new System.Drawing.Point(3, 3);
            this.listViewTemp.Name = "listViewTemp";
            this.listViewTemp.Size = new System.Drawing.Size(488, 160);
            this.listViewTemp.TabIndex = 1;
            this.listViewTemp.UseCompatibleStateImageBehavior = false;
            this.listViewTemp.View = System.Windows.Forms.View.Details;
            this.listViewTemp.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listViewTemp_MouseUp);
            //
            // columnHeaderTemp
            //
            this.columnHeaderTemp.Width = 485;
            //
            // tabPageRun
            //
            this.tabPageRun.Location = new System.Drawing.Point(4, 21);
            this.tabPageRun.Name = "tabPageRun";
            this.tabPageRun.Padding = new System.Windows.Forms.Padding(3);
            this.tabPageRun.Size = new System.Drawing.Size(484, 166);
            this.tabPageRun.TabIndex = 2;
            this.tabPageRun.Text = "运行对话框记录";
            this.tabPageRun.UseVisualStyleBackColor = true;
            //
            // tabPageMRU
            //
            this.tabPageMRU.Location = new System.Drawing.Point(4, 21);
            this.tabPageMRU.Name = "tabPageMRU";
            this.tabPageMRU.Padding = new System.Windows.Forms.Padding(3);
            this.tabPageMRU.Size = new System.Drawing.Size(484, 166);
            this.tabPageMRU.TabIndex = 3;
            this.tabPageMRU.Text = "文件对话框记录";
            this.tabPageMRU.UseVisualStyleBackColor = true;
            //
            // FormFolder
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Window;
            this.ClientSize = new System.Drawing.Size(502, 238);
            this.Controls.Add(this.tabControlTemp);
            this.Controls.Add(this.statusStripInfo);
            this.Controls.Add(this.toolStripInfo);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.Name = "FormFolder";
            this.toolStripInfo.ResumeLayout(false);
            this.toolStripInfo.PerformLayout();
            this.statusStripInfo.ResumeLayout(false);
            this.statusStripInfo.PerformLayout();
            this.tabControlTemp.ResumeLayout(false);
            this.tabPageTemp.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridViewTemp)).EndInit();
            this.tabPageIE.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
        #endregion

        private System.Windows.Forms.ColumnHeader columnHeaderTemp;
        private System.Windows.Forms.DataGridView gridViewTemp;
        private System.Windows.Forms.DataGridViewCheckBoxColumn Column1;
        private System.Windows.Forms.DataGridViewLinkColumn Column2;
        private System.Windows.Forms.ListView listViewTemp;
        private System.Windows.Forms.StatusStrip statusStripInfo;
        private System.Windows.Forms.TabControl tabControlTemp;
        private System.Windows.Forms.TabPage tabPageIE;
        private System.Windows.Forms.TabPage tabPageMRU;
        private System.Windows.Forms.TabPage tabPageRun;
        private System.Windows.Forms.TabPage tabPageTemp;
        private System.Windows.Forms.Timer timerInfo;
        private System.Windows.Forms.ToolStrip toolStripInfo;
        private System.Windows.Forms.ToolStripButton toolButtonAll;
        private System.Windows.Forms.ToolStripButton toolButtonCancel;
        private System.Windows.Forms.ToolStripButton toolButtonClear;
        private System.Windows.Forms.ToolStripStatusLabel statusLabelTime;
    }
}

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace _2 { public partial class 主界面 : Form { public 主界面() { InitializeComponent(); } private void InitializeComponent() { // 主容器和布局 this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.treeViewNotes = new System.Windows.Forms.TreeView(); this.listViewNotes = new System.Windows.Forms.ListView(); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.panel1 = new System.Windows.Forms.Panel(); this.lblLastModified = new System.Windows.Forms.Label(); this.lblNoteTitle = new System.Windows.Forms.Label(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.listViewVersions = new System.Windows.Forms.ListView(); this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.上传文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.打开ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.退出登录ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.注销账号ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.编辑ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.修改ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.修改密码ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.删除ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.笔记ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.上传文件ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.修改ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.删除ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.分类ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.版本历史ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.imageList1 = new System.Windows.Forms.ImageList(); // 设置控件属性 this.SuspendLayout(); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 24); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 (左侧面板) // this.splitContainer1.Panel1.Controls.Add(this.treeViewNotes); this.splitContainer1.Panel1.Controls.Add(this.listViewNotes); // // splitContainer1.Panel2 (右侧面板) // this.splitContainer1.Panel2.Controls.Add(this.panel1); this.splitContainer1.Size = new System.Drawing.Size(1000, 576); this.splitContainer1.SplitterDistance = 300; this.splitContainer1.TabIndex = 0; // // treeViewNotes (笔记分类树) // this.treeViewNotes.Dock = System.Windows.Forms.DockStyle.Top; this.treeViewNotes.Location = new System.Drawing.Point(0, 0); this.treeViewNotes.Name = "treeViewNotes"; this.treeViewNotes.Size = new System.Drawing.Size(300, 300); this.treeViewNotes.TabIndex = 0; this.treeViewNotes.ImageList = imageList1; this.treeViewNotes.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewNotes_AfterSelect); this.treeViewNotes.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeViewNotes_NodeMouseDoubleClick); // 设置图像列表 imageList1.Images.Add(SystemIcons.Folder); // 文件夹图标用于分类 imageList1.Images.Add(SystemIcons.Document); // 文档图标用于笔记 // // listViewNotes (笔记列表) // this.listViewNotes.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewNotes.View = System.Windows.Forms.View.Details; this.listViewNotes.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, // 标题 this.columnHeader2, // 分类 this.columnHeader3, // 创建时间 this.columnHeader4 // 最后修改 }); this.listViewNotes.Location = new System.Drawing.Point(0, 300); this.listViewNotes.Name = "listViewNotes"; this.listViewNotes.Size = new System.Drawing.Size(300, 276); this.listViewNotes.TabIndex = 1; this.listViewNotes.UseCompatibleStateImageBehavior = false; this.listViewNotes.FullRowSelect = true; this.listViewNotes.MultiSelect = false; this.listViewNotes.SelectedIndexChanged += new System.EventHandler(this.listViewNotes_SelectedIndexChanged); // 设置列宽 this.columnHeader1.Text = "标题"; this.columnHeader1.Width = 120; this.columnHeader2.Text = "分类"; this.columnHeader2.Width = 80; this.columnHeader3.Text = "创建时间"; this.columnHeader3.Width = 120; this.columnHeader4.Text = "最后修改"; this.columnHeader4.Width = 120; // // panel1 (主内容面板) // this.panel1.Controls.Add(this.splitContainer2); this.panel1.Controls.Add(this.lblLastModified); this.panel1.Controls.Add(this.lblNoteTitle); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(696, 576); this.panel1.TabIndex = 0; // // lblNoteTitle (笔记标题标签) // this.lblNoteTitle.AutoSize = true; this.lblNoteTitle.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblNoteTitle.Location = new System.Drawing.Point(10, 10); this.lblNoteTitle.Name = "lblNoteTitle"; this.lblNoteTitle.Size = new System.Drawing.Size(100, 21); this.lblNoteTitle.TabIndex = 1; this.lblNoteTitle.Text = "未选择笔记"; // // lblLastModified (最后修改标签) // this.lblLastModified.AutoSize = true; this.lblLastModified.Location = new System.Drawing.Point(10, 40); this.lblLastModified.Name = "lblLastModified"; this.lblLastModified.Size = new System.Drawing.Size(0, 12); this.lblLastModified.TabIndex = 2; // // splitContainer2 (右侧分割容器) // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Location = new System.Drawing.Point(0, 60); this.splitContainer2.Name = "splitContainer2"; this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer2.Panel1 (上部分 - 笔记内容) // this.splitContainer2.Panel1.Controls.Add(this.webBrowser1); // // splitContainer2.Panel2 (下部分 - 版本历史) // this.splitContainer2.Panel2.Controls.Add(this.listViewVersions); this.splitContainer2.Size = new System.Drawing.Size(696, 516); this.splitContainer2.SplitterDistance = 350; this.splitContainer2.TabIndex = 3; // // webBrowser1 (笔记内容浏览器) // this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; this.webBrowser1.Location = new System.Drawing.Point(0, 0); this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); this.webBrowser1.Name = "webBrowser1"; this.webBrowser1.Size = new System.Drawing.Size(696, 350); this.webBrowser1.TabIndex = 0; // // listViewVersions (版本历史列表) // this.listViewVersions.Dock = System.Windows.Forms.DockStyle.Fill; this.listViewVersions.View = System.Windows.Forms.View.Details; this.listViewVersions.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader5, // 版本 this.columnHeader6, // 创建时间 this.columnHeader7 // 描述 }); this.listViewVersions.Location = new System.Drawing.Point(0, 0); this.listViewVersions.Name = "listViewVersions"; this.listViewVersions.Size = new System.Drawing.Size(696, 162); this.listViewVersions.TabIndex = 0; this.listViewVersions.UseCompatibleStateImageBehavior = false; this.listViewVersions.FullRowSelect = true; this.listViewVersions.MultiSelect = false; this.listViewVersions.DoubleClick += new System.EventHandler(this.listViewVersions_DoubleClick); // 设置列宽 this.columnHeader5.Text = "版本"; this.columnHeader5.Width = 80; this.columnHeader6.Text = "创建时间"; this.columnHeader6.Width = 120; this.columnHeader7.Text = "描述"; this.columnHeader7.Width = 400; // // menuStrip1 (主菜单) // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.文件ToolStripMenuItem, this.编辑ToolStripMenuItem, this.笔记ToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(1000, 25); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "menuStrip1"; // // 文件ToolStripMenuItem (文件菜单) // this.文件ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.上传文件ToolStripMenuItem, this.打开ToolStripMenuItem1, this.退出登录ToolStripMenuItem, this.注销账号ToolStripMenuItem }); this.文件ToolStripMenuItem.Name = "文件ToolStripMenuItem"; this.文件ToolStripMenuItem.Size = new System.Drawing.Size(44, 21); this.文件ToolStripMenuItem.Text = "文件"; // // 上传文件ToolStripMenuItem (上传文件菜单项) // this.上传文件ToolStripMenuItem.Name = "上传文件ToolStripMenuItem"; this.上传文件ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.上传文件ToolStripMenuItem.Text = "上传文件"; this.上传文件ToolStripMenuItem.Click += new System.EventHandler(this.上传文件ToolStripMenuItem_Click); // // 打开ToolStripMenuItem1 (打开文件菜单项) // this.打开ToolStripMenuItem1.Name = "打开ToolStripMenuItem1"; this.打开ToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); this.打开ToolStripMenuItem1.Text = "打开"; this.打开ToolStripMenuItem1.Click += new System.EventHandler(this.打开ToolStripMenuItem1_Click); // // 退出登录ToolStripMenuItem (退出登录菜单项) // this.退出登录ToolStripMenuItem.Name = "退出登录ToolStripMenuItem"; this.退出登录ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.退出登录ToolStripMenuItem.Text = "退出登录"; this.退出登录ToolStripMenuItem.Click += new System.EventHandler(this.退出登录ToolStripMenuItem_Click); // // 注销账号ToolStripMenuItem (注销账号菜单项) // this.注销账号ToolStripMenuItem.Name = "注销账号ToolStripMenuItem"; this.注销账号ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.注销账号ToolStripMenuItem.Text = "注销账号"; this.注销账号ToolStripMenuItem.Click += new System.EventHandler(this.注销账号ToolStripMenuItem_Click); // // 编辑ToolStripMenuItem (编辑菜单) // this.编辑ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.修改ToolStripMenuItem, this.修改密码ToolStripMenuItem, this.删除ToolStripMenuItem }); this.编辑ToolStripMenuItem.Name = "编辑ToolStripMenuItem"; this.编辑ToolStripMenuItem.Size = new System.Drawing.Size(44, 21); this.编辑ToolStripMenuItem.Text = "编辑"; // // 修改ToolStripMenuItem (修改菜单项) // this.修改ToolStripMenuItem.Name = "修改ToolStripMenuItem"; this.修改ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.修改ToolStripMenuItem.Text = "修改"; // // 修改密码ToolStripMenuItem (修改密码菜单项) // this.修改密码ToolStripMenuItem.Name = "修改密码ToolStripMenuItem"; this.修改密码ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.修改密码ToolStripMenuItem.Text = "修改密码"; this.修改密码ToolStripMenuItem.Click += new System.EventHandler(this.修改密码ToolStripMenuItem_Click); // // 删除ToolStripMenuItem (删除菜单项) // this.删除ToolStripMenuItem.Name = "删除ToolStripMenuItem"; this.删除ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.删除ToolStripMenuItem.Text = "删除"; // // 笔记ToolStripMenuItem (笔记菜单) // this.笔记ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.上传文件ToolStripMenuItem1, this.修改ToolStripMenuItem1, this.删除ToolStripMenuItem1, this.分类ToolStripMenuItem, this.版本历史ToolStripMenuItem }); this.笔记ToolStripMenuItem.Name = "笔记ToolStripMenuItem"; this.笔记ToolStripMenuItem.Size = new System.Drawing.Size(44, 21); this.笔记ToolStripMenuItem.Text = "笔记"; // // 上传文件ToolStripMenuItem1 (上传笔记菜单项) // this.上传文件ToolStripMenuItem1.Name = "上传文件ToolStripMenuItem1"; this.上传文件ToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); this.上传文件ToolStripMenuItem1.Text = "上传笔记"; this.上传文件ToolStripMenuItem1.Click += new System.EventHandler(this.上传文件ToolStripMenuItem_Click); // // 修改ToolStripMenuItem1 (修改笔记菜单项) // this.修改ToolStripMenuItem1.Name = "修改ToolStripMenuItem1"; this.修改ToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); this.修改ToolStripMenuItem1.Text = "修改"; this.修改ToolStripMenuItem1.Click += new System.EventHandler(this.修改ToolStripMenuItem_Click); // // 删除ToolStripMenuItem1 (删除笔记菜单项) // this.删除ToolStripMenuItem1.Name = "删除ToolStripMenuItem1"; this.删除ToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); this.删除ToolStripMenuItem1.Text = "删除"; this.删除ToolStripMenuItem1.Click += new System.EventHandler(this.删除ToolStripMenuItem1_Click); // // 分类ToolStripMenuItem (分类菜单项) // this.分类ToolStripMenuItem.Name = "分类ToolStripMenuItem"; this.分类ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.分类ToolStripMenuItem.Text = "分类"; this.分类ToolStripMenuItem.Click += new System.EventHandler(this.分类ToolStripMenuItem_Click); // // 版本历史ToolStripMenuItem (版本历史菜单项) // this.版本历史ToolStripMenuItem.Name = "版本历史ToolStripMenuItem"; this.版本历史ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.版本历史ToolStripMenuItem.Text = "版本历史"; this.版本历史ToolStripMenuItem.Click += new System.EventHandler(this.版本历史ToolStripMenuItem_Click); // 窗体设置 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1000, 600); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.menuStrip1); this.MainMenuStrip = this.menuStrip1; this.Name = "Form2"; this.Text = "学习管理助手"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form2_FormClosing); this.Load += new System.EventHandler(this.Form2_Load); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); this.splitContainer2.ResumeLayout(false); this.menuStrip1.ResumeLayout(false); private void 主界面_Load(object sender, EventArgs e) { } } } 为什么报错怎么改
07-03
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; // 添加必要的命名空间 using System.Data.SqlClient; // 添加数据库支持 namespace _2 { public partial class 主界面 : Form { // 声明所有控件 private SplitContainer splitContainer1; private TreeView treeViewNotes; private ListView listViewNotes; private ColumnHeader columnHeader1; private ColumnHeader columnHeader2; private ColumnHeader columnHeader3; private ColumnHeader columnHeader4; private Panel panel1; private Label lblLastModified; private Label lblNoteTitle; private SplitContainer splitContainer2; private ListView listViewVersions; private ColumnHeader columnHeader5; private ColumnHeader columnHeader6; private ColumnHeader columnHeader7; private MenuStrip menuStrip1; private ToolStripMenuItem 文件ToolStripMenuItem; private ToolStripMenuItem 上传文件ToolStripMenuItem; private ToolStripMenuItem 打开ToolStripMenuItem1; private ToolStripMenuItem 退出登录ToolStripMenuItem; private ToolStripMenuItem 注销账号ToolStripMenuItem; private ToolStripMenuItem 编辑ToolStripMenuItem; private ToolStripMenuItem 修改ToolStripMenuItem; private ToolStripMenuItem 修改密码ToolStripMenuItem; private ToolStripMenuItem 删除ToolStripMenuItem; private ToolStripMenuItem 笔记ToolStripMenuItem; private ToolStripMenuItem 上传文件ToolStripMenuItem1; private ToolStripMenuItem 修改ToolStripMenuItem1; private ToolStripMenuItem 删除ToolStripMenuItem1; private ToolStripMenuItem 分类ToolStripMenuItem; private ToolStripMenuItem 版本历史ToolStripMenuItem; private ImageList imageList1; private WebBrowser webBrowser1; // 添加缺失的WebBrowser声明 public 主界面() { InitializeComponent(); } private void InitializeComponent() { // 初始化所有控件 this.splitContainer1 = new SplitContainer(); this.treeViewNotes = new TreeView(); this.listViewNotes = new ListView(); this.columnHeader1 = new ColumnHeader(); this.columnHeader2 = new ColumnHeader(); this.columnHeader3 = new ColumnHeader(); this.columnHeader4 = new ColumnHeader(); this.panel1 = new Panel(); this.lblLastModified = new Label(); this.lblNoteTitle = new Label(); this.splitContainer2 = new SplitContainer(); this.webBrowser1 = new WebBrowser(); // 初始化WebBrowser this.listViewVersions = new ListView(); this.columnHeader5 = new ColumnHeader(); this.columnHeader6 = new ColumnHeader(); this.columnHeader7 = new ColumnHeader(); this.menuStrip1 = new MenuStrip(); this.文件ToolStripMenuItem = new ToolStripMenuItem(); this.上传文件ToolStripMenuItem = new ToolStripMenuItem(); this.打开ToolStripMenuItem1 = new ToolStripMenuItem(); this.退出登录ToolStripMenuItem = new ToolStripMenuItem(); this.注销账号ToolStripMenuItem = new ToolStripMenuItem(); this.编辑ToolStripMenuItem = new ToolStripMenuItem(); this.修改ToolStripMenuItem = new ToolStripMenuItem(); this.修改密码ToolStripMenuItem = new ToolStripMenuItem(); this.删除ToolStripMenuItem = new ToolStripMenuItem(); this.笔记ToolStripMenuItem = new ToolStripMenuItem(); this.上传文件ToolStripMenuItem1 = new ToolStripMenuItem(); this.修改ToolStripMenuItem1 = new ToolStripMenuItem(); this.删除ToolStripMenuItem1 = new ToolStripMenuItem(); this.分类ToolStripMenuItem = new ToolStripMenuItem(); this.版本历史ToolStripMenuItem = new ToolStripMenuItem(); this.imageList1 = new ImageList(); // 设置控件属性 this.SuspendLayout(); // splitContainer1 this.splitContainer1 = new SplitContainer(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.SuspendLayout(); this.splitContainer1.Dock = DockStyle.Fill; this.splitContainer1.Location = new Point(0, 24); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.treeViewNotes); this.splitContainer1.Panel1.Controls.Add(this.listViewNotes); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.panel1); this.splitContainer1.Size = new Size(1000, 576); this.splitContainer1.SplitterDistance = 300; this.splitContainer1.TabIndex = 0; // treeViewNotes this.treeViewNotes.Dock = DockStyle.Top; this.treeViewNotes.Location = new Point(0, 0); this.treeViewNotes.Name = "treeViewNotes"; this.treeViewNotes.Size = new Size(300, 300); this.treeViewNotes.TabIndex = 0; this.treeViewNotes.ImageList = imageList1; this.treeViewNotes.AfterSelect += new TreeViewEventHandler(this.treeViewNotes_AfterSelect); this.treeViewNotes.NodeMouseDoubleClick += new TreeNodeMouseClickEventHandler(this.treeViewNotes_NodeMouseDoubleClick); // 初始化图像列表 this.imageList1.Images.Add(SystemIcons.Folder); this.imageList1.Images.Add(SystemIcons.Document); // listViewNotes this.listViewNotes.Dock = DockStyle.Fill; this.listViewNotes.View = View.Details; this.listViewNotes.Columns.AddRange(new ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4 }); this.listViewNotes.Location = new Point(0, 300); this.listViewNotes.Name = "listViewNotes"; this.listViewNotes.Size = new Size(300, 276); this.listViewNotes.TabIndex = 1; this.listViewNotes.UseCompatibleStateImageBehavior = false; this.listViewNotes.FullRowSelect = true; this.listViewNotes.MultiSelect = false; this.listViewNotes.SelectedIndexChanged += new EventHandler(this.listViewNotes_SelectedIndexChanged); // 设置列宽 this.columnHeader1.Text = "标题"; this.columnHeader1.Width = 120; this.columnHeader2.Text = "分类"; this.columnHeader2.Width = 80; this.columnHeader3.Text = "创建时间"; this.columnHeader3.Width = 120; this.columnHeader4.Text = "最后修改"; this.columnHeader4.Width = 120; // panel1 this.panel1.Controls.Add(this.splitContainer2); this.panel1.Controls.Add(this.lblLastModified); this.panel1.Controls.Add(this.lblNoteTitle); this.panel1.Dock = DockStyle.Fill; this.panel1.Location = new Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(696, 576); this.panel1.TabIndex = 0; // lblNoteTitle this.lblNoteTitle.AutoSize = true; this.lblNoteTitle.Font = new Font("微软雅黑", 12F, FontStyle.Bold, GraphicsUnit.Point, ((byte)(134))); this.lblNoteTitle.Location = new Point(10, 10); this.lblNoteTitle.Name = "lblNoteTitle"; this.lblNoteTitle.Size = new Size(100, 21); this.lblNoteTitle.TabIndex = 1; this.lblNoteTitle.Text = "未选择笔记"; // lblLastModified this.lblLastModified.AutoSize = true; this.lblLastModified.Location = new Point(10, 40); this.lblLastModified.Name = "lblLastModified"; this.lblLastModified.Size = new Size(0, 12); this.lblLastModified.TabIndex = 2; // splitContainer2 this.splitContainer2 = new SplitContainer(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); this.splitContainer2.SuspendLayout(); this.splitContainer2.Dock = DockStyle.Fill; this.splitContainer2.Location = new Point(0, 60); this.splitContainer2.Name = "splitContainer2"; this.splitContainer2.Orientation = Orientation.Horizontal; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.webBrowser1); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.listViewVersions); this.splitContainer2.Size = new Size(696, 516); this.splitContainer2.SplitterDistance = 350; this.splitContainer2.TabIndex = 3; // webBrowser1 this.webBrowser1.Dock = DockStyle.Fill; this.webBrowser1.Location = new Point(0, 0); this.webBrowser1.MinimumSize = new Size(20, 20); this.webBrowser1.Name = "webBrowser1"; this.webBrowser1.Size = new Size(696, 350); this.webBrowser1.TabIndex = 0; // listViewVersions this.listViewVersions.Dock = DockStyle.Fill; this.listViewVersions.View = View.Details; this.listViewVersions.Columns.AddRange(new ColumnHeader[] { this.columnHeader5, this.columnHeader6, this.columnHeader7 }); this.listViewVersions.Location = new Point(0, 0); this.listViewVersions.Name = "listViewVersions"; this.listViewVersions.Size = new Size(696, 162); this.listViewVersions.TabIndex = 0; this.listViewVersions.UseCompatibleStateImageBehavior = false; this.listViewVersions.FullRowSelect = true; this.listViewVersions.MultiSelect = false; this.listViewVersions.DoubleClick += new EventHandler(this.listViewVersions_DoubleClick); // 设置列宽 this.columnHeader5.Text = "版本"; this.columnHeader5.Width = 80; this.columnHeader6.Text = "创建时间"; this.columnHeader6.Width = 120; this.columnHeader7.Text = "描述"; this.columnHeader7.Width = 400; // menuStrip1 this.menuStrip1.Items.AddRange(new ToolStripItem[] { this.文件ToolStripMenuItem, this.编辑ToolStripMenuItem, this.笔记ToolStripMenuItem }); this.menuStrip1.Location = new Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new Size(1000, 25); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "menuStrip1"; // 文件ToolStripMenuItem this.文件ToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.上传文件ToolStripMenuItem, this.打开ToolStripMenuItem1, this.退出登录ToolStripMenuItem, this.注销账号ToolStripMenuItem }); this.文件ToolStripMenuItem.Name = "文件ToolStripMenuItem"; this.文件ToolStripMenuItem.Size = new Size(44, 21); this.文件ToolStripMenuItem.Text = "文件"; // 上传文件ToolStripMenuItem this.上传文件ToolStripMenuItem.Name = "上传文件ToolStripMenuItem"; this.上传文件ToolStripMenuItem.Size = new Size(152, 22); this.上传文件ToolStripMenuItem.Text = "上传文件"; this.上传文件ToolStripMenuItem.Click += new EventHandler(this.上传文件ToolStripMenuItem_Click); // 打开ToolStripMenuItem1 this.打开ToolStripMenuItem1.Name = "打开ToolStripMenuItem1"; this.打开ToolStripMenuItem1.Size = new Size(152, 22); this.打开ToolStripMenuItem1.Text = "打开"; this.打开ToolStripMenuItem1.Click += new EventHandler(this.打开ToolStripMenuItem1_Click); // 退出登录ToolStripMenuItem this.退出登录ToolStripMenuItem.Name = "退出登录ToolStripMenuItem"; this.退出登录ToolStripMenuItem.Size = new Size(152, 22); this.退出登录ToolStripMenuItem.Text = "退出登录"; this.退出登录ToolStripMenuItem.Click += new EventHandler(this.退出登录ToolStripMenuItem_Click); // 注销账号ToolStripMenuItem this.注销账号ToolStripMenuItem.Name = "注销账号ToolStripMenuItem"; this.注销账号ToolStripMenuItem.Size = new Size(152, 22); this.注销账号ToolStripMenuItem.Text = "注销账号"; this.注销账号ToolStripMenuItem.Click += new EventHandler(this.注销账号ToolStripMenuItem_Click); // 编辑ToolStripMenuItem this.编辑ToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.修改ToolStripMenuItem, this.修改密码ToolStripMenuItem, this.删除ToolStripMenuItem }); this.编辑ToolStripMenuItem.Name = "编辑ToolStripMenuItem"; this.编辑ToolStripMenuItem.Size = new Size(44, 21); this.编辑ToolStripMenuItem.Text = "编辑"; // 修改ToolStripMenuItem this.修改ToolStripMenuItem.Name = "修改ToolStripMenuItem"; this.修改ToolStripMenuItem.Size = new Size(152, 22); this.修改ToolStripMenuItem.Text = "修改"; // 修改密码ToolStripMenuItem this.修改密码ToolStripMenuItem.Name = "修改密码ToolStripMenuItem"; this.修改密码ToolStripMenuItem.Size = new Size(152, 22); this.修改密码ToolStripMenuItem.Text = "修改密码"; this.修改密码ToolStripMenuItem.Click += new EventHandler(this.修改密码ToolStripMenuItem_Click); // 删除ToolStripMenuItem this.删除ToolStripMenuItem.Name = "删除ToolStripMenuItem"; this.删除ToolStripMenuItem.Size = new Size(152, 22); this.删除ToolStripMenuItem.Text = "删除"; // 笔记ToolStripMenuItem this.笔记ToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.上传文件ToolStripMenuItem1, this.修改ToolStripMenuItem1, this.删除ToolStripMenuItem1, this.分类ToolStripMenuItem, this.版本历史ToolStripMenuItem }); this.笔记ToolStripMenuItem.Name = "笔记ToolStripMenuItem"; this.笔记ToolStripMenuItem.Size = new Size(44, 21); this.笔记ToolStripMenuItem.Text = "笔记"; // 上传文件ToolStripMenuItem1 this.上传文件ToolStripMenuItem1.Name = "上传文件ToolStripMenuItem1"; this.上传文件ToolStripMenuItem1.Size = new Size(152, 22); this.上传文件ToolStripMenuItem1.Text = "上传笔记"; this.上传文件ToolStripMenuItem1.Click += new EventHandler(this.上传文件ToolStripMenuItem_Click); // 修改ToolStripMenuItem1 this.修改ToolStripMenuItem1.Name = "修改ToolStripMenuItem1"; this.修改ToolStripMenuItem1.Size = new Size(152, 22); this.修改ToolStripMenuItem1.Text = "修改"; this.修改ToolStripMenuItem1.Click += new EventHandler(this.修改ToolStripMenuItem_Click); // 删除ToolStripMenuItem1 this.删除ToolStripMenuItem1.Name = "删除ToolStripMenuItem1"; this.删除ToolStripMenuItem1.Size = new Size(152, 22); this.删除ToolStripMenuItem1.Text = "删除"; this.删除ToolStripMenuItem1.Click += new EventHandler(this.删除ToolStripMenuItem1_Click); // 分类ToolStripMenuItem this.分类ToolStripMenuItem.Name = "分类ToolStripMenuItem"; this.分类ToolStripMenuItem.Size = new Size(152, 22); this.分类ToolStripMenuItem.Text = "分类"; this.分类ToolStripMenuItem.Click += new EventHandler(this.分类ToolStripMenuItem_Click); // 版本历史ToolStripMenuItem this.版本历史ToolStripMenuItem.Name = "版本历史ToolStripMenuItem"; this.版本历史ToolStripMenuItem.Size = new Size(152, 22); this.版本历史ToolStripMenuItem.Text = "版本历史"; this.版本历史ToolStripMenuItem.Click += new EventHandler(this.版本历史ToolStripMenuItem_Click); // 窗体设置 this.AutoScaleDimensions = new SizeF(6F, 12F); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(1000, 600); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.menuStrip1); this.MainMenuStrip = this.menuStrip1; this.Name = "主界面"; this.Text = "学习管理助手"; this.FormClosing += new FormClosingEventHandler(this.主界面_FormClosing); this.Load += new EventHandler(this.主界面_Load); // 恢复布局 this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); this.splitContainer2.ResumeLayout(false); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } // 事件处理方法(放在类中,不在InitializeComponent内) private void 主界面_Load(object sender, EventArgs e) { // 初始化代码 } private void 主界面_FormClosing(object sender, FormClosingEventArgs e) { // 关闭窗体处理 } // 添加所有事件处理方法的空实现 private void treeViewNotes_AfterSelect(object sender, TreeViewEventArgs e) { } private void treeViewNotes_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e) { } private void listViewNotes_SelectedIndexChanged(object sender, EventArgs e) { } private void listViewVersions_DoubleClick(object sender, EventArgs e) { } private void 上传文件ToolStripMenuItem_Click(object sender, EventArgs e) { } private void 打开ToolStripMenuItem1_Click(object sender, EventArgs e) { } private void 退出登录ToolStripMenuItem_Click(object sender, EventArgs e) { } private void 注销账号ToolStripMenuItem_Click(object sender, EventArgs e) { } private void 修改密码ToolStripMenuItem_Click(object sender, EventArgs e) { } private void 修改ToolStripMenuItem_Click(object sender, EventArgs e) { } private void 删除ToolStripMenuItem1_Click(object sender, EventArgs e) { } private void 分类ToolStripMenuItem_Click(object sender, EventArgs e) { } private void 版本历史ToolStripMenuItem_Click(object sender, EventArgs e) { } } } 怎么改
07-03
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值