Пример #1
0
 protected override void OnDeactivate(bool close)
 {
     AddressSelector.OnDeactivate();
     if (close)
     {
         LastSelectedLine = CurrentReportLine.Value?.BatchLine?.Id ?? 0;
         if (Settings.Value.GetVarRoot() != lastUsedDir)
         {
             Shell.PersistentContext["BatchDir"] = lastUsedDir;
         }
     }
     base.OnDeactivate(close);
 }
 protected override void OnDeactivate(bool close)
 {
     AddressSelector.OnDeactivate();
     base.OnDeactivate(close);
 }