private void init(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     ID         = id;
     Text       = text;
     Work       = work;
     WorkStatus = workStatus;
     WorkResult = workResult;
 }
 private void init(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     ID = id;
     Text = text;
     Work = work;
     WorkStatus = workStatus;
     WorkResult = workResult;
 }
 protected uint RaiseProgressEvent(string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     uint newID = ProgressEventArgs.NewID();
     OnProgress(newID, text, work, workStatus, workResult);
     return newID;
 }
 protected void RaiseProgressEvent(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     OnProgress(id, text, work, workStatus, workResult);
 }
 protected virtual void OnProgress(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     if (_rootModel != null)
         _rootModel.RaiseProgressEvent(id, text, work, workStatus, workResult);
 }
 public ProgressEventArgs(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     init(id, text, work, workStatus, workResult);
 }
 internal void RaiseProgressEvent(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     if (OnProgress != null)
         OnProgress(this, new ProgressEventArgs(id, text, work, workStatus, workResult));
 }
 internal void RaiseProgressEvent(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     if (OnProgress != null)
     {
         OnProgress(this, new ProgressEventArgs(id, text, work, workStatus, workResult));
     }
 }
 public ProgressRoutedEventArgs(RoutedEvent routedEvent, object source,
     uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
     : base(routedEvent, source)
 {
     init(id, text, work, workStatus, workResult);
 }
예제 #10
0
        protected uint RaiseProgressEvent(string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
        {
            uint newID = ProgressEventArgs.NewID();

            OnProgress(newID, text, work, workStatus, workResult);
            return(newID);
        }
예제 #11
0
 protected void RaiseProgressEvent(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     OnProgress(id, text, work, workStatus, workResult);
 }
예제 #12
0
 protected virtual void OnProgress(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     if (_rootModel != null)
     {
         _rootModel.RaiseProgressEvent(id, text, work, workStatus, workResult);
     }
 }
예제 #13
0
 public ProgressRoutedEventArgs(RoutedEvent routedEvent, object source,
                                uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
     : base(routedEvent, source)
 {
     init(id, text, work, workStatus, workResult);
 }
예제 #14
0
 public ProgressEventArgs(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult)
 {
     init(id, text, work, workStatus, workResult);
 }