C# 计算器
来源:百度知道 编辑:UC知道 时间:2024/05/30 06:47:34
(累加以及混合算法优先)
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace user
{
/// <summary>
/// Form1 的摘要说明。
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.TextBox txtExp;
private System.Windows.Forms.Button btn1;
private System.Windows.Forms.Button btnReverse;
private System.Windows.Forms.Button btnDot;
private System.Windows.Forms.Button btn0;
private System.Windows.Forms.Button btn9;
private System.Windows.Forms.Button btn8;
private System.Windows.Forms.Button btn7;
private System.Windows.Forms.Button btn6;
private System.Windows.Forms.Button btn5;
private System.Windows.Forms.Button btn4;
private System.Windows.Forms.Button btn3;
private System.Windows.Forms.Button btn2;
private S