/// <summary> /// Opens the Learning Options Dialog! /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> /// <remarks>Documented by Dev07, 2009-04-09</remarks> private void toolStripMenuItemCustom_Click(object sender, EventArgs e) { if (!learnLogic.UserSessionAlive) return; UpdateToolStripLearningModes(); QueryOptionsForm frmOptions = new QueryOptionsForm(); frmOptions.showLearningModesTab(); if (frmOptions.ShowDialog() == DialogResult.OK) { OnLMOptionsChanged(); } }
/// <summary> /// Handles the Click event of the learningOptionsToolStripMenuItem control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> /// <remarks>Documented by Dev02, 2008-04-25</remarks> private void learningOptionsToolStripMenuItem_Click(object sender, EventArgs e) { if (!learnLogic.UserSessionAlive) return; QueryOptionsForm frmOptions = new QueryOptionsForm(); if (frmOptions.ShowDialog() == DialogResult.OK) { OnLMOptionsChanged(); } }