Beispiel #1
0
        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);
        }
Beispiel #2
0
 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);
 }