public ServerForm() { InitializeComponent(); thisWindow = this; onOpen(); textBox1.Focus(); }
private void button1_Click(object sender, EventArgs e) { ServerForm s = new ServerForm(); s.Show(); this.Hide(); }