private void customSetupButton_Click(object sender, EventArgs e) { if (customServerForm == null) customServerForm = new AddCustomServerForm(form, this); if (!customServerForm.Visible) customServerForm.Show(); }
public AddServerForm(Form1 form) { InitializeComponent(); this.form = form; simpleServerForm = new AddSimpleServerForm(form, this); customServerForm = new AddCustomServerForm(form, this); }
private void customSetupButton_Click(object sender, EventArgs e) { if (customServerForm == null) { customServerForm = new AddCustomServerForm(form, this); } if (!customServerForm.Visible) { customServerForm.Show(); } }