Exemple #1
0
 public FolderInventory(fMain mainForm, ResourceManager locRM, TreeView treeview)
 {
     //_mainForm = mainForm;
     _LocRM              = locRM;
     _treeview           = treeview;
     _log                = new List <string>(100);
     CancellationPending = false;
 }
Exemple #2
0
 public FolderInventory(fMain mainForm, ResourceManager locRM, TreeView treeview)
 {
     //_mainForm = mainForm;
     _LocRM = locRM;
     _treeview = treeview;
     _log = new List<string>(100);
     CancellationPending = false;
 }
Exemple #3
0
 public void StartTimer(fMain caller)
 {
     if (timer == null)
     {
         timer = new System.Windows.Forms.Timer();
         timer.Interval = 100;
         timer.Tick += (e, a) => TimerTick();
     }
     mainForm = caller;
     bStopScan.Enabled = true;
     dt0 = DateTime.Now;
     timer.Start();
 }
Exemple #4
0
 public void StartTimer(fMain caller)
 {
     if (timer == null)
     {
         timer          = new System.Windows.Forms.Timer();
         timer.Interval = 100;
         timer.Tick    += (e, a) => TimerTick();
     }
     mainForm          = caller;
     bStopScan.Enabled = true;
     dt0 = DateTime.Now;
     timer.Start();
 }