private void helpToolStripMenuItem_Click(object sender, EventArgs e) { HelpCenter hc = new HelpCenter(); hc.FormClosing += (a, b) => { if (!String.IsNullOrEmpty(hc.ChosenOne)) { functions.Text = hc.ChosenOne; functions.Focus(); } }; hc.StartPosition = FormStartPosition.CenterParent; hc.ShowDialog(this); }
private void helpToolStripMenuItem_Click(object sender, EventArgs e) { HelpCenter hc = new HelpCenter(); hc.FormClosing += (a, b) => { if (!String.IsNullOrEmpty(hc.ChosenOne)) { functions.Text = hc.ChosenOne; functions.Focus(); } }; hc.StartPosition = FormStartPosition.CenterParent; hc.ShowDialog(this); }