Пример #1
0
        private void btnAbout_Click(object sender, EventArgs e)
        {
            AboutForm frmAbout = new AboutForm();

            frmAbout.Show();
            frmAbout.Activate();
        }
Пример #2
0
        public static void ShowAboutForm()
        {
            if (frmAboutForm != null && !frmAboutForm.IsDisposed)
            {
                frmAboutForm.Activate();
                return;
            }

            frmAboutForm = new AboutForm();
            frmAboutForm.Show();
            frmAboutForm.Activate();

        }
Пример #3
0
 private void aboutButton_Click(object sender, EventArgs e)
 {
     if (af != null) af.Close();
     af = new AboutForm();
     af.Activate();
     af.Show();
 }