示例#1
0
        private void On_Drop(object sender, DragEventArgs e)
        {
            var data = e.Data.GetData(typeof(DragProcessor.DragElement)) as DragProcessor.DragElement;

            if (data == null || data.FirstElement == null)
            {
                return;
            }
            if (data.FirstElement.GetType() == typeof(Node))
            {
                DragProcessor.DoDrag(sender, e);
                e.Handled = true;
            }
        }
示例#2
0
 private void Tag00_OnDrop(object sender, DragEventArgs e)
 {
     DragProcessor.DoDrag(this, e);
 }
示例#3
0
 private void On_Drop(object sender, DragEventArgs e)
 {
     DragProcessor.DoDrag(ctrlField, e);
 }