Exemplo n.º 1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     DealWizzard dw = new DealWizzard();
     Globals.SyncLock = true;
     try
     {
         if (dw.ShowDialog() == true)
             Refresh();
     }
     catch (Exception ex)
     {
     }
     finally
     {
         Globals.SyncLock = false;
     }
 }
Exemplo n.º 2
0
 public override bool DefaultAction()
 {
     DealWizzard dw = new DealWizzard(ExternalDealId,ExternalDealName,partner,ProductsPrice);
     if (dw.ShowDialog() == true)
     {
         Globals._tasks.Remove(this);
         return true;
     }
     return false;
 }