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); } }
private void GetAnswer_Click(object sender, EventArgs e)// событие рассчета по заданию. { Lib_1.CalculateMyTask(Table, out int summ); answer.Text = summ.ToString(); }