protected void Init(int nTskID, enRunState RunSta, enMessageState MsgSta, string sTxt, int nStep = Global.IntegerNull, int nCnt = Global.IntegerNull)
 {
     //--- Set the parameters
     TaskID       = nTskID;
     RunState     = RunSta;
     MessageState = MsgSta;
     Text         = sTxt;
     Step         = nStep;
     Count        = nCnt;
     TimeStamp    = DateTime.Now;
 }
 public ProgressMessage
 (
     int nTskID,
     enRunState RunSta     = enRunState.None,
     enMessageState MsgSta = enMessageState.None,
     string sTxt           = null,
     int nStep             = Global.IntegerNull,
     int nCnt = Global.IntegerNull
 )
 {
     Init(nTskID, RunSta, MsgSta, sTxt, nStep, nCnt);
 }