private void btnProxy_Click(object sender, EventArgs e) { ProxyForm proxyForm = new ProxyForm(); this.Hide(); proxyForm.ShowDialog(); this.Show(); }
private void btnProxy_Click(object sender, EventArgs e) { ProxyForm form = new ProxyForm(); if (form.ShowDialog() == DialogResult.OK) { } form.Dispose(); }
private void ProxyButton_Click(object sender, EventArgs e) { ProxyForm m = new ProxyForm(); m.TopLevel = false; m.AutoScroll = true; ContentPanel.Controls.Clear(); ContentPanel.Controls.Add(m); m.Dock = DockStyle.Fill; m.Show(); }
private void ProxyPatternBtn_Click(object sender, EventArgs e) { Form proxyPattern = new ProxyForm(); proxyPattern.Show(); }