private void ShowProxyForm() { if (proxyForm != null) { proxyForm.Activate(); } else { proxyForm = new ProxyForm(controller); proxyForm.Show(); proxyForm.FormClosed += proxyForm_FormClosed; } }
private void button4_Click(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; } }