예제 #1
0
 /// <summary>
 /// The event that is being raised when a drag starts
 /// </summary>
 /// <param name="e">the DragEnterEventArgs for the event</param>
 private void OnDragStart(DragEnterEventArgs e)
 {
     if (DragStart != null)
     {
         DragStart(this, e);
     }
 }
예제 #2
0
        /// <summary>
        /// When an item is being dragged from the browser this method will set the dragStartControl to the
        /// Control from which it is being dragged. And the drop wrappers will also be informed.
        /// </summary>
        void DragWrapper_DragStart(object sender, DragEnterEventArgs e)
        {
            dragStartControl = e.DragStartControl;

            tvDropWrapper.ParentDragItem = e.Parent;
            lvDropWrapper.ParentDragItem = e.Parent;
        }
예제 #3
0
 /// <summary>
 /// The event that is being raised when a drag starts
 /// </summary>
 /// <param name="e">the DragEnterEventArgs for the event</param>
 private void OnDragStart(DragEnterEventArgs e)
 {
     if (DragStart != null)
         DragStart(this, e);
 }