Exemplo n.º 1
0
        private void addButton_Click(object sender, EventArgs e)
        {
            ParentForm.AddExerciseToProgram(exerciseNameTextBox.Text, (int)setCountNumericUpDown.Value, (int)repeatsCountNumericUpDown.Value);

            this.Close();
        }