Exemplo n.º 1
0
 // This button is used to open the Register window
 private void Button_Register_Click(object sender, RoutedEventArgs e)
 {
     Register register = new Register(this);
     register.Show();
 }
Exemplo n.º 2
0
 // Button is used to open a Register window
 private void Button_Register_Click(object sender, RoutedEventArgs e)
 {
     Register register = new Register(this);
     register.Visibility = System.Windows.Visibility.Visible;
     this.Visibility = System.Windows.Visibility.Hidden;
 }