C# VS2005 计算器 示例代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace jisuanqi { public partial class mainForm : Form { double num1, num2, result; char oper; bool next = false; bool pressPoint = false; String str; String original; public mainForm() { InitializeComponent(); } private void ResultText_TextCh anged(object sender, EventArgs e) { } private void button00_Click(object sender, EventArgs e)