public FxStatusChangeEventArgs(FxStatus oldStatus, FxStatus newStatus, StatusChangeDriver driver, int progressPercentage, object userState) : base(progressPercentage, userState) { NewStatus = newStatus; OldStatus = oldStatus; ChangeDriver = driver; }
public FxStatusChangeEventArgs(FxStatus oldStatus, FxStatus newStatus, StatusChangeDriver driver) : base(0, null) { NewStatus = newStatus; OldStatus = oldStatus; ChangeDriver = driver; }
public FxStatusChangeEventArgs(FxStatus oldStatus, FxStatus newStatus, StatusChangeDriver driver, string message) : base(0, null) { NewStatus = newStatus; OldStatus = oldStatus; ChangeDriver = driver; Message = message; }
/// <summary> /// Updates the <see cref="Status"/>. If the new status is the same as the old status, no action is taken. If there /// is a change, the status is updated and the <see cref="StatusChanged"/> event is fired. If you do not want /// the StatusChanged event fired use the <see cref="Status"/> property directly. /// </summary> /// <param name="status">The new status value.</param> /// <param name="changeDriver">Reason the status changed.</param> /// <param name="mssg">Any message</param> internal void UpdateStatus(FxStatus status, StatusChangeDriver changeDriver, string mssg) { if (Status != status) { FxStatus oldStatus = Status; FxStatus newStatus = status; Status = newStatus; OnStatusChanged(new FxStatusChangeEventArgs(oldStatus, newStatus, changeDriver, mssg)); } }
public FxCompletedEventArgs(Guid fxId, FxStatus status, StatusChangeDriver driver, Exception e, bool canceled, object state) : base(e, canceled, state) { }
public void UpdateFxStatus(FxStatus status) { //labelControl2.Text = string.Format("Fx status = {0}", status); }
public void SetStatus(FxStatus status, StatusChangeDriver changeDriver, string mssg) { throw new Exception("The method or operation is not implemented."); }
public FxStatusChangeEventArgs(FxStatus oldStatus, FxStatus newStatus) : base(0, null) { NewStatus = newStatus; OldStatus = oldStatus; }