示例#1
0
 private void QuotientBtn_Click(object sender, EventArgs e)
 {
     num = float.Parse(AnswerTxb.Text);
     AnswerTxb.Focus();
     AnswerTxb.Clear();
     count       = 4;
     label1.Text = num.ToString() + "/";
 }
示例#2
0
 private void MultiplyBtn_Click(object sender, EventArgs e)
 {
     num = float.Parse(AnswerTxb.Text);
     AnswerTxb.Focus();
     AnswerTxb.Clear();
     count       = 3;
     label1.Text = num.ToString() + "x";
 }