/// <summary> /// Handles the Regular Expressions button being clicked. /// </summary> /// <param name="sender"> /// The sender of the event. /// </param> /// <param name="e"> /// The arguments of the event. /// </param> private void RegExButtonClick(object sender, EventArgs e) { var listController = new ListController(regularExpressions, "Regular Expressions"); var dialog = new ListDialog(listController); if (dialog.ShowDialog(this) == DialogResult.OK) { regularExpressions = listController.List.ToList(); } }
/// <summary> /// Handles the Alternate names button being clicked. /// </summary> /// <param name="sender"> /// The sender of the event. /// </param> /// <param name="e"> /// The arguments of the event. /// </param> private void AlternateNamesButtonClick(object sender, EventArgs e) { var listController = new ListController(alternateNames, "Alternate Names"); var dialog = new ListDialog(listController); if (dialog.ShowDialog(this) == DialogResult.OK) { alternateNames = listController.List.ToList(); } }
/// <summary> /// Handles the File Extensions button being clicked. /// </summary> /// <param name="sender"> /// The sender of the event. /// </param> /// <param name="e"> /// The arguments of the event. /// </param> private void FileExtensionsButtonClick(object sender, EventArgs e) { var listController = new ListController(fileExtensions, "File Extensions"); var dialog = new ListDialog(listController); if (dialog.ShowDialog(this) == DialogResult.OK) { fileExtensions = listController.List.ToList(); } }
/// <summary> /// Handles the click event of the Edit Overwrite Keywords button. /// </summary> /// <param name="sender"> /// The sender of the event. /// </param> /// <param name="e"> /// The arguments of the event. /// </param> private void EditOverwriteKeywordsButtonClick(object sender, EventArgs e) { var listController = new ListController(overwriteKeywords, "Overwrite keywords"); var dialog = new ListDialog(listController); if (dialog.ShowDialog(this) == DialogResult.OK) { overwriteKeywords = listController.List.ToList(); } }
/// <summary> /// Handles the Alternatee names button being clicked. /// </summary> /// <param name="sender"> /// The sender of the event. /// </param> /// <param name="e"> /// The arguments of the event. /// </param> private void AlternateNamesButtonClick(object sender, EventArgs e) { var listController = new ListController(this.alternateNames, "Alternate Names"); var dialog = new ListDialog(listController); if (dialog.ShowDialog(this) == DialogResult.OK) { this.alternateNames = listController.List.ToList(); } }
/// <summary> /// Handles the Regular Expressions button being clicked. /// </summary> /// <param name="sender"> /// The sender of the event. /// </param> /// <param name="e"> /// The arguments of the event. /// </param> private void RegExButtonClick(object sender, EventArgs e) { var listController = new ListController(this.regularExpressions, "Regular Expressions"); var dialog = new ListDialog(listController); if (dialog.ShowDialog(this) == DialogResult.OK) { this.regularExpressions = listController.List.ToList(); } }
/// <summary> /// Handles the File Extensions button being clicked. /// </summary> /// <param name="sender"> /// The sender of the event. /// </param> /// <param name="e"> /// The arguments of the event. /// </param> private void FileExtensionsButtonClick(object sender, EventArgs e) { var listController = new ListController(this.fileExtensions, "File Extensions"); var dialog = new ListDialog(listController); if (dialog.ShowDialog(this) == DialogResult.OK) { this.fileExtensions = listController.List.ToList(); } }
/// <summary> /// Handles the click event of the Edit Overwrite Keywords button. /// </summary> /// <param name="sender"> /// The sender of the event. /// </param> /// <param name="e"> /// The arguments of the event. /// </param> private void EditOverwriteKeywordsButtonClick(object sender, EventArgs e) { var listController = new ListController(this.overwriteKeywords, "Overwrite keywords"); var dialog = new ListDialog(listController); if (dialog.ShowDialog(this) == DialogResult.OK) { this.overwriteKeywords = listController.List.ToList(); } }