// ------------------------------------------------------------------- /// <summary> /// Called when the Choose... button is clicked to choose the projects /// to be submitted. /// </summary> /// <param name="sender"> /// The button that was clicked. /// </param> /// <param name="e"> /// The event arguments that describe the event. /// </param> private void chooseProjectsToSubmit_Click(object sender, EventArgs e) { ChooseProjectsToSubmitDialog dialog = new ChooseProjectsToSubmitDialog(serviceProvider, submittables); if (dialog.ShowDialog(this) == DialogResult.OK) { submittables = dialog.Selection; UpdateSubmittablesField(); UpdateNextEnablement(); } }
// ------------------------------------------------------------------- /// <summary> /// Called when the Choose... button is clicked to choose the projects /// to be submitted. /// </summary> /// <param name="sender"> /// The button that was clicked. /// </param> /// <param name="e"> /// The event arguments that describe the event. /// </param> private void chooseProjectsToSubmit_Click(object sender, EventArgs e) { ChooseProjectsToSubmitDialog dialog = new ChooseProjectsToSubmitDialog(serviceProvider, submittables); if (dialog.ShowDialog(this) == DialogResult.OK) { submittables = dialog.Selection; UpdateSubmittablesField(); UpdateNextEnablement(); } }