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