예제 #1
0
        private void déconnexionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            Authentification a = new Authentification();

            a.Show();
        }
예제 #2
0
        public void Logout()
        {
            var authentificationWindow = new Authentification();
            var activeWindow           = Application.Current.Windows.OfType <Window>().SingleOrDefault(x => x.IsActive);

            authentificationWindow.Show();
            activeWindow.Close();
        }
예제 #3
0
 private void MetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     try
     {
         Authentification cl = new Authentification();
         cl.Show();
     }
     catch (Exception ex)
     {
         MessageBoxResult resultc10 = Xceed.Wpf.Toolkit.MessageBox.Show(ex.Message, Medicus.Properties.Resources.SiteWeb, MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }
예제 #4
0
 private void button8_Click(object sender, EventArgs e)
 {
     authentification.Show();
     this.Close();
 }