/// <summary> /// This function is internal to the Jean for Hansoft framework and should not be called directly. /// </summary> /// <param name="_Data">The detailed information of the change.</param> public override void On_TaskChangeDisposition(HPMChangeCallbackData_TaskChangeDisposition _Data) { base.On_TaskChangeDisposition(_Data); if (BufferEvents) { lock (eventBuffer) { eventBuffer.Add(new TaskMoveEventArgs(_Data)); } } else { if (TaskMove != null) { TaskMove(this, new TaskMoveEventArgs(_Data)); } } }
internal TaskMoveEventArgs(HPMChangeCallbackData_TaskChangeDisposition data) { this.data = data; }
/// <summary> /// This function is internal to the Jean for Hansoft framework and should not be called directly. /// </summary> /// <param name="_Data">The detailed information of the change.</param> public override void On_TaskChangeDisposition(HPMChangeCallbackData_TaskChangeDisposition _Data) { base.On_TaskChangeDisposition(_Data); if (BufferEvents) { lock (eventBuffer) { eventBuffer.Add(new TaskMoveEventArgs(_Data)); } } else { if (TaskMove != null) TaskMove(this, new TaskMoveEventArgs(_Data)); } }