Esempio n. 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);
     }
 }
 /// <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);
 }
Esempio n. 3
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;
        }
Esempio n. 4
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;
        }