Ejemplo n.º 1
0
 private void MainWindowCommandButtonHandler_ShowMessagingDialog(object sender, EventArgs e)
 {
     if(this.ListViewAccessionOrders.SelectedItem != null)
     {
         AppMessaging.MessagingDialog dialog = new AppMessaging.MessagingDialog();
         AppMessaging.LockRequestPage page = new AppMessaging.LockRequestPage(this.m_LoginUI.AccessionOrder);
         dialog.PageNavigator.Navigate(page);
         dialog.Show();
     }
 }
Ejemplo n.º 2
0
 private void Instance_RequestReceived(object sender, UI.CustomEventArgs.MessageReturnEventArgs e)
 {
     this.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Input, new System.Threading.ThreadStart(delegate ()
     {
         if (this.m_MessagingDialog == null) this.m_MessagingDialog = new AppMessaging.MessagingDialog();
         AppMessaging.LockRequestPage messagingPage = new AppMessaging.LockRequestPage(e.Message);
         this.m_MessagingDialog.PageNavigator.Navigate(messagingPage);
         this.m_MessagingDialog.Show();
     }
     ));
 }