摘要: //简单计算器(加法): 1 private void button1_Click(object sender, EventArgs e) 2 { 3 string str1 = textBox1.Text; 4 string str2 = textBox2.Text; 5 int i1, i2;//接受值 6 if (int.TryParse(str1, out i1)) 7 { 8 MessageBox.Show("第一个数... 阅读全文
posted @ 2013-06-16 14:13 -112 阅读(334) 评论(0) 推荐(0) 编辑