示例#1
0
 public void ResetStatus()
 {
     countAll    = -1;
     current     = -1;
     currentName = "";
     status      = StatusProc.InProcess;
 }
示例#2
0
 public StatusIndicator()
 {
     countAll    = -1;
     current     = -1;
     currentName = "";
     status      = StatusProc.Error;
     sw          = Stopwatch.StartNew();
     progress    = new Progress <KVPair <object, PropertyChangedEventArgs> >(p => PropertyChanged(p.Key, p.Val));
 }