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); }
protected uint RaiseProgressEvent(string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult) { uint newID = ProgressEventArgs.NewID(); OnProgress(newID, text, work, workStatus, workResult); return(newID); }
protected virtual void OnProgress(uint id, string text, WorkType work, WorkStatusType workStatus, WorkResultType workResult) { if (_rootModel != null) { _rootModel.RaiseProgressEvent(id, text, work, workStatus, workResult); } }