Exemple #1
0
 private void button1_Click_1(object sender, EventArgs e)
 {
     if (proxyForm != null)
     {
         proxyForm.Activate();
     }
     else
     {
         proxyForm = new ProxyForm(controller);
         proxyForm.Show();
         proxyForm.Activate();
         proxyForm.FormClosed += tmp_proxyForm_FormClosed;
     }
 }
 private void ShowProxyForm()
 {
     if (proxyForm != null)
     {
         proxyForm.Activate();
     }
     else
     {
         proxyForm = new ProxyForm(controller);
         proxyForm.Show();
         proxyForm.FormClosed += proxyForm_FormClosed;
     }
 }
 private void ShowProxyForm()
 {
     if (proxyForm != null)
     {
         proxyForm.Activate();
     }
     else
     {
         proxyForm = new ProxyForm(controller);
         proxyForm.Show();
         proxyForm.Activate();
         proxyForm.FormClosed += proxyForm_FormClosed;
     }
 }