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

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

?? form1.cs

?? 這是個計算器 是和微軟有區別的 大家可以
?? CS
?? 第 1 頁 / 共 2 頁
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace calc
{
	/// <summary>
	/// Summary description for Form1.
	/// </summary>
	public class Calculator1 : System.Windows.Forms.Form
	{
        private System.Windows.Forms.Button btn1;
        private System.Windows.Forms.Button btn2;
        private System.Windows.Forms.Button btn3;
        private System.Windows.Forms.Button btn4;
        private System.Windows.Forms.Button btn5;
        private System.Windows.Forms.Button btn6;
        private System.Windows.Forms.Button btn7;
        private System.Windows.Forms.Button btn8;
        private System.Windows.Forms.Button btn9;
        private System.Windows.Forms.Button btn0;
        private System.Windows.Forms.Button btnAdd;
        private System.Windows.Forms.Button btnSubtract;
        private System.Windows.Forms.Button btnMultiply;
        private System.Windows.Forms.Button btnDivide;
        private System.Windows.Forms.TextBox txtResult;
        private System.Windows.Forms.Button btnEquals;
        private System.Windows.Forms.Button btnClear;
        private System.Windows.Forms.Button btnNegative;
        private System.Windows.Forms.Button btnDecimal;

        private int opMain = 0; // 1(加法)  2(減法)  3(乘法)  4(除法)
        private double mainNum1 = 0; // 存儲第一個數
        private double mainNum2 = 0; // 存儲第二個數
        private bool isSecond = false; // 用來判斷輸入的是第一個還是第二個數
        private bool isDone = false; // 用來判斷是否按了等于按鈕
        private bool isDecimal = false; // 用了判斷是否有小數

		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public Calculator1()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.btnSubtract = new System.Windows.Forms.Button();
            this.btnDivide = new System.Windows.Forms.Button();
            this.btnEquals = new System.Windows.Forms.Button();
            this.btnDecimal = new System.Windows.Forms.Button();
            this.btn2 = new System.Windows.Forms.Button();
            this.btn3 = new System.Windows.Forms.Button();
            this.btnClear = new System.Windows.Forms.Button();
            this.btn1 = new System.Windows.Forms.Button();
            this.btn6 = new System.Windows.Forms.Button();
            this.btn7 = new System.Windows.Forms.Button();
            this.btn4 = new System.Windows.Forms.Button();
            this.btn5 = new System.Windows.Forms.Button();
            this.btn8 = new System.Windows.Forms.Button();
            this.btn9 = new System.Windows.Forms.Button();
            this.btnAdd = new System.Windows.Forms.Button();
            this.btnMultiply = new System.Windows.Forms.Button();
            this.btnNegative = new System.Windows.Forms.Button();
            this.btn0 = new System.Windows.Forms.Button();
            this.txtResult = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            // 
            // btnSubtract
            // 
            this.btnSubtract.Location = new System.Drawing.Point(136, 80);
            this.btnSubtract.Name = "btnSubtract";
            this.btnSubtract.Size = new System.Drawing.Size(32, 32);
            this.btnSubtract.TabIndex = 0;
            this.btnSubtract.TabStop = false;
            this.btnSubtract.Text = "-";
            this.btnSubtract.Click += new System.EventHandler(this.btnSubtract_Click);
            // 
            // btnDivide
            // 
            this.btnDivide.Location = new System.Drawing.Point(136, 160);
            this.btnDivide.Name = "btnDivide";
            this.btnDivide.Size = new System.Drawing.Size(32, 32);
            this.btnDivide.TabIndex = 0;
            this.btnDivide.TabStop = false;
            this.btnDivide.Text = "/";
            this.btnDivide.Click += new System.EventHandler(this.btnDivide_Click);
            // 
            // btnEquals
            // 
            this.btnEquals.Location = new System.Drawing.Point(136, 200);
            this.btnEquals.Name = "btnEquals";
            this.btnEquals.Size = new System.Drawing.Size(32, 32);
            this.btnEquals.TabIndex = 0;
            this.btnEquals.TabStop = false;
            this.btnEquals.Text = "=";
            this.btnEquals.Click += new System.EventHandler(this.btnEquals_Click);
            // 
            // btnDecimal
            // 
            this.btnDecimal.Location = new System.Drawing.Point(88, 200);
            this.btnDecimal.Name = "btnDecimal";
            this.btnDecimal.Size = new System.Drawing.Size(32, 32);
            this.btnDecimal.TabIndex = 0;
            this.btnDecimal.TabStop = false;
            this.btnDecimal.Text = ".";
            this.btnDecimal.Click += new System.EventHandler(this.btnDecimal_Click);
            // 
            // btn2
            // 
            this.btn2.Location = new System.Drawing.Point(48, 40);
            this.btn2.Name = "btn2";
            this.btn2.Size = new System.Drawing.Size(32, 32);
            this.btn2.TabIndex = 0;
            this.btn2.TabStop = false;
            this.btn2.Text = "2";
            this.btn2.Click += new System.EventHandler(this.btn2_Click);
            // 
            // btn3
            // 
            this.btn3.Location = new System.Drawing.Point(88, 40);
            this.btn3.Name = "btn3";
            this.btn3.Size = new System.Drawing.Size(32, 32);
            this.btn3.TabIndex = 0;
            this.btn3.TabStop = false;
            this.btn3.Text = "3";
            this.btn3.Click += new System.EventHandler(this.btn3_Click);
            // 
            // btnClear
            // 
            this.btnClear.ForeColor = System.Drawing.Color.OrangeRed;
            this.btnClear.Location = new System.Drawing.Point(8, 200);
            this.btnClear.Name = "btnClear";
            this.btnClear.Size = new System.Drawing.Size(32, 32);
            this.btnClear.TabIndex = 0;
            this.btnClear.TabStop = false;
            this.btnClear.Text = "C";
            this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
            // 
            // btn1
            // 
            this.btn1.Location = new System.Drawing.Point(8, 40);
            this.btn1.Name = "btn1";
            this.btn1.Size = new System.Drawing.Size(32, 32);
            this.btn1.TabIndex = 0;
            this.btn1.TabStop = false;
            this.btn1.Text = "1";
            this.btn1.Click += new System.EventHandler(this.btn1_Click);
            // 
            // btn6
            // 
            this.btn6.Location = new System.Drawing.Point(88, 80);
            this.btn6.Name = "btn6";
            this.btn6.Size = new System.Drawing.Size(32, 32);
            this.btn6.TabIndex = 0;
            this.btn6.TabStop = false;
            this.btn6.Text = "6";
            this.btn6.Click += new System.EventHandler(this.btn6_Click);
            // 
            // btn7
            // 
            this.btn7.Location = new System.Drawing.Point(8, 120);
            this.btn7.Name = "btn7";
            this.btn7.Size = new System.Drawing.Size(32, 32);
            this.btn7.TabIndex = 0;
            this.btn7.TabStop = false;
            this.btn7.Text = "7";
            this.btn7.Click += new System.EventHandler(this.btn7_Click);
            // 
            // btn4
            // 
            this.btn4.Location = new System.Drawing.Point(8, 80);
            this.btn4.Name = "btn4";
            this.btn4.Size = new System.Drawing.Size(32, 32);
            this.btn4.TabIndex = 0;
            this.btn4.TabStop = false;
            this.btn4.Text = "4";
            this.btn4.Click += new System.EventHandler(this.btn4_Click);
            // 
            // btn5
            // 
            this.btn5.Location = new System.Drawing.Point(48, 80);
            this.btn5.Name = "btn5";
            this.btn5.Size = new System.Drawing.Size(32, 32);
            this.btn5.TabIndex = 0;
            this.btn5.TabStop = false;
            this.btn5.Text = "5";
            this.btn5.Click += new System.EventHandler(this.btn5_Click);
            // 
            // btn8
            // 
            this.btn8.Location = new System.Drawing.Point(48, 120);
            this.btn8.Name = "btn8";
            this.btn8.Size = new System.Drawing.Size(32, 32);
            this.btn8.TabIndex = 0;
            this.btn8.TabStop = false;
            this.btn8.Text = "8";
            this.btn8.Click += new System.EventHandler(this.btn8_Click);
            // 
            // btn9
            // 
            this.btn9.Location = new System.Drawing.Point(88, 120);
            this.btn9.Name = "btn9";
            this.btn9.Size = new System.Drawing.Size(32, 32);
            this.btn9.TabIndex = 0;
            this.btn9.TabStop = false;
            this.btn9.Text = "9";
            this.btn9.Click += new System.EventHandler(this.btn9_Click);
            // 
            // btnAdd
            // 
            this.btnAdd.Location = new System.Drawing.Point(136, 40);
            this.btnAdd.Name = "btnAdd";
            this.btnAdd.Size = new System.Drawing.Size(32, 32);
            this.btnAdd.TabIndex = 0;
            this.btnAdd.TabStop = false;
            this.btnAdd.Text = "+";
            this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
            // 
            // btnMultiply
            // 
            this.btnMultiply.Location = new System.Drawing.Point(136, 120);
            this.btnMultiply.Name = "btnMultiply";
            this.btnMultiply.Size = new System.Drawing.Size(32, 32);
            this.btnMultiply.TabIndex = 0;
            this.btnMultiply.TabStop = false;
            this.btnMultiply.Text = "*";
            this.btnMultiply.Click += new System.EventHandler(this.btnMultiply_Click);
            // 
            // btnNegative
            // 
            this.btnNegative.Location = new System.Drawing.Point(48, 200);
            this.btnNegative.Name = "btnNegative";
            this.btnNegative.Size = new System.Drawing.Size(32, 32);
            this.btnNegative.TabIndex = 0;
            this.btnNegative.TabStop = false;
            this.btnNegative.Text = "+/-";
            this.btnNegative.Click += new System.EventHandler(this.btnNegative_Click);
            // 
            // btn0
            // 
            this.btn0.Location = new System.Drawing.Point(48, 160);
            this.btn0.Name = "btn0";
            this.btn0.Size = new System.Drawing.Size(32, 32);
            this.btn0.TabIndex = 0;
            this.btn0.TabStop = false;
            this.btn0.Text = "0";
            this.btn0.Click += new System.EventHandler(this.btn0_Click);
            // 
            // txtResult
            // 
            this.txtResult.Location = new System.Drawing.Point(8, 8);
            this.txtResult.Name = "txtResult";
            this.txtResult.Size = new System.Drawing.Size(160, 21);
            this.txtResult.TabIndex = 1;
            this.txtResult.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtResult.TextChanged += new System.EventHandler(this.txtResult_TextChanged);
            // 
            // Calculator1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize = new System.Drawing.Size(176, 237);
            this.Controls.Add(this.btnDecimal);
            this.Controls.Add(this.btnNegative);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品久久久久久久久久久久久久久久久 | 国产成人av一区二区三区在线观看| 欧美另类变人与禽xxxxx| 人妖欧美一区二区| 亚洲视频电影在线| 亚洲国产精品麻豆| 亚洲va韩国va欧美va| 国产精品一区二区免费不卡| 久久影院午夜论| 成人sese在线| 亚洲精品一二三| 欧美一级黄色片| 国产精品99久久久久| 中文字幕一区二区三区不卡在线 | 成人精品国产免费网站| 中文字幕亚洲欧美在线不卡| 91亚洲精品乱码久久久久久蜜桃 | 精品在线一区二区三区| 中文av一区二区| 欧美色视频一区| 精品一区二区三区在线播放视频| 久久精品一区二区三区不卡 | 欧美群妇大交群中文字幕| 精品一区二区三区久久| 国产精品久久久久精k8| 欧美日韩电影在线| 国产成人av一区二区三区在线观看| 亚洲少妇屁股交4| 日韩一区二区三区电影| 成人va在线观看| 日本欧美肥老太交大片| 中文字幕亚洲不卡| 欧美一区二区女人| 色婷婷av一区二区三区之一色屋| 男女男精品视频| 国产精品九色蝌蚪自拍| 欧美一卡2卡三卡4卡5免费| 播五月开心婷婷综合| 日韩av一级电影| 亚洲精选一二三| 久久综合视频网| 欧美高清性hdvideosex| 国产91清纯白嫩初高中在线观看| 午夜精品久久久久久久99水蜜桃| 亚洲国产精品精华液ab| 日韩一区二区精品葵司在线| 日本高清不卡aⅴ免费网站| 国产一区二区三区视频在线播放 | 蜜臀99久久精品久久久久久软件| 国产精品乱人伦中文| 日韩欧美www| 欧美精品丝袜久久久中文字幕| 成人激情免费网站| 国产在线精品免费| 免播放器亚洲一区| 亚洲一级二级三级在线免费观看| 国产精品色一区二区三区| 精品乱码亚洲一区二区不卡| 欧美久久一二三四区| 91原创在线视频| 成人涩涩免费视频| 国产一本一道久久香蕉| 另类中文字幕网| 免费高清成人在线| 日本麻豆一区二区三区视频| 亚洲一区二区三区四区在线观看| ●精品国产综合乱码久久久久| 国产日韩视频一区二区三区| 26uuu亚洲| 久久综合色鬼综合色| 日韩一区二区电影| 日韩精品一区在线| 欧美一区二区三区日韩视频| 91精品午夜视频| 91精选在线观看| 91精品国产综合久久精品性色 | av电影在线观看完整版一区二区| 国产一区二区伦理| 国产老肥熟一区二区三区| 精品一区二区三区欧美| 国产综合一区二区| 久久 天天综合| 国产一区二区在线影院| 国产成人夜色高潮福利影视| 高清不卡在线观看av| 成人涩涩免费视频| 91官网在线观看| 欧美日韩综合一区| 日韩欧美中文一区二区| 日韩美女天天操| 日本一区二区三区电影| 中文字幕中文字幕在线一区 | 国产亚洲一区二区三区四区| 国产日韩三级在线| 亚洲人成电影网站色mp4| 亚洲一区二区三区中文字幕在线| 日日噜噜夜夜狠狠视频欧美人| 美国av一区二区| 国产传媒日韩欧美成人| av一本久道久久综合久久鬼色| 欧美视频自拍偷拍| 日韩欧美国产电影| 国产精品久久福利| 午夜精品成人在线视频| 麻豆91在线播放| av中文字幕一区| 欧美色电影在线| 久久久亚洲精华液精华液精华液| 亚洲国产成人私人影院tom | 亚洲日本在线天堂| 日韩高清在线观看| 国产a久久麻豆| 精品视频1区2区| 337p日本欧洲亚洲大胆精品| 国产精品免费视频一区| 水蜜桃久久夜色精品一区的特点| 国产剧情在线观看一区二区| 欧美性猛交一区二区三区精品| 91.com视频| 成人欧美一区二区三区在线播放| 午夜电影一区二区三区| 国产ts人妖一区二区| 欧美绝品在线观看成人午夜影视 | 亚洲人xxxx| 国产在线精品视频| 欧美日韩国产系列| 国产精品传媒入口麻豆| 美美哒免费高清在线观看视频一区二区 | 国产成人av在线影院| 欧美日韩一区二区三区四区五区| 久久午夜国产精品| 亚洲国产一区视频| 国产成人8x视频一区二区| 精品视频资源站| 日韩理论在线观看| 国产一区二区91| 91精品国产欧美一区二区成人| 日本一区二区成人| 国内一区二区在线| 欧美群妇大交群的观看方式| 日韩一区欧美小说| 国产成人av电影在线| 精品人在线二区三区| 一区二区三区91| 成a人片亚洲日本久久| 久久久噜噜噜久噜久久综合| 日韩国产一区二| 欧美性生活一区| 亚洲蜜桃精久久久久久久| 懂色av中文一区二区三区| 日韩欧美一区二区在线视频| 亚洲综合一区二区精品导航| zzijzzij亚洲日本少妇熟睡| 精品粉嫩超白一线天av| 日本va欧美va瓶| 欧美精品在线一区二区三区| 亚洲国产视频一区| 色av一区二区| 亚洲色图一区二区三区| 波多野结衣精品在线| 中文在线一区二区| 国产成人夜色高潮福利影视| www成人在线观看| 韩国女主播一区| 久久精品亚洲一区二区三区浴池| 精品一区二区免费在线观看| 日韩欧美一二三| 老司机午夜精品| 精品精品国产高清a毛片牛牛| 视频一区中文字幕| 3d动漫精品啪啪1区2区免费| 日韩av网站免费在线| 日韩一区二区三区高清免费看看| 美女网站一区二区| 精品电影一区二区三区| 精品亚洲国内自在自线福利| 欧美大胆一级视频| 国产一区二区精品久久| 国产欧美一区视频| 成人午夜电影网站| 亚洲制服丝袜一区| 制服丝袜一区二区三区| 麻豆精品蜜桃视频网站| 国产亚洲精品超碰| 91蜜桃传媒精品久久久一区二区| 日韩伦理电影网| 欧美美女一区二区三区| 麻豆国产欧美一区二区三区| 国产亚洲欧美色| 91欧美激情一区二区三区成人| 亚洲在线中文字幕| 日韩精品一区二区三区四区 | 亚洲与欧洲av电影| 91精品欧美一区二区三区综合在| 久久国产精品99久久人人澡| 日本一区二区高清| 欧美日韩国产美女| 韩国女主播成人在线观看| 亚洲乱码中文字幕| 日韩欧美在线一区二区三区|