Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            WCFAbout mainForm = new WCFAbout();

            mainForm.StartPosition = FormStartPosition.CenterScreen;
            mainForm.Show();
        }
Esempio n. 2
0
 private void btnWCFAbout_Click(object sender, EventArgs e)
 {
     if (mWCFAbout == null)
     {
         mWCFAbout = new WCFAbout();
         mWCFAbout.StartPosition = FormStartPosition.CenterScreen;
         mWCFAbout.Show();
     }
     else
     {
         mWCFAbout.Activate();
         mWCFAbout.WindowState = FormWindowState.Normal;
     }
 }