예제 #1
0
 private void ClearButton_Click(object sender, EventArgs e)
 {
     FirstNumberTextBox.Clear();
     SecondNumberTextBox.Clear();
     DoubleTextBox.Clear();
     DecimalTextBox.Clear();
 }
        private void ClearButton_Click(object sender, EventArgs e)
        {
            FirstNumberTextBox.Clear();
            SecondNumberTextBox.Clear();
            ResultTextBox.Clear();

            FirstNumberTextBox.Focus();
            AdditionRadioButton.Checked = true;
        }
예제 #3
0
 private void DivNumberButton_Click(object sender, EventArgs e)
 {
     ResultTextBox.Text = (double.Parse(FirstNumberTextBox.Text) / double.Parse(SecondNumberTextBox.Text)).ToString();
     FirstNumberTextBox.Clear();
     SecondNumberTextBox.Clear();
 }