/// <summary>
        /// Call to the login window.
        /// </summary>
        public void CallLogin()
        {
            LoginWin Login = new LoginWin();

            this.Close();
            Login.Show();
        }
Exemple #2
0
        private void btnOSBLELogin_Click(object sender, RoutedEventArgs e)
        {
            LoginWin lw = new LoginWin();

            lw.LoginAttemptCompleted += new EventHandler(OSBLELoginAttemptCompleted);
            //lw.LoginAttemptCompleted += new LoginWindow.LoginAttemptCompletedDelegate(OSBLELoginAttemptCompleted);
            lw.Show();
        }
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (MessageBoxResult.Yes == MessageBox.Show("Oturumu kapatmak istiyor musunuz?", "", MessageBoxButton.YesNo, MessageBoxImage.Question))
     {
         LoginWin win = new LoginWin();
         win.Show();
         Close();
     }
 }
        private void LogOut(object sender, RoutedEventArgs e)
        {
            LoginWin win = new LoginWin();

            win.Show(); Close();
        }