Example #1
0
 private void GetAnswer_Click(object sender, EventArgs e)
 {
     try
     {
         Lib_1.GetMyAnswer(table, (int)setRowToAnswer.Value, out summ, out mult);
         answerS.Text = summ.ToString();
         answerP.Text = mult.ToString();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Example #2
0
 private void GetAnswer_Click(object sender, EventArgs e)// событие рассчета по заданию.
 {
     Lib_1.CalculateMyTask(Table, out int summ);
     answer.Text = summ.ToString();
 }