Esempio n. 1
0
        private void drag_drop(object sender, DragEventArgs e, Button add, Button ins)
        {
            var handler = (BoxExchangeEditor.GetDragHitItem(sender, e) == null ? add : ins);

            handler.RaiseEvent(new RoutedEventArgs(Button.ClickEvent));
        }