/// <summary> /// Raises the SubMarkClicpClicked event. /// </summary> /// <param name="scrubShiftType">The event data.</param> private void OnSetSubMarkClipClicked(ScrubShiftType scrubShiftType) { EventHandler <DataEventArgs <ScrubShiftType> > clicked = this.SetSubMarkClipClicked; if (clicked != null) { clicked(this, new DataEventArgs <ScrubShiftType>(scrubShiftType)); } }
/// <summary> /// Initializes a new instance of the <see cref="ScrubPositionChangeEventArgs"/> class. /// </summary> /// <param name="shiftType">Type of the shift.</param> public ScrubPositionChangeEventArgs(ScrubShiftType shiftType) { this.ShiftType = shiftType; }