Beispiel #1
0
 private void Set(ShipmentApplicaotinHelperType name, ShipmentAutomationMapBase map)
 {
     if (!ApplicationMapObjects.ContainsKey(name))
     {
         ApplicationMapObjects.Add(name, map);
     }
 }
Beispiel #2
0
 protected void OnTimerElapsed(ShipmentAutomationMapBase automationMap)
 {
     if (!automationMap.IsMainWindowReadyForUserInteraction())
     {
         IsWarnDialogFired = true;
         automationMap.CloseModalWindowsWait();
     }
 }
Beispiel #3
0
 protected void StartTimer(ShipmentAutomationMapBase automationMap)
 {
     IsWarnDialogFired = false;
     Timer             = new Timer {
         Interval = 70, AutoReset = true
     };
     Timer.Elapsed += (sender, args) => OnTimerElapsed(automationMap);
     Timer.Start();
 }