C#控制台计算器代码.docxVIP

  • 4
  • 0
  • 约5.52千字
  • 约 6页
  • 2019-06-11 发布于广东
  • 举报
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using Systcm.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Caculator ( public partial class Form 1 : Form { public string okl; public int OperationType; public double okl l, okl2; public Form 1() { lnitializeComponent(); private void button 1 _Click(object sender, EventArgs e) 〃退格 ( J if (textBoxl.Text == || textBoxl.Text == H0H) { textBoxl.Text =tM,; 1 else { okll = Convert.ToDouble(textBox 1 .Text); okl = Convert.ToString((okll - okll % 10)/10); textBoxl.Tex

文档评论(0)

1亿VIP精品文档

相关文档