Esempio n. 1
0
        /// <summary>
        /// 我是加法
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            Mycla Num = new Mycla();


            labAns.Text = (int.Parse(txtnum1.Text) + int.Parse(txtnum2.Text)).ToString();

            //int unm1 = txtnum1.Text.ToString();
            //int unm2 = txtnum2.Text.ToString();
            //MessageBox.Show(txtans.ToString());
            //txtans.Text = txtnum1 + txtnum2;
        }
Esempio n. 2
0
        private void button5_Click(object sender, EventArgs e)
        {
            Mycla newform = new Mycla();

            newform.Show();
        }