示例#1
0
        public void ShowUI()
        {
            ContactWindow win = new ContactWindow();

            win.Show();
            parent.Close();
        }
 public ContactWindow()
 {
     InitializeComponent();
     RemoveGroupBarOverFlowButton();
     _contactWindow      = this;
     popUpMessage.IsOpen = false;
 }
示例#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);
 }