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

📄 formkeyboard.cs

📁 用C#实现的数学常用函数的教学演示用程序.
💻 CS
📖 第 1 页 / 共 3 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace 表达式图像程序
{
	/// <summary>
	/// FormKeybroad 的摘要说明。
	/// </summary>
	public class FormKeyBoard : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button button33;
		private System.Windows.Forms.Button button32;
		private System.Windows.Forms.Button button31;
		private System.Windows.Forms.Button button29;
		private System.Windows.Forms.Button button28;
		private System.Windows.Forms.Button button27;
		private System.Windows.Forms.Button button26;
		private System.Windows.Forms.Button button25;
		private System.Windows.Forms.Button button24;
		private System.Windows.Forms.Button button23;
		private System.Windows.Forms.Button button22;
		private System.Windows.Forms.Button button21;
		private System.Windows.Forms.Button button20;
		private System.Windows.Forms.Button button19;
		private System.Windows.Forms.Button button18;
		private System.Windows.Forms.Button button17;
		private System.Windows.Forms.Button button16;
		private System.Windows.Forms.Button button15;
		private System.Windows.Forms.Button button14;
		private System.Windows.Forms.Button button13;
		private System.Windows.Forms.Button button12;
		private System.Windows.Forms.Button button11;
		private System.Windows.Forms.Button button10;
		private System.Windows.Forms.Button button9;
		private System.Windows.Forms.Button button8;
		private System.Windows.Forms.Button button7;
		private System.Windows.Forms.Button button6;
		private System.Windows.Forms.Button button5;
		private System.Windows.Forms.Button button4;
		private System.Windows.Forms.Button button3;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Button button34;
		private System.Windows.Forms.TextBox expressBox;
		private System.Windows.Forms.Button button30;
		private System.Windows.Forms.Button button35;
		private System.Windows.Forms.Button button36;
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public FormKeyBoard()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
			this.button33 = new System.Windows.Forms.Button();
			this.button32 = new System.Windows.Forms.Button();
			this.button31 = new System.Windows.Forms.Button();
			this.button29 = new System.Windows.Forms.Button();
			this.button28 = new System.Windows.Forms.Button();
			this.button27 = new System.Windows.Forms.Button();
			this.button26 = new System.Windows.Forms.Button();
			this.button25 = new System.Windows.Forms.Button();
			this.button24 = new System.Windows.Forms.Button();
			this.button23 = new System.Windows.Forms.Button();
			this.button22 = new System.Windows.Forms.Button();
			this.button21 = new System.Windows.Forms.Button();
			this.button20 = new System.Windows.Forms.Button();
			this.button19 = new System.Windows.Forms.Button();
			this.button18 = new System.Windows.Forms.Button();
			this.button17 = new System.Windows.Forms.Button();
			this.button16 = new System.Windows.Forms.Button();
			this.button15 = new System.Windows.Forms.Button();
			this.button14 = new System.Windows.Forms.Button();
			this.button13 = new System.Windows.Forms.Button();
			this.button12 = new System.Windows.Forms.Button();
			this.button11 = new System.Windows.Forms.Button();
			this.button10 = new System.Windows.Forms.Button();
			this.button9 = new System.Windows.Forms.Button();
			this.button8 = new System.Windows.Forms.Button();
			this.button7 = new System.Windows.Forms.Button();
			this.button6 = new System.Windows.Forms.Button();
			this.button5 = new System.Windows.Forms.Button();
			this.button4 = new System.Windows.Forms.Button();
			this.button3 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			this.button1 = new System.Windows.Forms.Button();
			this.expressBox = new System.Windows.Forms.TextBox();
			this.label1 = new System.Windows.Forms.Label();
			this.button34 = new System.Windows.Forms.Button();
			this.button30 = new System.Windows.Forms.Button();
			this.button35 = new System.Windows.Forms.Button();
			this.button36 = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// button33
			// 
			this.button33.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button33.Location = new System.Drawing.Point(408, 216);
			this.button33.Name = "button33";
			this.button33.Size = new System.Drawing.Size(32, 23);
			this.button33.TabIndex = 75;
			this.button33.Text = "Л";
			this.button33.Click += new System.EventHandler(this.button33_Click);
			// 
			// button32
			// 
			this.button32.BackColor = System.Drawing.SystemColors.InactiveCaption;
			this.button32.ForeColor = System.Drawing.SystemColors.ControlText;
			this.button32.Location = new System.Drawing.Point(96, 56);
			this.button32.Name = "button32";
			this.button32.Size = new System.Drawing.Size(72, 23);
			this.button32.TabIndex = 74;
			this.button32.Text = "清除";
			this.button32.Click += new System.EventHandler(this.button32_Click);
			// 
			// button31
			// 
			this.button31.BackColor = System.Drawing.SystemColors.InactiveCaption;
			this.button31.ForeColor = System.Drawing.Color.Black;
			this.button31.Location = new System.Drawing.Point(280, 56);
			this.button31.Name = "button31";
			this.button31.Size = new System.Drawing.Size(80, 23);
			this.button31.TabIndex = 73;
			this.button31.Text = "Back Space";
			this.button31.Click += new System.EventHandler(this.button31_Click);
			// 
			// button29
			// 
			this.button29.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button29.Location = new System.Drawing.Point(360, 96);
			this.button29.Name = "button29";
			this.button29.Size = new System.Drawing.Size(32, 23);
			this.button29.TabIndex = 71;
			this.button29.Text = "(";
			this.button29.Click += new System.EventHandler(this.button29_Click);
			// 
			// button28
			// 
			this.button28.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button28.Location = new System.Drawing.Point(408, 96);
			this.button28.Name = "button28";
			this.button28.Size = new System.Drawing.Size(32, 23);
			this.button28.TabIndex = 70;
			this.button28.Text = ")";
			this.button28.Click += new System.EventHandler(this.button28_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(296, 216);
			this.button27.Name = "button27";
			this.button27.Size = new System.Drawing.Size(48, 23);
			this.button27.TabIndex = 69;
			this.button27.Text = "次方";
			this.button27.Click += new System.EventHandler(this.button27_Click);
			// 
			// button26
			// 
			this.button26.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button26.Location = new System.Drawing.Point(112, 176);
			this.button26.Name = "button26";
			this.button26.Size = new System.Drawing.Size(32, 23);
			this.button26.TabIndex = 68;
			this.button26.Text = "Ln";
			this.button26.Click += new System.EventHandler(this.button26_Click);
			// 
			// button25
			// 
			this.button25.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button25.Location = new System.Drawing.Point(112, 136);
			this.button25.Name = "button25";
			this.button25.Size = new System.Drawing.Size(32, 23);
			this.button25.TabIndex = 67;
			this.button25.Text = "Csc";
			this.button25.Click += new System.EventHandler(this.button25_Click);
			// 
			// button24
			// 
			this.button24.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button24.Location = new System.Drawing.Point(112, 96);
			this.button24.Name = "button24";
			this.button24.Size = new System.Drawing.Size(32, 23);
			this.button24.TabIndex = 66;
			this.button24.Text = "Sec";
			this.button24.Click += new System.EventHandler(this.button24_Click);
			// 
			// button23
			// 
			this.button23.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button23.Location = new System.Drawing.Point(48, 216);
			this.button23.Name = "button23";
			this.button23.Size = new System.Drawing.Size(56, 23);
			this.button23.TabIndex = 65;
			this.button23.Text = "ArcCot";
			this.button23.Click += new System.EventHandler(this.button23_Click);
			// 
			// button22
			// 
			this.button22.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button22.Location = new System.Drawing.Point(48, 176);
			this.button22.Name = "button22";
			this.button22.Size = new System.Drawing.Size(56, 23);
			this.button22.TabIndex = 64;
			this.button22.Text = "ArcTan";
			this.button22.Click += new System.EventHandler(this.button22_Click);
			// 
			// button21
			// 
			this.button21.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button21.Location = new System.Drawing.Point(48, 136);
			this.button21.Name = "button21";
			this.button21.Size = new System.Drawing.Size(56, 23);
			this.button21.TabIndex = 63;
			this.button21.Text = "ArcCos";
			this.button21.Click += new System.EventHandler(this.button21_Click);
			// 
			// button20
			// 
			this.button20.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button20.Location = new System.Drawing.Point(48, 96);
			this.button20.Name = "button20";
			this.button20.Size = new System.Drawing.Size(56, 23);
			this.button20.TabIndex = 62;
			this.button20.Text = "ArcSin";
			this.button20.Click += new System.EventHandler(this.button20_Click);
			// 
			// button19
			// 
			this.button19.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button19.Location = new System.Drawing.Point(8, 216);
			this.button19.Name = "button19";
			this.button19.Size = new System.Drawing.Size(32, 23);
			this.button19.TabIndex = 61;
			this.button19.Text = "Cot";
			this.button19.Click += new System.EventHandler(this.button19_Click);
			// 
			// button18
			// 
			this.button18.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button18.Location = new System.Drawing.Point(8, 176);
			this.button18.Name = "button18";
			this.button18.Size = new System.Drawing.Size(32, 23);
			this.button18.TabIndex = 60;
			this.button18.Text = "Tan";
			this.button18.Click += new System.EventHandler(this.button18_Click);
			// 
			// button17
			// 
			this.button17.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button17.Location = new System.Drawing.Point(8, 136);
			this.button17.Name = "button17";

⌨️ 快捷键说明

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