/// <summary> /// Initializes a new instance of the <see cref="DragEventArgs"/> class. /// </summary> /// <param name="data">The data.</param> /// <param name="effect">The effect.</param> /// <param name="dragSource">The drag source.</param> public DragEventArgs(object data, DragDropEffect effect, Control dragSource) { this.Data = data; this.Effect = effect; this.DragSource = dragSource; }
internal void SetDragDrop(object data, DragDropEffect effects, Control dragSource) { this.CurrentDragEventArgs = new DragEventArgs(data, effects, dragSource); }