private void btnCreate_Click(object sender, EventArgs e) { this.Hide(); string password = txtPassword.Text; mainForm.createTM(password); exit(); }