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

📄 form1.cs

📁 用C#实现的数学常用函数的教学演示用程序.
💻 CS
📖 第 1 页 / 共 5 页
字号:
			this.btnClearone.Text = "清除当前图像";
			this.btnClearone.Click += new System.EventHandler(this.button2_Click_1);
			// 
			// labelDifinition
			// 
			this.labelDifinition.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.labelDifinition.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.labelDifinition.Location = new System.Drawing.Point(8, 392);
			this.labelDifinition.Name = "labelDifinition";
			this.labelDifinition.Size = new System.Drawing.Size(72, 21);
			this.labelDifinition.TabIndex = 19;
			this.labelDifinition.Text = "清晰度:";
			this.labelDifinition.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// expressBox
			// 
			this.expressBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.expressBox.Location = new System.Drawing.Point(80, 328);
			this.expressBox.MaxDropDownItems = 10;
			this.expressBox.MaxLength = 60;
			this.expressBox.Name = "expressBox";
			this.expressBox.Size = new System.Drawing.Size(388, 20);
			this.expressBox.TabIndex = 1;
			this.expressBox.Tag = "";
			this.expressBox.Text = "sinx";
			this.expressBox.TextChanged += new System.EventHandler(this.expressBox_TextChanged);
			// 
			// btnPictureBig
			// 
			this.btnPictureBig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnPictureBig.BackColor = System.Drawing.Color.LightSlateGray;
			this.btnPictureBig.Location = new System.Drawing.Point(416, 392);
			this.btnPictureBig.Name = "btnPictureBig";
			this.btnPictureBig.Size = new System.Drawing.Size(88, 24);
			this.btnPictureBig.TabIndex = 12;
			this.btnPictureBig.Text = "放大图像";
			this.btnPictureBig.Click += new System.EventHandler(this.button3_Click);
			// 
			// btnPictureSmall
			// 
			this.btnPictureSmall.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnPictureSmall.BackColor = System.Drawing.Color.LightSlateGray;
			this.btnPictureSmall.Location = new System.Drawing.Point(512, 392);
			this.btnPictureSmall.Name = "btnPictureSmall";
			this.btnPictureSmall.Size = new System.Drawing.Size(88, 24);
			this.btnPictureSmall.TabIndex = 13;
			this.btnPictureSmall.Text = "缩小图像";
			this.btnPictureSmall.Click += new System.EventHandler(this.btnPictureSmall_Click);
			// 
			// btnPictureRestore
			// 
			this.btnPictureRestore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnPictureRestore.BackColor = System.Drawing.Color.LightSlateGray;
			this.btnPictureRestore.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.btnPictureRestore.Location = new System.Drawing.Point(608, 392);
			this.btnPictureRestore.Name = "btnPictureRestore";
			this.btnPictureRestore.Size = new System.Drawing.Size(80, 24);
			this.btnPictureRestore.TabIndex = 14;
			this.btnPictureRestore.Text = "图象默认值";
			this.btnPictureRestore.Click += new System.EventHandler(this.button5_Click);
			// 
			// btnMouseScanf
			// 
			this.btnMouseScanf.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnMouseScanf.BackColor = System.Drawing.Color.LightSlateGray;
			this.btnMouseScanf.Location = new System.Drawing.Point(376, 360);
			this.btnMouseScanf.Name = "btnMouseScanf";
			this.btnMouseScanf.Size = new System.Drawing.Size(88, 24);
			this.btnMouseScanf.TabIndex = 5;
			this.btnMouseScanf.Text = "开启模拟输入";
			this.btnMouseScanf.Click += new System.EventHandler(this.btnMouseScanf_Click);
			// 
			// btnRefresh
			// 
			this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.btnRefresh.BackColor = System.Drawing.Color.LightSlateGray;
			this.btnRefresh.ForeColor = System.Drawing.SystemColors.ControlText;
			this.btnRefresh.Location = new System.Drawing.Point(296, 360);
			this.btnRefresh.Name = "btnRefresh";
			this.btnRefresh.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.btnRefresh.Size = new System.Drawing.Size(72, 24);
			this.btnRefresh.TabIndex = 7;
			this.btnRefresh.Text = "刷新";
			this.btnRefresh.Click += new System.EventHandler(this.button2_Click_2);
			// 
			// btnRewrite
			// 
			this.btnRewrite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.btnRewrite.BackColor = System.Drawing.Color.LightSlateGray;
			this.btnRewrite.Location = new System.Drawing.Point(192, 392);
			this.btnRewrite.Name = "btnRewrite";
			this.btnRewrite.Size = new System.Drawing.Size(88, 24);
			this.btnRewrite.TabIndex = 6;
			this.btnRewrite.Text = "清空输入框";
			this.btnRewrite.Click += new System.EventHandler(this.button6_Click);
			// 
			// labelfunctions
			// 
			this.labelfunctions.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.labelfunctions.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.labelfunctions.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.labelfunctions.Location = new System.Drawing.Point(8, 360);
			this.labelfunctions.Name = "labelfunctions";
			this.labelfunctions.Size = new System.Drawing.Size(72, 23);
			this.labelfunctions.TabIndex = 27;
			this.labelfunctions.Text = "常用函数:";
			this.labelfunctions.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// functionsBox
			// 
			this.functionsBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.functionsBox.Items.AddRange(new object[] {
															  "sinx",
															  "cosx",
															  "tanx",
															  "cotx",
															  "secx",
															  "cscx",
															  "arcsinx",
															  "arccosx",
															  "arctanx",
															  "arccotx",
															  "lne",
															  "lnx",
															  "ln(x+1)",
															  "x",
															  "-x",
															  "x^2",
															  "x^3",
															  "1/x",
															  "x^x"});
			this.functionsBox.Location = new System.Drawing.Point(80, 360);
			this.functionsBox.Name = "functionsBox";
			this.functionsBox.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.functionsBox.Size = new System.Drawing.Size(96, 20);
			this.functionsBox.TabIndex = 2;
			this.functionsBox.Text = "sinx";
			this.functionsBox.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
			// 
			// panel1
			// 
			this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.panel1.AutoScroll = true;
			this.panel1.AutoScrollMargin = new System.Drawing.Size(5, 5);
			this.panel1.AutoScrollMinSize = new System.Drawing.Size(5, 5);
			this.panel1.Controls.Add(this.pictureBox);
			this.panel1.Location = new System.Drawing.Point(0, 0);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(696, 328);
			this.panel1.TabIndex = 28;
			// 
			// pictureBox
			// 
			this.pictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.pictureBox.BackColor = System.Drawing.Color.Black;
			this.pictureBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.pictureBox.Location = new System.Drawing.Point(-24, 0);
			this.pictureBox.Name = "pictureBox";
			this.pictureBox.Size = new System.Drawing.Size(720, 330);
			this.pictureBox.TabIndex = 10;
			this.pictureBox.TabStop = false;
			this.pictureBox.Resize += new System.EventHandler(this.button2_Click_2);
			this.pictureBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pictureBox_MouseMove_1);
			// 
			// btnViewBig
			// 
			this.btnViewBig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnViewBig.BackColor = System.Drawing.Color.LightSlateGray;
			this.btnViewBig.Location = new System.Drawing.Point(416, 424);
			this.btnViewBig.Name = "btnViewBig";
			this.btnViewBig.Size = new System.Drawing.Size(88, 24);
			this.btnViewBig.TabIndex = 29;
			this.btnViewBig.Text = "扩大视野";
			this.btnViewBig.Click += new System.EventHandler(this.btnViewBig_Click);
			// 
			// btnViewRestore
			// 
			this.btnViewRestore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnViewRestore.BackColor = System.Drawing.Color.LightSlateGray;
			this.btnViewRestore.Location = new System.Drawing.Point(608, 424);
			this.btnViewRestore.Name = "btnViewRestore";
			this.btnViewRestore.Size = new System.Drawing.Size(80, 24);
			this.btnViewRestore.TabIndex = 30;
			this.btnViewRestore.Text = "视野默认值";
			this.btnViewRestore.Click += new System.EventHandler(this.btnViewRestore_Click);
			// 
			// btnViewSmall
			// 
			this.btnViewSmall.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.btnViewSmall.BackColor = System.Drawing.Color.LightSlateGray;
			this.btnViewSmall.Location = new System.Drawing.Point(512, 424);
			this.btnViewSmall.Name = "btnViewSmall";
			this.btnViewSmall.Size = new System.Drawing.Size(88, 24);
			this.btnViewSmall.TabIndex = 31;
			this.btnViewSmall.Text = "缩小视野";
			this.btnViewSmall.Click += new System.EventHandler(this.btnViewSmall_Click);
			// 
			// scale_X
			// 
			this.scale_X.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.scale_X.Items.AddRange(new object[] {
														 "10",
														 "30",
														 "50",
														 "70",
														 "90",
														 "110",
														 "130",
														 "150",
														 "170",
														 "190",
														 "210",
														 "230",
														 "250",
														 "270",
														 "290",
														 "310",
														 "330",
														 "350",
														 "370",
														 "390",
														 "410",
														 "430",
														 "450",
														 "470",
														 "500"});
			this.scale_X.Location = new System.Drawing.Point(532, 328);
			this.scale_X.Name = "scale_X";
			this.scale_X.Size = new System.Drawing.Size(60, 20);
			this.scale_X.TabIndex = 32;
			this.scale_X.Text = "60";
			// 
			// scale_Y
			// 
			this.scale_Y.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.scale_Y.Items.AddRange(new object[] {
														 "10",
														 "30",
														 "50",
														 "70",
														 "90",
														 "110",
														 "130",
														 "150",
														 "170",
														 "190",
														 "210",
														 "230",
														 "250",
														 "270",
														 "290",
														 "310",
														 "330",
														 "350",
														 "370",
														 "390",
														 "410",
														 "430",
														 "450",
														 "470",
														 "500"});
			this.scale_Y.Location = new System.Drawing.Point(628, 328);
			this.scale_Y.Name = "scale_Y";
			this.scale_Y.Size = new System.Drawing.Size(60, 20);
			this.scale_Y.TabIndex = 33;
			this.scale_Y.Text = "60";
			// 
			// area_X
			// 
			this.area_X.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.area_X.Items.AddRange(new object[] {
														"-1",
														"-5",
														"-10",
														"-20",
														"-30",
														"-40",
														"-50",
														"-60",
														"-70",
														"-80",
														"-90",
														"-100"});
			this.area_X.Location = new System.Drawing.Point(532, 352);
			this.area_X.Name = "area_X";
			this.area_X.Size = new System.Drawing.Size(60, 20);
			this.area_X.TabIndex = 34;
			this.area_X.Text = "-20";
			// 
			// area_Y
			// 
			this.area_Y.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.area_Y.Items.AddRange(new object[] {
														"1",
														"5",
														"10",
														"20",
														"30",
														"40",
														"50",
														"60",
														"70",
														"80",
														"90",
														"100"});
			this.area_Y.Location = new System.Drawing.Point(628, 352);
			this.area_Y.Name = "area_Y";
			this.area_Y.Size = new System.Drawing.Size(60, 20);
			this.area_Y.TabIndex = 33;
			this.area_Y.Text = "20";
			// 
			// difinitionExpress
			// 
			this.difinitionExpress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.difinitionExpress.Items.AddRange(new object[] {
																   "1000",
																   "2000",
																   "3000",
																   "4000",
																   "5000",
																   "6000",
																   "7000",
																   "8000",
																   "9000",
																   "10000",
																   "20000",

⌨️ 快捷键说明

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