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

📄 mainwindow.cs

📁 画图程序
💻 CS
📖 第 1 页 / 共 5 页
字号:
			// menuSave
			// 
			this.menuSave.Index = 2;
			this.menuSave.Text = "&Save";
			this.menuSave.Click += new System.EventHandler(this.menuSave_Click);
			// 
			// menuSaveAs
			// 
			this.menuSaveAs.Index = 3;
			this.menuSaveAs.Text = "Save &as...";
			this.menuSaveAs.Click += new System.EventHandler(this.menuSaveAs_Click);
			// 
			// menuItem5
			// 
			this.menuItem5.Index = 4;
			this.menuItem5.Text = "-";
			// 
			// menuExit
			// 
			this.menuExit.Index = 5;
			this.menuExit.Text = "&Exit";
			this.menuExit.Click += new System.EventHandler(this.menuExit_Click);
			// 
			// Example
			// 
			this.Example.Index = 1;
			this.Example.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					this.menuBeziers});
			this.Example.Text = "&Example";
			// 
			// menuBeziers
			// 
			this.menuBeziers.Index = 0;
			this.menuBeziers.Text = "&Window";
			this.menuBeziers.Click += new System.EventHandler(this.menuBeziers_Click);
			// 
			// menuItem1
			// 
			this.menuItem1.Index = 2;
			this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this.Report,
																					  this.Help,
																					  this.menuItem2,
																					  this.About});
			this.menuItem1.Text = "&Help";
			// 
			// Report
			// 
			this.Report.Index = 0;
			this.Report.Text = "&Code Report";
			this.Report.Click += new System.EventHandler(this.Report_Click);
			// 
			// Help
			// 
			this.Help.Index = 1;
			this.Help.Text = "&ProgrammeHelp";
			this.Help.Click += new System.EventHandler(this.Help_Click);
			// 
			// menuItem2
			// 
			this.menuItem2.Index = 2;
			this.menuItem2.Text = "-";
			// 
			// About
			// 
			this.About.Index = 3;
			this.About.Text = "&About";
			this.About.Click += new System.EventHandler(this.About_Click);
			// 
			// statusBar
			// 
			this.statusBar.Location = new System.Drawing.Point(0, 443);
			this.statusBar.Name = "statusBar";
			this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
																						 this.statusBarImageType,
																						 this.statusBarPoint});
			this.statusBar.ShowPanels = true;
			this.statusBar.Size = new System.Drawing.Size(744, 22);
			this.statusBar.TabIndex = 26;
			// 
			// statusBarImageType
			// 
			this.statusBarImageType.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
			this.statusBarImageType.Width = 676;
			// 
			// statusBarPoint
			// 
			this.statusBarPoint.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
			this.statusBarPoint.Text = "Point:";
			this.statusBarPoint.Width = 52;
			// 
			// saveFileDialog
			// 
			this.saveFileDialog.FileName = "NewFile";
			this.saveFileDialog.Filter = "JPeg Image(*.jpg)|*.jpg|Bitmap Image(*.bmp)|*.bmp|Gif Image(*.gif)|*.gif";
			this.saveFileDialog.FilterIndex = 2;
			this.saveFileDialog.Title = "Save As";
			// 
			// openFileDialog
			// 
			this.openFileDialog.Filter = "JPeg Image(*.jpg)|*.jpg|Bitmap Image(*.bmp)|*.bmp|Gif Image(*.gif)|*.gif";
			this.openFileDialog.FilterIndex = 2;
			this.openFileDialog.Title = "Open File";
			// 
			// btnColor
			// 
			this.btnColor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.btnColor.BackColor = System.Drawing.SystemColors.ControlLightLight;
			this.btnColor.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.btnColor.Location = new System.Drawing.Point(12, 10);
			this.btnColor.Name = "btnColor";
			this.btnColor.Size = new System.Drawing.Size(24, 24);
			this.btnColor.TabIndex = 32;
			// 
			// Magenta
			// 
			this.Magenta.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.Magenta.BackColor = System.Drawing.Color.Magenta;
			this.Magenta.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.Magenta.Location = new System.Drawing.Point(24, 88);
			this.Magenta.Name = "Magenta";
			this.Magenta.Size = new System.Drawing.Size(15, 15);
			this.Magenta.TabIndex = 31;
			this.Magenta.Click += new System.EventHandler(this.Magenta_Click);
			// 
			// blue
			// 
			this.blue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.blue.BackColor = System.Drawing.Color.Blue;
			this.blue.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.blue.Location = new System.Drawing.Point(24, 56);
			this.blue.Name = "blue";
			this.blue.Size = new System.Drawing.Size(15, 15);
			this.blue.TabIndex = 3;
			this.blue.Click += new System.EventHandler(this.blue_Click);
			// 
			// Red
			// 
			this.Red.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.Red.BackColor = System.Drawing.Color.Red;
			this.Red.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.Red.Location = new System.Drawing.Point(8, 56);
			this.Red.Name = "Red";
			this.Red.Size = new System.Drawing.Size(15, 15);
			this.Red.TabIndex = 2;
			this.Red.Click += new System.EventHandler(this.Red_Click);
			// 
			// White
			// 
			this.White.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.White.BackColor = System.Drawing.Color.White;
			this.White.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.White.Location = new System.Drawing.Point(24, 40);
			this.White.Name = "White";
			this.White.Size = new System.Drawing.Size(15, 15);
			this.White.TabIndex = 1;
			this.White.Click += new System.EventHandler(this.White_Click);
			// 
			// Black
			// 
			this.Black.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.Black.BackColor = System.Drawing.Color.Black;
			this.Black.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.Black.Location = new System.Drawing.Point(8, 40);
			this.Black.Name = "Black";
			this.Black.Size = new System.Drawing.Size(15, 15);
			this.Black.TabIndex = 0;
			this.Black.Click += new System.EventHandler(this.Black_Click);
			// 
			// Yellow
			// 
			this.Yellow.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.Yellow.BackColor = System.Drawing.Color.Yellow;
			this.Yellow.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.Yellow.Location = new System.Drawing.Point(8, 72);
			this.Yellow.Name = "Yellow";
			this.Yellow.Size = new System.Drawing.Size(15, 15);
			this.Yellow.TabIndex = 28;
			this.Yellow.Click += new System.EventHandler(this.Yellow_Click);
			// 
			// LawnGreen
			// 
			this.LawnGreen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.LawnGreen.BackColor = System.Drawing.Color.LawnGreen;
			this.LawnGreen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.LawnGreen.Location = new System.Drawing.Point(24, 72);
			this.LawnGreen.Name = "LawnGreen";
			this.LawnGreen.Size = new System.Drawing.Size(15, 15);
			this.LawnGreen.TabIndex = 29;
			this.LawnGreen.Click += new System.EventHandler(this.LawnGreen_Click);
			// 
			// Cyan
			// 
			this.Cyan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.Cyan.BackColor = System.Drawing.Color.Cyan;
			this.Cyan.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.Cyan.Location = new System.Drawing.Point(8, 88);
			this.Cyan.Name = "Cyan";
			this.Cyan.Size = new System.Drawing.Size(15, 15);
			this.Cyan.TabIndex = 30;
			this.Cyan.Click += new System.EventHandler(this.Cyan_Click);
			// 
			// MoreColor
			// 
			this.MoreColor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.MoreColor.BackColor = System.Drawing.SystemColors.HighlightText;
			this.MoreColor.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.MoreColor.Location = new System.Drawing.Point(664, 368);
			this.MoreColor.Name = "MoreColor";
			this.MoreColor.Size = new System.Drawing.Size(50, 16);
			this.MoreColor.TabIndex = 28;
			this.MoreColor.Text = "More>>";
			this.MoreColor.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.MoreColor.Click += new System.EventHandler(this.MoreColor_Click);
			// 
			// ColorBox
			// 
			this.ColorBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.ColorBox.Controls.Add(this.blue);
			this.ColorBox.Controls.Add(this.Red);
			this.ColorBox.Controls.Add(this.btnColor);
			this.ColorBox.Controls.Add(this.Magenta);
			this.ColorBox.Controls.Add(this.White);
			this.ColorBox.Controls.Add(this.Black);
			this.ColorBox.Controls.Add(this.Yellow);
			this.ColorBox.Controls.Add(this.LawnGreen);
			this.ColorBox.Controls.Add(this.Cyan);
			this.ColorBox.Location = new System.Drawing.Point(664, 256);
			this.ColorBox.Name = "ColorBox";
			this.ColorBox.Size = new System.Drawing.Size(48, 112);
			this.ColorBox.TabIndex = 29;
			this.ColorBox.TabStop = false;
			// 
			// btnPick
			// 
			this.btnPick.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.btnPick.BackColor = System.Drawing.SystemColors.ControlLightLight;
			this.btnPick.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnPick.BackgroundImage")));
			this.btnPick.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.btnPick.Location = new System.Drawing.Point(608, 32);
			this.btnPick.Name = "btnPick";
			this.btnPick.Size = new System.Drawing.Size(26, 26);
			this.btnPick.TabIndex = 30;
			this.btnPick.Click += new System.EventHandler(this.btnPick_Click);
			// 
			// toolBar
			// 
			this.toolBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.toolBar.AutoSize = false;
			this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
																					   this.Undo,
																					   this.Redu});
			this.toolBar.ContextMenu = this.ToolContext;
			this.toolBar.Dock = System.Windows.Forms.DockStyle.None;
			this.toolBar.DropDownArrows = true;
			this.toolBar.ImageList = this.imageList;
			this.toolBar.Location = new System.Drawing.Point(600, 64);
			this.toolBar.Name = "toolBar";
			this.toolBar.ShowToolTips = true;
			this.toolBar.Size = new System.Drawing.Size(40, 48);
			this.toolBar.TabIndex = 31;
			// 
			// Undo
			// 
			this.Undo.DropDownMenu = this.ToolContext;
			this.Undo.ImageIndex = 0;
			this.Undo.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
			// 
			// ToolContext
			// 
			this.ToolContext.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						this.Change,
																						this.NotChange});
			// 
			// Change
			// 
			this.Change.Index = 0;
			this.Change.Text = "Change";
			this.Change.Click += new System.EventHandler(this.Change_Click);
			// 
			// NotChange
			// 
			this.NotChange.Index = 1;
			this.NotChange.Text = "NotChange";
			this.NotChange.Click += new System.EventHandler(this.NotChange_Click);
			// 
			// Redu
			// 
			this.Redu.DropDownMenu = this.ToolContext2;
			this.Redu.ImageIndex = 1;
			this.Redu.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
			// 
			// ToolContext2
			// 
			this.ToolContext2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						 this.Change2,
																						 this.NotChange2});
			// 
			// Change2
			// 
			this.Change2.Index = 0;
			this.Change2.Text = "rChange";
			this.Change2.Click += new System.EventHandler(this.Change2_Click);
			// 
			// NotChange2
			// 
			this.NotChange2.Index = 1;
			this.NotChange2.Text = "rNotChange";
			this.NotChange2.Click += new System.EventHandler(this.NotChange2_Click);
			// 
			// imageList
			// 
			this.imageList.ImageSize = new System.Drawing.Size(16, 16);

⌨️ 快捷键说明

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