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

📄 form2.cs

📁 用C#实现的数学常用函数的教学演示用程序.
💻 CS
📖 第 1 页 / 共 4 页
字号:
			this.button18.Location = new System.Drawing.Point(24, 312);
			this.button18.Name = "button18";
			this.button18.Size = new System.Drawing.Size(32, 23);
			this.button18.TabIndex = 25;
			this.button18.Text = "Tan";
			this.button18.Click += new System.EventHandler(this.button18_Click);
			// 
			// button19
			// 
			this.button19.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button19.Location = new System.Drawing.Point(24, 352);
			this.button19.Name = "button19";
			this.button19.Size = new System.Drawing.Size(32, 23);
			this.button19.TabIndex = 26;
			this.button19.Text = "Cot";
			this.button19.Click += new System.EventHandler(this.button19_Click);
			// 
			// button20
			// 
			this.button20.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button20.Location = new System.Drawing.Point(64, 232);
			this.button20.Name = "button20";
			this.button20.Size = new System.Drawing.Size(56, 23);
			this.button20.TabIndex = 27;
			this.button20.Text = "ArcSin";
			this.button20.Click += new System.EventHandler(this.button20_Click);
			// 
			// button21
			// 
			this.button21.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button21.Location = new System.Drawing.Point(64, 272);
			this.button21.Name = "button21";
			this.button21.Size = new System.Drawing.Size(56, 23);
			this.button21.TabIndex = 28;
			this.button21.Text = "ArcCos";
			this.button21.Click += new System.EventHandler(this.button21_Click);
			// 
			// button22
			// 
			this.button22.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button22.Location = new System.Drawing.Point(64, 312);
			this.button22.Name = "button22";
			this.button22.Size = new System.Drawing.Size(56, 23);
			this.button22.TabIndex = 29;
			this.button22.Text = "ArcTan";
			this.button22.Click += new System.EventHandler(this.button22_Click);
			// 
			// button23
			// 
			this.button23.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button23.Location = new System.Drawing.Point(64, 352);
			this.button23.Name = "button23";
			this.button23.Size = new System.Drawing.Size(56, 23);
			this.button23.TabIndex = 30;
			this.button23.Text = "ArcCot";
			this.button23.Click += new System.EventHandler(this.button23_Click);
			// 
			// button24
			// 
			this.button24.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button24.Location = new System.Drawing.Point(136, 232);
			this.button24.Name = "button24";
			this.button24.Size = new System.Drawing.Size(32, 23);
			this.button24.TabIndex = 31;
			this.button24.Text = "Sec";
			this.button24.Click += new System.EventHandler(this.button24_Click);
			// 
			// button25
			// 
			this.button25.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button25.Location = new System.Drawing.Point(136, 272);
			this.button25.Name = "button25";
			this.button25.Size = new System.Drawing.Size(32, 23);
			this.button25.TabIndex = 32;
			this.button25.Text = "Csc";
			this.button25.Click += new System.EventHandler(this.button25_Click);
			// 
			// button26
			// 
			this.button26.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button26.Location = new System.Drawing.Point(136, 312);
			this.button26.Name = "button26";
			this.button26.Size = new System.Drawing.Size(32, 23);
			this.button26.TabIndex = 33;
			this.button26.Text = "Ln";
			this.button26.Click += new System.EventHandler(this.button26_Click);
			// 
			// button27
			// 
			this.button27.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.button27.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button27.Location = new System.Drawing.Point(320, 352);
			this.button27.Name = "button27";
			this.button27.Size = new System.Drawing.Size(48, 23);
			this.button27.TabIndex = 34;
			this.button27.Text = "次方";
			this.button27.Click += new System.EventHandler(this.button27_Click);
			// 
			// button28
			// 
			this.button28.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button28.Location = new System.Drawing.Point(432, 232);
			this.button28.Name = "button28";
			this.button28.Size = new System.Drawing.Size(32, 23);
			this.button28.TabIndex = 35;
			this.button28.Text = ")";
			this.button28.Click += new System.EventHandler(this.button28_Click);
			// 
			// button29
			// 
			this.button29.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button29.Location = new System.Drawing.Point(384, 232);
			this.button29.Name = "button29";
			this.button29.Size = new System.Drawing.Size(32, 23);
			this.button29.TabIndex = 36;
			this.button29.Text = "(";
			this.button29.Click += new System.EventHandler(this.button29_Click);
			// 
			// button30
			// 
			this.button30.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
			this.button30.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button30.Location = new System.Drawing.Point(384, 352);
			this.button30.Name = "button30";
			this.button30.Size = new System.Drawing.Size(80, 23);
			this.button30.TabIndex = 37;
			this.button30.Text = "==";
			this.button30.Click += new System.EventHandler(this.button30_Click);
			// 
			// button31
			// 
			this.button31.BackColor = System.Drawing.SystemColors.InactiveCaption;
			this.button31.ForeColor = System.Drawing.Color.Black;
			this.button31.Location = new System.Drawing.Point(328, 192);
			this.button31.Name = "button31";
			this.button31.Size = new System.Drawing.Size(96, 23);
			this.button31.TabIndex = 38;
			this.button31.Text = "Back Space";
			this.button31.Click += new System.EventHandler(this.button31_Click);
			// 
			// button32
			// 
			this.button32.BackColor = System.Drawing.SystemColors.InactiveCaptionText;
			this.button32.ForeColor = System.Drawing.SystemColors.ControlText;
			this.button32.Location = new System.Drawing.Point(432, 192);
			this.button32.Name = "button32";
			this.button32.Size = new System.Drawing.Size(32, 23);
			this.button32.TabIndex = 39;
			this.button32.Text = "CE";
			this.button32.Click += new System.EventHandler(this.button32_Click);
			// 
			// label1
			// 
			this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.label1.Location = new System.Drawing.Point(40, 64);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(64, 20);
			this.label1.TabIndex = 40;
			this.label1.Text = "计算结果:";
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// endbox
			// 
			this.endbox.Anchor = System.Windows.Forms.AnchorStyles.Left;
			this.endbox.Location = new System.Drawing.Point(112, 64);
			this.endbox.Name = "endbox";
			this.endbox.Size = new System.Drawing.Size(136, 21);
			this.endbox.TabIndex = 41;
			this.endbox.Text = "0.000000";
			// 
			// button33
			// 
			this.button33.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button33.Location = new System.Drawing.Point(136, 352);
			this.button33.Name = "button33";
			this.button33.Size = new System.Drawing.Size(32, 23);
			this.button33.TabIndex = 42;
			this.button33.Text = "Л";
			this.button33.Click += new System.EventHandler(this.button33_Click);
			// 
			// endList
			// 
			this.endList.Location = new System.Drawing.Point(112, 160);
			this.endList.Multiline = true;
			this.endList.Name = "endList";
			this.endList.Size = new System.Drawing.Size(352, 21);
			this.endList.TabIndex = 43;
			this.endList.Tag = "ff";
			this.endList.Text = "";
			// 
			// label3
			// 
			this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.label3.Location = new System.Drawing.Point(40, 160);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(64, 20);
			this.label3.TabIndex = 44;
			this.label3.Text = "结果列表:";
			this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// button34
			// 
			this.button34.ForeColor = System.Drawing.SystemColors.ControlText;
			this.button34.Location = new System.Drawing.Point(24, 192);
			this.button34.Name = "button34";
			this.button34.Size = new System.Drawing.Size(96, 23);
			this.button34.TabIndex = 45;
			this.button34.Text = "清除结果列表";
			this.button34.Click += new System.EventHandler(this.button34_Click);
			// 
			// button35
			// 
			this.button35.Location = new System.Drawing.Point(408, 64);
			this.button35.Name = "button35";
			this.button35.Size = new System.Drawing.Size(56, 23);
			this.button35.TabIndex = 46;
			this.button35.Text = "帮助";
			this.button35.Click += new System.EventHandler(this.button35_Click);
			// 
			// button36
			// 
			this.button36.Location = new System.Drawing.Point(144, 96);
			this.button36.Name = "button36";
			this.button36.Size = new System.Drawing.Size(88, 23);
			this.button36.TabIndex = 47;
			this.button36.Text = "角度 => 弧度:";
			this.button36.Click += new System.EventHandler(this.button36_Click);
			// 
			// button37
			// 
			this.button37.Location = new System.Drawing.Point(144, 128);
			this.button37.Name = "button37";
			this.button37.Size = new System.Drawing.Size(88, 23);
			this.button37.TabIndex = 48;
			this.button37.Text = "弧度 => 角度:";
			this.button37.Click += new System.EventHandler(this.button37_Click);
			// 
			// textBox1
			// 
			this.textBox1.Anchor = System.Windows.Forms.AnchorStyles.Left;
			this.textBox1.Location = new System.Drawing.Point(240, 96);
			this.textBox1.Name = "textBox1";
			this.textBox1.Size = new System.Drawing.Size(128, 21);
			this.textBox1.TabIndex = 49;
			this.textBox1.Text = "";
			// 
			// textBox2
			// 
			this.textBox2.Anchor = System.Windows.Forms.AnchorStyles.Left;
			this.textBox2.Location = new System.Drawing.Point(240, 128);
			this.textBox2.Name = "textBox2";
			this.textBox2.Size = new System.Drawing.Size(128, 21);
			this.textBox2.TabIndex = 50;
			this.textBox2.Text = "";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(16, 88);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(128, 72);
			this.label4.TabIndex = 51;
			this.label4.Text = "  对结果转换                                 ***只有当结果为角度时用此功能才有意义                     " +
				"              ***只有当结果为孤度时用此功能才有意义";
			this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// button38
			// 
			this.button38.Location = new System.Drawing.Point(376, 96);
			this.button38.Name = "button38";
			this.button38.Size = new System.Drawing.Size(88, 24);
			this.button38.TabIndex = 52;
			this.button38.Text = "复制到表达式";
			this.button38.Click += new System.EventHandler(this.button38_Click);
			// 
			// button39
			// 
			this.button39.Location = new System.Drawing.Point(376, 128);
			this.button39.Name = "button39";
			this.button39.Size = new System.Drawing.Size(88, 24);
			this.button39.TabIndex = 53;
			this.button39.Text = "复制到表达式";
			this.button39.Click += new System.EventHandler(this.button39_Click);
			// 
			// Form2
			// 
			this.AcceptButton = this.button30;
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.BackColor = System.Drawing.SystemColors.InactiveCaption;
			this.ClientSize = new System.Drawing.Size(488, 390);
			this.Controls.Add(this.button39);
			this.Controls.Add(this.button38);
			this.Controls.Add(this.label4);
			this.Controls.Add(this.textBox2);
			this.Controls.Add(this.textBox1);
			this.Controls.Add(this.button37);
			this.Controls.Add(this.button36);
			this.Controls.Add(this.button35);
			this.Controls.Add(this.button34);
			this.Controls.Add(this.label3);
			this.Controls.Add(this.endList);
			this.Controls.Add(this.button33);
			this.Controls.Add(this.endbox);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.button32);
			this.Controls.Add(this.button31);
			this.Controls.Add(this.button30);
			this.Controls.Add(this.button29);
			this.Controls.Add(this.button28);
			this.Controls.Add(this.button27);
			this.Controls.Add(this.button26);
			this.Controls.Add(this.button25);
			this.Controls.Add(this.button24);
			this.Controls.Add(this.button23);
			this.Controls.Add(this.button22);
			this.Controls.Add(this.button21);
			this.Controls.Add(this.button20);
			this.Controls.Add(this.button19);
			this.Controls.Add(this.button18);
			this.Controls.Add(this.button17);
			this.Controls.Add(this.button16);
			this.Controls.Add(this.button15);
			this.Controls.Add(this.button14);
			this.Controls.Add(this.button13);
			this.Controls.Add(this.button12);
			this.Controls.Add(this.button11);
			this.Controls.Add(this.button10);
			this.Controls.Add(this.button9);
			this.Controls.Add(this.button8);
			this.Controls.Add(this.button7);
			this.Controls.Add(this.button6);
			this.Controls.Add(this.button5);
			this.Controls.Add(this.button4);
			this.Controls.Add(this.button3);
			this.Controls.Add(this.button2);
			this.Controls.Add(this.button1);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.expressBox);
			this.MaximizeBox = false;
			this.Name = "Form2";
			this.Text = "多功能计算器";
			this.Load += new System.EventHandler(this.Form1_Load);
			this.Closed += new System.EventHandler(this.Form2_Closed);
			this.ResumeLayout(false);

		}
		#endregion

		/// <summary>
		/// 应用程序的主入口点。
		/// </summary>
		[STAThread]
		/*static void Main() 
		{
			Application.Run(new Form2());
		}*/

		private void Form1_Load(object sender, System.EventArgs e)
		{
		}
		private void Form_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
		{
			//label3.Text="X: "+e.X.ToString()+" ,Y: "+e.Y.ToString();
		}

		/*private void button1_Click(object sender, System.EventArgs e)
		{
			StartExcute();			           
		}
		private void button2_Click(object sender, System.EventArgs e)
		{

⌨️ 快捷键说明

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