Пример #1
0
 public void UpdateOnAsuntosWithoutAssignation()
 {
     Dispatcher.BeginInvoke((Action)(() =>
     {
         if (frmBatchAddAsunto != null)
         {
             frmBatchAddAsunto.Close();
             frmBatchAddAsunto = null;
         }
         getAsuntosWithoutAssignation();
     }));
 }
Пример #2
0
 private void txtAssignStackAsunto_MouseDown(object sender, MouseButtonEventArgs e)
 {
     if (lstAsuntosWithoutAssign.Count > 0)
     {
         // Generate a new instance of Batch add
         frmBatchAddAsunto = new frmAddBatchAsunto(lstDetailedOperators.GetOperatorListReadyToReceive(), lstAsuntosWithoutAssign, balanceOfOperators);
         // Configures owner of window
         frmBatchAddAsunto.Owner = this;
         // Configure window related on parent
         frmBatchAddAsunto.WindowStartupLocation = WindowStartupLocation.CenterOwner;
         // Show dialog
         frmBatchAddAsunto.ShowDialog();
     }
 }