亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? form1.cs

?? 用C#編寫的一個全新功能計算器小程序
?? CS
?? 第 1 頁 / 共 4 頁
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace 多功能計算機器
{
	public class Form : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox expressBox;
		private System.ComponentModel.Container components = null;
		
		
		//***往下為自已定義的變量***
		  //定義存放運算符(包括:'+','-',...,'sin',...,'arcsin',...,'(',...等)及其特性的數據結構
		public struct opTable   //定義存放運算符及其優先級和單雙目的結構
		{
			public string op;   //用于存放運算符 op為oprater的簡寫 
			public int code;    //用存放運算符的優先級
			public char grade;  //用于判斷存放的運算符是單目還是雙目
		}
		public opTable[] opchTbl=new opTable[19];  //用于存放制定好的運算符及其特性(優先級和單雙目)的運算符表,其初始化在方法Initialize()中
		public opTable[] operateStack=new opTable[30];	//用于存放從鍵盤掃描的運算符的棧	
	     
	    //定義優先級列表 1,2,3,4,5,6,7,8,9,
		public int[]osp=new int[19]{6,6,6,6,6,6,6,6,6,6,6,5,3,3,2,2,7,0,1};  //數組中元素依次為: "sin","cos","tan","cot","arcsin","arccos","arctan","sec","csc","ln","^","*","/","+","-","(",")",""   的棧外(因為有的運算符是從右向左計算,有的是從左往右計算,用內外優先級可以限制其執行順序)優先級
		public int[]isp=new int[18]{5,5,5,5,5,5,5,5,5,5,5,4,3,3,2,2,1,1};      //數組中元素依次為: "sin","cos","tan","cot","arcsin","arccos","arctan","sec","csc","ln","^","*","/","+","-","(" ,"end" 的棧內(因為有的運算符是從右向左計算,有的是從左往右計算,用內外優先級可以限制其執行順序)優先級
        
		//定義存放從鍵盤掃描的數據的棧
		public double[]dataStack=new double[30]{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};

		//定義表態指針
		public int opTop=-1;  //指向存放(從鍵盤掃描的)運算符棧的指針
		public int dataTop=-1;//指向存放(從鍵盤掃描的)數據棧指針
		
		//定義存放從鍵盤輸入的起始字符串
		public string startString;
		public int startTop=0;

		public double variableX=0;
		public double variableY=0;

		const double PI=3.1415926;

		int number=1;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.Button button3;
		private System.Windows.Forms.Button button4;
		private System.Windows.Forms.Button button5;
		private System.Windows.Forms.Button button6;
		private System.Windows.Forms.Button button7;
		private System.Windows.Forms.Button button8;
		private System.Windows.Forms.Button button9;
		private System.Windows.Forms.Button button10;
		private System.Windows.Forms.Button button11;
		private System.Windows.Forms.Button button12;
		private System.Windows.Forms.Button button13;
		private System.Windows.Forms.Button button14;
		private System.Windows.Forms.Button button15;
		private System.Windows.Forms.Button button16;
		private System.Windows.Forms.Button button17;
		private System.Windows.Forms.Button button18;
		private System.Windows.Forms.Button button19;
		private System.Windows.Forms.Button button20;
		private System.Windows.Forms.Button button21;
		private System.Windows.Forms.Button button22;
		private System.Windows.Forms.Button button23;
		private System.Windows.Forms.Button button24;
		private System.Windows.Forms.Button button25;
		private System.Windows.Forms.Button button26;
		private System.Windows.Forms.Button button27;
		private System.Windows.Forms.Button button28;
		private System.Windows.Forms.Button button29;
		private System.Windows.Forms.Button button30;
		private System.Windows.Forms.Button button31;
		private System.Windows.Forms.Button button32;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TextBox endbox;
		private System.Windows.Forms.Button button33;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.TextBox endList;
		private System.Windows.Forms.Button button34;
		private System.Windows.Forms.Button button35;
		private System.Windows.Forms.Button button40;	
		public int startTopMoveCount=0;	
		//*******
		//int x=0;
		
        #region Windows Form Designer generated code
		public Form()
       	{
			InitializeComponent();      
		}
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}
		#endregion 
		#region Windows Form Designer generated code
		/// <summary>
		/// 設計器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內容。
		/// </summary>
		private void InitializeComponent()
		{
			this.expressBox = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.button1 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			this.button3 = new System.Windows.Forms.Button();
			this.button4 = new System.Windows.Forms.Button();
			this.button5 = new System.Windows.Forms.Button();
			this.button6 = new System.Windows.Forms.Button();
			this.button7 = new System.Windows.Forms.Button();
			this.button8 = new System.Windows.Forms.Button();
			this.button9 = new System.Windows.Forms.Button();
			this.button10 = new System.Windows.Forms.Button();
			this.button11 = new System.Windows.Forms.Button();
			this.button12 = new System.Windows.Forms.Button();
			this.button13 = new System.Windows.Forms.Button();
			this.button14 = new System.Windows.Forms.Button();
			this.button15 = new System.Windows.Forms.Button();
			this.button16 = new System.Windows.Forms.Button();
			this.button17 = new System.Windows.Forms.Button();
			this.button18 = new System.Windows.Forms.Button();
			this.button19 = new System.Windows.Forms.Button();
			this.button20 = new System.Windows.Forms.Button();
			this.button21 = new System.Windows.Forms.Button();
			this.button22 = new System.Windows.Forms.Button();
			this.button23 = new System.Windows.Forms.Button();
			this.button24 = new System.Windows.Forms.Button();
			this.button25 = new System.Windows.Forms.Button();
			this.button26 = new System.Windows.Forms.Button();
			this.button27 = new System.Windows.Forms.Button();
			this.button28 = new System.Windows.Forms.Button();
			this.button29 = new System.Windows.Forms.Button();
			this.button30 = new System.Windows.Forms.Button();
			this.button31 = new System.Windows.Forms.Button();
			this.button32 = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.endbox = new System.Windows.Forms.TextBox();
			this.button33 = new System.Windows.Forms.Button();
			this.endList = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.button34 = new System.Windows.Forms.Button();
			this.button35 = new System.Windows.Forms.Button();
			this.button40 = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// expressBox
			// 
			this.expressBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.expressBox.Location = new System.Drawing.Point(112, 32);
			this.expressBox.Name = "expressBox";
			this.expressBox.Size = new System.Drawing.Size(288, 21);
			this.expressBox.TabIndex = 0;
			this.expressBox.Text = "";
			this.expressBox.TextChanged += new System.EventHandler(this.expressBox_TextChanged);
			// 
			// label2
			// 
			this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.label2.Location = new System.Drawing.Point(16, 32);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(88, 24);
			this.label2.TabIndex = 6;
			this.label2.Text = "請輸入表達式:";
			this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			this.label2.Click += new System.EventHandler(this.label2_Click);
			// 
			// button1
			// 
			this.button1.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button1.Location = new System.Drawing.Point(216, 288);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(32, 23);
			this.button1.TabIndex = 8;
			this.button1.Text = "1";
			this.button1.Click += new System.EventHandler(this.button1_Click_1);
			// 
			// button2
			// 
			this.button2.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button2.Location = new System.Drawing.Point(216, 248);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(32, 23);
			this.button2.TabIndex = 9;
			this.button2.Text = "4";
			this.button2.Click += new System.EventHandler(this.button2_Click_1);
			// 
			// button3
			// 
			this.button3.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button3.Location = new System.Drawing.Point(328, 288);
			this.button3.Name = "button3";
			this.button3.Size = new System.Drawing.Size(32, 23);
			this.button3.TabIndex = 10;
			this.button3.Text = "3";
			this.button3.Click += new System.EventHandler(this.button3_Click);
			// 
			// button4
			// 
			this.button4.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button4.Location = new System.Drawing.Point(272, 288);
			this.button4.Name = "button4";
			this.button4.Size = new System.Drawing.Size(32, 23);
			this.button4.TabIndex = 11;
			this.button4.Text = "2";
			this.button4.Click += new System.EventHandler(this.button4_Click);
			// 
			// button5
			// 
			this.button5.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button5.Location = new System.Drawing.Point(272, 248);
			this.button5.Name = "button5";
			this.button5.Size = new System.Drawing.Size(32, 23);
			this.button5.TabIndex = 12;
			this.button5.Text = "5";
			this.button5.Click += new System.EventHandler(this.button5_Click);
			// 
			// button6
			// 
			this.button6.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button6.Location = new System.Drawing.Point(328, 248);
			this.button6.Name = "button6";
			this.button6.Size = new System.Drawing.Size(32, 23);
			this.button6.TabIndex = 13;
			this.button6.Text = "6";
			this.button6.Click += new System.EventHandler(this.button6_Click);
			// 
			// button7
			// 
			this.button7.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button7.Location = new System.Drawing.Point(328, 208);
			this.button7.Name = "button7";
			this.button7.Size = new System.Drawing.Size(32, 23);
			this.button7.TabIndex = 14;
			this.button7.Text = "9";
			this.button7.Click += new System.EventHandler(this.button7_Click);
			// 
			// button8
			// 
			this.button8.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button8.Location = new System.Drawing.Point(272, 208);
			this.button8.Name = "button8";
			this.button8.Size = new System.Drawing.Size(32, 23);
			this.button8.TabIndex = 15;
			this.button8.Text = "8";
			this.button8.Click += new System.EventHandler(this.button8_Click);
			// 
			// button9
			// 
			this.button9.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button9.Location = new System.Drawing.Point(216, 208);
			this.button9.Name = "button9";
			this.button9.Size = new System.Drawing.Size(32, 23);
			this.button9.TabIndex = 16;
			this.button9.Text = "7";
			this.button9.Click += new System.EventHandler(this.button9_Click);
			// 
			// button10
			// 
			this.button10.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button10.Location = new System.Drawing.Point(216, 328);
			this.button10.Name = "button10";
			this.button10.Size = new System.Drawing.Size(32, 23);
			this.button10.TabIndex = 17;
			this.button10.Text = "0";
			this.button10.Click += new System.EventHandler(this.button10_Click);
			// 
			// button11
			// 
			this.button11.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button11.Location = new System.Drawing.Point(272, 328);
			this.button11.Name = "button11";
			this.button11.Size = new System.Drawing.Size(32, 23);
			this.button11.TabIndex = 18;
			this.button11.Text = "DEL";
			this.button11.Click += new System.EventHandler(this.button11_Click);
			// 
			// button12
			// 
			this.button12.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button12.Location = new System.Drawing.Point(384, 248);
			this.button12.Name = "button12";
			this.button12.Size = new System.Drawing.Size(32, 23);
			this.button12.TabIndex = 19;
			this.button12.Text = "*";
			this.button12.Click += new System.EventHandler(this.button12_Click);
			// 
			// button13
			// 
			this.button13.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button13.Location = new System.Drawing.Point(432, 248);
			this.button13.Name = "button13";
			this.button13.Size = new System.Drawing.Size(32, 23);
			this.button13.TabIndex = 20;
			this.button13.Text = "/";
			this.button13.Click += new System.EventHandler(this.button13_Click);
			// 
			// button14
			// 
			this.button14.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button14.Location = new System.Drawing.Point(384, 288);
			this.button14.Name = "button14";
			this.button14.Size = new System.Drawing.Size(32, 23);
			this.button14.TabIndex = 21;
			this.button14.Text = "+";
			this.button14.Click += new System.EventHandler(this.button14_Click);
			// 
			// button15
			// 
			this.button15.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button15.Location = new System.Drawing.Point(432, 288);
			this.button15.Name = "button15";
			this.button15.Size = new System.Drawing.Size(32, 23);
			this.button15.TabIndex = 22;
			this.button15.Text = "-";
			this.button15.Click += new System.EventHandler(this.button15_Click);
			// 
			// button16
			// 
			this.button16.BackColor = System.Drawing.SystemColors.InactiveCaption;
			this.button16.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button16.Location = new System.Drawing.Point(24, 208);
			this.button16.Name = "button16";
			this.button16.Size = new System.Drawing.Size(32, 23);
			this.button16.TabIndex = 23;
			this.button16.Text = "Sin";
			this.button16.Click += new System.EventHandler(this.button16_Click);
			// 
			// button17
			// 
			this.button17.ForeColor = System.Drawing.SystemColors.HotTrack;
			this.button17.Location = new System.Drawing.Point(24, 248);
			this.button17.Name = "button17";
			this.button17.Size = new System.Drawing.Size(32, 23);
			this.button17.TabIndex = 24;
			this.button17.Text = "Cos";
			this.button17.Click += new System.EventHandler(this.button17_Click);
			// 
			// button18

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
激情五月婷婷综合| 国产白丝精品91爽爽久久| 精品区一区二区| 色综合久久九月婷婷色综合| 日韩av电影免费观看高清完整版在线观看| 久久久亚洲精华液精华液精华液 | 偷窥国产亚洲免费视频| 久久久久亚洲综合| 91精品婷婷国产综合久久竹菊| 白白色亚洲国产精品| 蜜臂av日日欢夜夜爽一区| 亚洲精品中文字幕在线观看| 久久久久国产免费免费| 在线播放视频一区| 欧美性色aⅴ视频一区日韩精品| 国产999精品久久久久久绿帽| 久久精品国产亚洲aⅴ| 亚洲一区二区在线观看视频| 亚洲国产精品激情在线观看| 精品久久久网站| 日韩欧美综合在线| 欧美日韩免费一区二区三区| 91丨九色丨黑人外教| 东方欧美亚洲色图在线| 久久99深爱久久99精品| 日韩电影免费一区| 丝袜诱惑亚洲看片| 亚洲一区影音先锋| 亚洲黄色尤物视频| 亚洲你懂的在线视频| 一区在线播放视频| 1区2区3区国产精品| 国产精品免费网站在线观看| 国产欧美一区视频| 国产亚洲精品aa| 久久久久国产精品麻豆ai换脸 | 精品国产一区二区三区久久久蜜月 | 精品系列免费在线观看| 日韩国产欧美在线观看| 丝瓜av网站精品一区二区| 亚洲一区二区视频在线观看| 亚洲人成人一区二区在线观看| 国产精品网友自拍| 中文字幕av在线一区二区三区| 久久精品这里都是精品| 欧美精品一区二区三区在线| 久久夜色精品国产噜噜av| 久久久五月婷婷| 国产欧美日韩麻豆91| 国产精品天美传媒| 亚洲欧美日韩国产综合在线| 亚洲免费av在线| 亚洲成在人线免费| 免费人成精品欧美精品| 激情综合色播激情啊| 国产精品1区二区.| 波多野结衣在线aⅴ中文字幕不卡| 北条麻妃一区二区三区| 色8久久人人97超碰香蕉987| 精品视频色一区| 欧美电影免费观看高清完整版在线| 精品国产sm最大网站免费看| 久久久久国产精品麻豆ai换脸| 国产欧美日韩综合精品一区二区| 中文字幕亚洲成人| 亚洲国产aⅴ天堂久久| 日韩精品电影在线观看| 韩国精品一区二区| 99精品久久久久久| 欧美一区二区福利在线| 国产亚洲短视频| 亚洲一区二区在线观看视频| 美国av一区二区| 国产高清在线精品| 欧美性猛片aaaaaaa做受| 精品日韩99亚洲| 亚洲免费伊人电影| 美女国产一区二区三区| www.日韩在线| 3d动漫精品啪啪1区2区免费| 中文字幕乱码一区二区免费| 亚洲一区免费在线观看| 精品一区二区三区免费毛片爱| 成年人网站91| 日韩欧美综合一区| 亚洲免费观看高清完整| 国精产品一区一区三区mba视频| 99国产精品久| 精品日韩成人av| 亚洲影院在线观看| 国产乱一区二区| 欧美日韩高清一区二区三区| 久久蜜桃av一区精品变态类天堂 | 国产精品乡下勾搭老头1| 在线观看一区二区视频| 国产亚洲欧洲997久久综合 | 青草av.久久免费一区| 粉嫩欧美一区二区三区高清影视| 欧美午夜不卡在线观看免费| 国产精品天干天干在观线| 午夜精品一区二区三区电影天堂| 丁香婷婷综合色啪| 日韩美女在线视频 | 亚洲色图在线播放| 国产真实乱对白精彩久久| 欧美日韩视频在线一区二区| 中文字幕一区三区| 亚洲欧美另类图片小说| 欧美高清激情brazzers| 中文字幕 久热精品 视频在线| 亚洲成a人片综合在线| 99久久精品久久久久久清纯| 久久这里都是精品| 奇米色777欧美一区二区| 欧美亚洲一区三区| 综合婷婷亚洲小说| 国产凹凸在线观看一区二区| 欧美mv日韩mv国产| 蜜臂av日日欢夜夜爽一区| 欧美午夜精品电影| 樱花影视一区二区| 99久久精品国产网站| 中文字幕欧美三区| 国产成人三级在线观看| 精品国产成人在线影院 | 精品一区二区三区日韩| 91精品国产综合久久福利软件 | 4hu四虎永久在线影院成人| 亚洲最大成人网4388xx| 色偷偷久久一区二区三区| 亚洲欧洲日韩一区二区三区| 成人午夜在线播放| 亚洲国产精品精华液2区45| 国产成人精品综合在线观看| 久久蜜桃av一区精品变态类天堂| 韩国av一区二区三区在线观看| 欧美大片一区二区| 精品伊人久久久久7777人| 精品国产乱码91久久久久久网站| 久久精品二区亚洲w码| 欧美不卡在线视频| 国产一区二区三区日韩| 久久蜜臀精品av| 成人av在线电影| 亚洲欧洲美洲综合色网| 91九色02白丝porn| 亚洲国产成人va在线观看天堂| 欧美日韩高清一区二区三区| 蜜桃视频在线一区| 亚洲精品在线观看网站| 国产成人精品综合在线观看 | 91女厕偷拍女厕偷拍高清| 成人免费在线观看入口| 色偷偷成人一区二区三区91| 亚洲已满18点击进入久久| 欧美男男青年gay1069videost| 日日夜夜免费精品| 精品免费国产二区三区 | 日韩欧美激情在线| 韩国女主播一区二区三区| 国产无遮挡一区二区三区毛片日本| 成人一区在线观看| 一卡二卡三卡日韩欧美| 日韩一区二区三区四区五区六区| 精品一区二区影视| 国产精品久久网站| 欧美三级日韩在线| 久久精品72免费观看| 国产精品欧美一级免费| 欧美日韩精品一区二区天天拍小说| 久久机这里只有精品| 国产精品私人影院| 欧美三级电影在线观看| 韩国女主播成人在线| 亚洲精品久久嫩草网站秘色| 3d动漫精品啪啪| 99久久婷婷国产综合精品| 亚洲成人av在线电影| 欧美激情一区二区| 欧美精品自拍偷拍动漫精品| 国产精品一区二区三区四区| 亚洲综合色在线| 欧美精品一区二区三区蜜桃| 色综合中文字幕| 久久精品国产精品亚洲综合| 亚洲欧美怡红院| www一区二区| 欧美在线观看一区| 国产精品一区二区三区网站| 日韩中文欧美在线| 国产精品麻豆99久久久久久| 欧美一二三在线| 91婷婷韩国欧美一区二区| 久久成人av少妇免费| 一区二区三区电影在线播| 久久久久综合网| 欧美一区二区在线不卡| 91久久精品一区二区三| 国产成人综合自拍| 美女爽到高潮91|