private void button3_Click(object sender, EventArgs e) { register reg = new register(); reg.Show(); this.Hide(); }
private void regist(object sender, RoutedEventArgs e) { this.Hide(); register register = new register(); if (register.ShowDialog() == false) { if (register.reguser == null) { } else { db.Users.Local.Add(register.reguser); db.SaveChanges(); } } this.Show(); }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { register form = new register(); form.Show(); }