Esempio n. 1
0
        private void aboutThisAppToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //TODO: 1) Open the AboutApp form as a dialog window.
            AboutApp aboutApp = new AboutApp();

            aboutApp.ShowDialog();
        }
Esempio n. 2
0
        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!");
        }
Esempio n. 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!");
        }