示例#1
0
 private void proceedBtn_Click(object sender, EventArgs e)
 {
     try
     {
         TaskForm taskScreen = new TaskForm();
         taskScreen.objectsCount    = Convert.ToInt32(objectsTextBox.Text);
         taskScreen.parametersCount = Convert.ToInt32(parametersTextBox.Text);
         taskScreen.FillGrid();
         taskScreen.SetSettings();
         taskScreen.Show();
     } catch (Exception err)
     {
         MessageBox.Show(err.Message);
     }
 }