コード例 #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);
 }