예제 #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";
 }