예제 #1
0
 /// <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;
 }
예제 #2
0
 internal void SetDragDrop(object data, DragDropEffect effects, Control dragSource)
 {
     this.CurrentDragEventArgs = new DragEventArgs(data, effects, dragSource);
 }