예제 #1
0
파일: Form1.cs 프로젝트: Mnrikard/Clippy
        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);
        }
예제 #2
0
파일: Form1.cs 프로젝트: acbeard/Clippy
 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);
 }