private void button2_Click(object sender, EventArgs e) { Register logoutForm = new Register(); logoutForm.Show(); Hide(); }
private void RegisterButton_Click(object sender, EventArgs e) { Register registerForm = new Register(this, ctrl); this.Hide(); registerForm.Show(); //this.Close(); }
/* * @dev function register the user by sending data. */ private void regBtn_Click(object sender, EventArgs e) { Register register = new Register(); register.Show(); //@dev windows pop up when being pressed. register window contains user, name, last. //Msg regMsg = new Msg(3, null, null, null, null, null, msgField.Text); //transmitData(regMsg); }
private void register_Click(object sender, EventArgs e) { Register reg = new Register(); reg.Show(); }