lushixiong
 public partial class 计算器 : Form
    {
        public 计算器()
        {
            InitializeComponent();
        }

        private void jsa_Click(object sender, EventArgs e)
        {
            int a = Convert.ToInt32(this.num1.Text.Trim());
            int b = Convert.ToInt32(this.num2.Text.Trim());
            this.sum.Text = (a + b).ToString();
        }
    }

 

分类:

技术点:

相关文章:

  • 2021-11-30
  • 2021-11-27
  • 2021-11-27
  • 2022-12-23
  • 2021-11-27
  • 2021-12-30
  • 2021-05-28
  • 2021-06-12
猜你喜欢
  • 2021-12-02
  • 2022-01-18
  • 2021-11-09
  • 2021-10-25
  • 2021-11-27
  • 2021-09-02
  • 2022-12-23
相关资源
相似解决方案