Exemple #1
0
 private void BtnMul_Click(object sender, RoutedEventArgs e)
 {
     if (IsInputValid())
     {
         Mul?.Invoke(this, new ButtonClickEventArgs(Model.Operations.Mul));
     }
 }
Exemple #2
0
 private void mul_Click(object sender, EventArgs e)
 {
     FirstNum  = boxFirstNum.Text;
     SecondNum = boxSecondNum.Text;
     Mul.Invoke(sender, e);
     boxSecondNum.Text     = "Результат = " + MulResult;
     boxFirstNum.Text      = "Умножаем " + FirstNum + " на " + SecondNum;
     boxSecondNum.ReadOnly = true;
     boxFirstNum.ReadOnly  = true;
     lowLevelLog.Text      = LowLog;
     mul.Enabled           = false;
 }