⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainform.cs

📁 C#2.0宝典源码,C#经典书籍,很多例子
💻 CS
📖 第 1 页 / 共 3 页
字号:
      // menuItemTypeSting
      // 
      this.menuItemTypeSting.Index = 1;
      this.menuItemTypeSting.Text = "类型参数设置(&T)";
      this.menuItemTypeSting.Click += new System.EventHandler(this.menuItemTypeSting_Click);
      // 
      // menuItem3
      // 
      this.menuItem3.Index = 2;
      this.menuItem3.Text = "-";
      // 
      // menuItemUserMng
      // 
      this.menuItemUserMng.Index = 3;
      this.menuItemUserMng.Text = "系统用户管理(&U)";
      this.menuItemUserMng.Click += new System.EventHandler(this.menuItemUserMng_Click);
      // 
      // menuItemChgPwd
      // 
      this.menuItemChgPwd.Index = 4;
      this.menuItemChgPwd.Text = "更改个人密码(&C)";
      this.menuItemChgPwd.Click += new System.EventHandler(this.menuItemChgPwd_Click);
      // 
      // menuItemView
      // 
      this.menuItemView.Index = 2;
      this.menuItemView.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                 this.menuItemToolBar,
                                                                                 this.menuItemStatuBar,
                                                                                 this.menuItem11,
                                                                                 this.menuItemLargeIcon,
                                                                                 this.menuItemSmallIcon,
                                                                                 this.menuItemList,
                                                                                 this.menuItemDetail,
                                                                                 this.menuItem2,
                                                                                 this.menuItemRefeash});
      this.menuItemView.Text = "查看(&V)";
      // 
      // menuItemToolBar
      // 
      this.menuItemToolBar.Checked = true;
      this.menuItemToolBar.Index = 0;
      this.menuItemToolBar.Text = "工具栏(T)";
      this.menuItemToolBar.Click += new System.EventHandler(this.menuItemToolBar_Click);
      // 
      // menuItemStatuBar
      // 
      this.menuItemStatuBar.Checked = true;
      this.menuItemStatuBar.Index = 1;
      this.menuItemStatuBar.Text = "状态栏(&S)";
      this.menuItemStatuBar.Click += new System.EventHandler(this.menuItemStatuBar_Click);
      // 
      // menuItem11
      // 
      this.menuItem11.Index = 2;
      this.menuItem11.Text = "-";
      // 
      // menuItemLargeIcon
      // 
      this.menuItemLargeIcon.Index = 3;
      this.menuItemLargeIcon.RadioCheck = true;
      this.menuItemLargeIcon.Text = "大图标(&L)";
      this.menuItemLargeIcon.Click += new System.EventHandler(this.menuItemViewMode_Click);
      // 
      // menuItemSmallIcon
      // 
      this.menuItemSmallIcon.Index = 4;
      this.menuItemSmallIcon.RadioCheck = true;
      this.menuItemSmallIcon.Text = "小图表(&M)";
      this.menuItemSmallIcon.Click += new System.EventHandler(this.menuItemViewMode_Click);
      // 
      // menuItemList
      // 
      this.menuItemList.Index = 5;
      this.menuItemList.RadioCheck = true;
      this.menuItemList.Text = "列表(I)";
      this.menuItemList.Click += new System.EventHandler(this.menuItemViewMode_Click);
      // 
      // menuItemDetail
      // 
      this.menuItemDetail.Checked = true;
      this.menuItemDetail.Index = 6;
      this.menuItemDetail.RadioCheck = true;
      this.menuItemDetail.Text = "详细信息(&D)";
      this.menuItemDetail.Click += new System.EventHandler(this.menuItemViewMode_Click);
      // 
      // menuItem2
      // 
      this.menuItem2.Index = 7;
      this.menuItem2.Text = "-";
      // 
      // menuItemRefeash
      // 
      this.menuItemRefeash.Index = 8;
      this.menuItemRefeash.Shortcut = System.Windows.Forms.Shortcut.F5;
      this.menuItemRefeash.Text = "刷新(&R)";
      this.menuItemRefeash.Click += new System.EventHandler(this.menuItemRefeash_Click);
      // 
      // menuItemHelp
      // 
      this.menuItemHelp.Index = 3;
      this.menuItemHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                 this.menuItem12,
                                                                                 this.menuItem14,
                                                                                 this.menuItem13});
      this.menuItemHelp.Text = "帮助(&H)";
      // 
      // menuItem12
      // 
      this.menuItem12.Index = 0;
      this.menuItem12.Shortcut = System.Windows.Forms.Shortcut.F1;
      this.menuItem12.Text = "帮助文档(&H)";
      // 
      // menuItem14
      // 
      this.menuItem14.Index = 1;
      this.menuItem14.Text = "-";
      // 
      // menuItem13
      // 
      this.menuItem13.Index = 2;
      this.menuItem13.Text = "关于学生管理信息系统(&A)";
      // 
      // statusBar1
      // 
      this.statusBar1.Location = new System.Drawing.Point(0, 523);
      this.statusBar1.Name = "statusBar1";
      this.statusBar1.Size = new System.Drawing.Size(892, 22);
      this.statusBar1.TabIndex = 1;
      this.statusBar1.Text = "状态栏";
      // 
      // toolBar1
      // 
      this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
      this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                                                                                this.toolBarBtnNew,
                                                                                this.toolBarBtnPropties,
                                                                                this.toolBarBtnEdit,
                                                                                this.toolBarBtnDelete,
                                                                                this.toolBarButton1,
                                                                                this.toolBarBtnRefeash});
      this.toolBar1.ButtonSize = new System.Drawing.Size(32, 32);
      this.toolBar1.DropDownArrows = true;
      this.toolBar1.ImageList = this.imageListTools;
      this.toolBar1.Location = new System.Drawing.Point(0, 0);
      this.toolBar1.Name = "toolBar1";
      this.toolBar1.ShowToolTips = true;
      this.toolBar1.Size = new System.Drawing.Size(892, 44);
      this.toolBar1.TabIndex = 2;
      this.toolBar1.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right;
      this.toolBar1.Wrappable = false;
      this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
      // 
      // toolBarBtnNew
      // 
      this.toolBarBtnNew.ImageIndex = 0;
      this.toolBarBtnNew.Text = "新建";
      // 
      // toolBarBtnPropties
      // 
      this.toolBarBtnPropties.Enabled = false;
      this.toolBarBtnPropties.ImageIndex = 1;
      this.toolBarBtnPropties.Text = "属性";
      // 
      // toolBarBtnEdit
      // 
      this.toolBarBtnEdit.Enabled = false;
      this.toolBarBtnEdit.ImageIndex = 2;
      this.toolBarBtnEdit.Text = "编辑";
      // 
      // toolBarBtnDelete
      // 
      this.toolBarBtnDelete.Enabled = false;
      this.toolBarBtnDelete.ImageIndex = 3;
      this.toolBarBtnDelete.Text = "删除";
      // 
      // toolBarButton1
      // 
      this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
      // 
      // toolBarBtnRefeash
      // 
      this.toolBarBtnRefeash.ImageIndex = 4;
      this.toolBarBtnRefeash.Text = "刷新";
      // 
      // imageListTools
      // 
      this.imageListTools.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
      this.imageListTools.ImageSize = new System.Drawing.Size(32, 32);
      this.imageListTools.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListTools.ImageStream")));
      this.imageListTools.TransparentColor = System.Drawing.Color.Black;
      // 
      // treeView1
      // 
      this.treeView1.Dock = System.Windows.Forms.DockStyle.Left;
      this.treeView1.ImageIndex = -1;
      this.treeView1.ItemHeight = 20;
      this.treeView1.Location = new System.Drawing.Point(0, 44);
      this.treeView1.Name = "treeView1";
      this.treeView1.SelectedImageIndex = -1;
      this.treeView1.Size = new System.Drawing.Size(176, 479);
      this.treeView1.TabIndex = 3;
      this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
      // 
      // listView1
      // 
      this.listView1.AllowColumnReorder = true;
      this.listView1.BackColor = System.Drawing.Color.White;
      this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                                                                                this.clmHeadStuName,
                                                                                this.clmHeadStuID,
                                                                                this.clmHeadStuSex,
                                                                                this.clmHeadStuCollege,
                                                                                this.clmHeadStuSpeciality,
                                                                                this.clmHeadStuEnterYear,
                                                                                this.clmHeadStuType,
                                                                                this.clmHeadStuNative});
      this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
      this.listView1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
      this.listView1.LargeImageList = this.imageListLarge;
      this.listView1.Location = new System.Drawing.Point(179, 44);
      this.listView1.MultiSelect = false;
      this.listView1.Name = "listView1";
      this.listView1.Size = new System.Drawing.Size(713, 479);
      this.listView1.SmallImageList = this.imageListSmall;
      this.listView1.TabIndex = 5;
      this.listView1.View = System.Windows.Forms.View.Details;
      this.listView1.ItemActivate += new System.EventHandler(this.listView1_ItemActivate);
      this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
      // 
      // clmHeadStuName
      // 
      this.clmHeadStuName.Text = "姓名";
      this.clmHeadStuName.Width = 100;
      // 
      // clmHeadStuID
      // 
      this.clmHeadStuID.Text = "学号";
      this.clmHeadStuID.Width = 80;
      // 
      // clmHeadStuSex
      // 
      this.clmHeadStuSex.Text = "性别";
      this.clmHeadStuSex.Width = 48;
      // 
      // clmHeadStuCollege
      // 
      this.clmHeadStuCollege.Text = "所在学院";
      this.clmHeadStuCollege.Width = 86;
      // 
      // clmHeadStuSpeciality
      // 
      this.clmHeadStuSpeciality.Text = "所属专业";
      this.clmHeadStuSpeciality.Width = 141;
      // 
      // clmHeadStuEnterYear
      // 
      this.clmHeadStuEnterYear.Text = "入学年份";
      this.clmHeadStuEnterYear.Width = 80;
      // 
      // clmHeadStuType
      // 
      this.clmHeadStuType.Text = "学制";
      // 
      // clmHeadStuNative
      // 
      this.clmHeadStuNative.Text = "籍贯";
      // 
      // imageListLarge
      // 
      this.imageListLarge.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
      this.imageListLarge.ImageSize = new System.Drawing.Size(32, 32);
      this.imageListLarge.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListLarge.ImageStream")));
      this.imageListLarge.TransparentColor = System.Drawing.Color.White;
      // 
      // imageListSmall
      // 
      this.imageListSmall.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
      this.imageListSmall.ImageSize = new System.Drawing.Size(16, 16);
      this.imageListSmall.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListSmall.ImageStream")));
      this.imageListSmall.TransparentColor = System.Drawing.Color.White;
      // 
      // splitter1
      // 
      this.splitter1.Location = new System.Drawing.Point(176, 44);
      this.splitter1.Name = "splitter1";
      this.splitter1.Size = new System.Drawing.Size(3, 479);
      this.splitter1.TabIndex = 6;
      this.splitter1.TabStop = false;
      // 
      // MainForm
      // 
      this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
      this.ClientSize = new System.Drawing.Size(892, 545);
      this.Controls.Add(this.listView1);
      this.Controls.Add(this.splitter1);
      this.Controls.Add(this.treeView1);
      this.Controls.Add(this.toolBar1);
      this.Controls.Add(this.statusBar1);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -