Beispiel #1
0
 public void showRegisterLoginUI()
 {
     // RegiserLoginUI
     RegisterLoginUI = new RegisterLogin();
     RegisterLoginUI.LoginEvent += new EventHandler<LoginEventArgs>(RegisterLoginUI_LoginEvent);
     //RegisterLoginUI.Owner = this; 
     this.Hide();            
     RegisterLoginUI.Show();
 }
Beispiel #2
0
 private void BtnLogout_Click(object sender, RoutedEventArgs e)
 {
     LoginName = null;
     // RegiserLoginUI
     RegisterLoginUI = new RegisterLogin();
     RegisterLoginUI.LoginEvent += new EventHandler<LoginEventArgs>(RegisterLoginUI_LoginEvent);
     RegisterLoginUI.Owner = this; 
     this.Hide();
     RegisterLoginUI.Show();
 }