コード例 #1
0
ファイル: MainForm.cs プロジェクト: hoangker/CCTB-445
        private void aboutThisAppToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //TODO: 1) Open the AboutApp form as a dialog window.
            AboutApp aboutApp = new AboutApp();

            aboutApp.ShowDialog();
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: csjawahar/CCTB-445
        private void aboutThisAppToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //TODO: About
            AboutApp theform = new AboutApp();

            theform.Text = "Glad you asked!";
            theform.ShowDialog(); //we pause till the aboutapp form is closed.
            MessageBox.Show("Thanks for asking!");
        }
コード例 #3
0
        private void aboutThisAppToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // TODO: 1) Open the AboutApp form as a dialog window
            AboutApp theForm = new AboutApp();

            theForm.Text = "Glad you asked!";
            theForm.ShowDialog(); // we pause in this method until the AboutApp form is closed

            MessageBox.Show("Thanks for asking!");
        }