public ClientForm() { InitializeComponent(); thisWindow = this; OnOpen(); textBox1.Focus(); }
private void button2_Click(object sender, EventArgs e) { ClientForm cl = new ClientForm(); cl.Show(); this.Hide(); }