C#编写的windows计算器-源代码// // btn_1 // this.btn_1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btn_1.ForeColor = System.Drawing.Color.Blue; this.btn_1.Location = new System.Drawing.Point(18, 112); this.btn_1.Name = "btn_1"; this.btn_1.Size = new System.Drawing.Size(36, 29); this.btn_1.TabIndex = 29; this.btn_1.Tag = "1"; this.btn_1.Text = "1"; this.btn_1.Click += new System.EventHandler(this.btn_0_Click); // // btn_6 // this.btn_6.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btn_6.ForeColor = System.Drawing.Color.Blue; this.btn_6.Location = new System.Drawing.Point(98, 80); this.btn_6.Name = "btn_6"; this.btn_6.Size = new System.Drawing.Size(36, 29); this.btn_6.TabIndex = 28; this.btn_6.Tag = "6"; this.btn_6.Text = "6"; this.btn_6.Click += new System.EventHandler(this.btn_0_Click); // // btn_5 // this.btn_5.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btn_5.ForeColor = System.Drawing.Color.Blue; this.btn_5.Location = new System.Drawing.Point(58, 80); this.btn_5.Name = "btn_5"; this.btn_5.Size = new System.Drawing.Size(36, 29); this.btn_5.TabIndex = 27; this.btn_5.Tag = "5"; this.btn_5.Text = "5"; this.btn_5.Click += new System.EventHandler(this.btn_0_Click); // // btn_4 // this.btn_4.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.btn_4.ForeColor = System.Drawing.Color.Blue; this.btn_4.Location = new System.Drawing.Point(18, 80); this.btn_4.Name = "btn_4"; this.btn_4.Size = new System.Drawing.Size(36, 29); this.btn_4.TabIndex = 26; this.btn_4.Tag = "4"; this.btn_4.Text = "4"; 上一篇:C#中实现DataGrid双向排序 下一篇:用C#生成中文汉字验证码的基本原理 更多相关文章
|
推荐文章
精彩文章
|