Esempio n. 1
0
        public void ShowUI()
        {
            ContactWindow win = new ContactWindow();

            win.Show();
            parent.Close();
        }
 public ContactWindow()
 {
     InitializeComponent();
     RemoveGroupBarOverFlowButton();
     _contactWindow      = this;
     popUpMessage.IsOpen = false;
 }
Esempio n. 3
0
 void ShowWindow(bool showLogin)
 {
     Dispatcher.BeginInvoke(new Action(() =>
     {
         if (showLogin)
         {
             Login login = new Login();
             login.Show();
         }
         else
         {
             ContactWindow win = new ContactWindow();
             win.Show();
         }
         this.Close();
     }), DispatcherPriority.Background);
 }