📄 form1.cs
字号:
this.toolBarButton8.ImageIndex = 7;
//
// toolBarButton9
//
this.toolBarButton9.ImageIndex = 8;
//
// toolBarButton10
//
this.toolBarButton10.ImageIndex = 9;
//
// toolBarButton11
//
this.toolBarButton11.ImageIndex = 10;
//
// toolBarButton12
//
this.toolBarButton12.ImageIndex = 11;
//
// toolBarButton13
//
this.toolBarButton13.ImageIndex = 12;
//
// toolBarButton14
//
this.toolBarButton14.ImageIndex = 13;
//
// toolBarButton15
//
this.toolBarButton15.ImageIndex = 14;
//
// toolBarButton20
//
this.toolBarButton20.ImageIndex = 19;
//
// toolBarButton21
//
this.toolBarButton21.ImageIndex = 20;
//
// toolBarButton22
//
this.toolBarButton22.ImageIndex = 21;
//
// toolBarButton23
//
this.toolBarButton23.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
//
// toolBarButton24
//
this.toolBarButton24.ImageIndex = 22;
//
// toolBarButton25
//
this.toolBarButton25.ImageIndex = 23;
//
// toolBarButton26
//
this.toolBarButton26.ImageIndex = 24;
//
// toolBarButton27
//
this.toolBarButton27.ImageIndex = 25;
//
// toolBarButton28
//
this.toolBarButton28.ImageIndex = 26;
//
// toolBarButton29
//
this.toolBarButton29.ImageIndex = 27;
//
// toolBarButton30
//
this.toolBarButton30.DropDownMenu = this.contextMenu1;
this.toolBarButton30.ImageIndex = 28;
this.toolBarButton30.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
//
// contextMenu1
//
this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem1,
this.menuItem2,
this.menuItem3,
this.menuItem4});
this.contextMenu1.Popup += new System.EventHandler(this.contextMenu1_Popup);
//
// menuItem1
//
this.menuItem1.Index = 0;
this.menuItem1.Text = "栅格大小(&S)...";
this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
//
// menuItem2
//
this.menuItem2.Index = 1;
this.menuItem2.Text = "-";
//
// menuItem3
//
this.menuItem3.Checked = true;
this.menuItem3.Index = 2;
this.menuItem3.Text = "网点(&D)";
this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
//
// menuItem4
//
this.menuItem4.Index = 3;
this.menuItem4.Text = "网格(&G)";
this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
//
// toolBarButton31
//
this.toolBarButton31.ImageIndex = 29;
//
// toolBarButton32
//
this.toolBarButton32.ImageIndex = 30;
//
// toolBarButton33
//
this.toolBarButton33.ImageIndex = 31;
//
// imageList2
//
this.imageList2.ImageSize = new System.Drawing.Size(20, 20);
this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
this.imageList2.TransparentColor = System.Drawing.Color.Silver;
//
// listView1
//
this.listView1.Dock = System.Windows.Forms.DockStyle.Left;
this.listView1.LargeImageList = this.imageList1;
this.listView1.Location = new System.Drawing.Point(0, 64);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(160, 431);
this.listView1.TabIndex = 6;
this.listView1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseDown);
//
// imageList1
//
this.imageList1.ImageSize = new System.Drawing.Size(32, 32);
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
//
// splitter1
//
this.splitter1.Location = new System.Drawing.Point(160, 64);
this.splitter1.Name = "splitter1";
this.splitter1.Size = new System.Drawing.Size(3, 431);
this.splitter1.TabIndex = 7;
this.splitter1.TabStop = false;
//
// axvgctrl2
//
this.axvgctrl2.Enabled = true;
this.axvgctrl2.Location = new System.Drawing.Point(80, 296);
this.axvgctrl2.Name = "axvgctrl2";
this.axvgctrl2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axvgctrl2.OcxState")));
this.axvgctrl2.Size = new System.Drawing.Size(192, 192);
this.axvgctrl2.TabIndex = 9;
this.axvgctrl2.Visible = false;
//
// openFileDialog1
//
this.openFileDialog1.Filter = "Visual Graph图形文件|*.tbl|所有文件|*.*";
//
// mainMenu1
//
this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem5,
this.menuItem6});
//
// menuItem5
//
this.menuItem5.Index = 0;
this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem7,
this.menuItem8,
this.menuItem9,
this.menuItem10,
this.menuItem11,
this.menuItem12,
this.menuItem13,
this.menuItem14,
this.menuItem15});
this.menuItem5.Text = "文件(&F)";
//
// menuItem7
//
this.menuItem7.Index = 0;
this.menuItem7.Text = "新建(&N)";
//
// menuItem8
//
this.menuItem8.Index = 1;
this.menuItem8.Text = "打开(&O)...";
//
// menuItem9
//
this.menuItem9.Index = 2;
this.menuItem9.Text = "保存(&S)";
//
// menuItem10
//
this.menuItem10.Index = 3;
this.menuItem10.Text = "另存为(&A)...";
this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click);
//
// menuItem11
//
this.menuItem11.Index = 4;
this.menuItem11.Text = "-";
//
// menuItem12
//
this.menuItem12.Index = 5;
this.menuItem12.Text = "打印(&P)...";
this.menuItem12.Click += new System.EventHandler(this.menuItem12_Click);
//
// menuItem13
//
this.menuItem13.Index = 6;
this.menuItem13.Text = "打印设置(&T)...";
this.menuItem13.Click += new System.EventHandler(this.menuItem13_Click);
//
// menuItem14
//
this.menuItem14.Index = 7;
this.menuItem14.Text = "-";
//
// menuItem15
//
this.menuItem15.Index = 8;
this.menuItem15.Text = "退出(&X)";
this.menuItem15.Click += new System.EventHandler(this.menuItem15_Click);
//
// menuItem6
//
this.menuItem6.Index = 1;
this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem16,
this.menuItem17,
this.menuItem18,
this.menuItem19,
this.menuItem20,
this.menuItem21,
this.menuItem22,
this.menuItem24,
this.menuItem23});
this.menuItem6.Text = "编辑(&E)";
this.menuItem6.Popup += new System.EventHandler(this.menuItem6_Popup);
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel1.Controls.Add(this.axvgctrl1);
this.panel1.Location = new System.Drawing.Point(163, 64);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(450, 431);
this.panel1.TabIndex = 13;
//
// axvgctrl1
//
this.axvgctrl1.ContainingControl = this;
this.axvgctrl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.axvgctrl1.Enabled = true;
this.axvgctrl1.Location = new System.Drawing.Point(0, 0);
this.axvgctrl1.Name = "axvgctrl1";
this.axvgctrl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axvgctrl1.OcxState")));
this.axvgctrl1.Size = new System.Drawing.Size(446, 427);
this.axvgctrl1.TabIndex = 11;
this.axvgctrl1.OnSelectChange += new System.EventHandler(this.axvgctrl1_OnSelectChange);
this.axvgctrl1.OnMessage += new Axvgctrl40.IvgctrlEvents_OnMessageEventHandler(this.axvgctrl1_OnMessage);
this.axvgctrl1.OnModifyChange += new Axvgctrl40.IvgctrlEvents_OnModifyChangeEventHandler(this.axvgctrl1_OnModifyChange);
//
// axvgInspector1
//
this.axvgInspector1.Dock = System.Windows.Forms.DockStyle.Right;
this.axvgInspector1.Enabled = true;
this.axvgInspector1.Location = new System.Drawing.Point(552, 64);
this.axvgInspector1.Name = "axvgInspector1";
this.axvgInspector1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axvgInspector1.OcxState")));
this.axvgInspector1.Size = new System.Drawing.Size(192, 431);
this.axvgInspector1.TabIndex = 14;
//
// splitter2
//
this.splitter2.Dock = System.Windows.Forms.DockStyle.Right;
this.splitter2.Location = new System.Drawing.Point(549, 64);
this.splitter2.Name = "splitter2";
this.splitter2.Size = new System.Drawing.Size(3, 431);
this.splitter2.TabIndex = 15;
this.splitter2.TabStop = false;
//
// menuItem16
//
this.menuItem16.Index = 0;
this.menuItem16.Text = "撤销(&U)";
this.menuItem16.Click += new System.EventHandler(this.menuItem16_Click);
//
// menuItem17
//
this.menuItem17.Index = 1;
this.menuItem17.Text = "恢复(&R)";
this.menuItem17.Click += new System.EventHandler(this.menuItem17_Click);
//
// menuItem18
//
this.menuItem18.Index = 2;
this.menuItem18.Text = "-";
//
// menuItem19
//
this.menuItem19.Index = 3;
this.menuItem19.Text = "裁剪(&T)";
this.menuItem19.Click += new System.EventHandler(this.menuItem19_Click);
//
// menuItem20
//
this.menuItem20.Index = 4;
this.menuItem20.Text = "拷贝(&C)";
this.menuItem20.Click += new System.EventHandler(this.menuItem20_Click);
//
// menuItem21
//
this.menuItem21.Index = 5;
this.menuItem21.Text = "粘贴(&P)";
this.menuItem21.Click += new System.EventHandler(this.menuItem21_Click);
//
// menuItem22
//
this.menuItem22.Index = 6;
this.menuItem22.Text = "删除(&D)";
this.menuItem22.Click += new System.EventHandler(this.menuItem22_Click);
//
// menuItem23
//
this.menuItem23.Index = 8;
this.menuItem23.Text = "全选(&A)";
this.menuItem23.Click += new System.EventHandler(this.menuItem23_Click);
//
// menuItem24
//
this.menuItem24.Index = 7;
this.menuItem24.Text = "-";
//
// toolBarButton34
//
this.toolBarButton34.ImageIndex = 32;
//
// toolBarButton35
//
this.toolBarButton35.ImageIndex = 33;
//
// toolBarButton36
//
this.toolBarButton36.ImageIndex = 34;
//
// toolBarButton37
//
this.toolBarButton37.ImageIndex = 35;
//
// toolBarButton38
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -