TreeView customized to work with KryptonPage drag and drop.
Inheritance: System.Windows.Forms.TreeView, IDragTargetProvider
Exemplo n.º 1
0
            /// <summary>
            /// Release unmanaged and optionally managed resources.
            /// </summary>
            /// <param name="disposing">Called from Dispose method.</param>
            protected override void Dispose(bool disposing)
            {
                if (disposing)
                {
                    _treeView = null;
                }

                base.Dispose(disposing);
            }
Exemplo n.º 2
0
            /// <summary>
            /// Release unmanaged and optionally managed resources.
            /// </summary>
            /// <param name="disposing">Called from Dispose method.</param>
            protected override void Dispose(bool disposing)
            {
                if (disposing)
                    _treeView = null;

                base.Dispose(disposing);
            }
Exemplo n.º 3
0
 /// <summary>
 /// Initialize a new instance of the DragTargetTreeViewTransfer class.
 /// </summary>
 /// <param name="rect">Rectangle for hot and draw areas.</param>
 /// <param name="navigator">Control instance for drop.</param>
 public DragTargetTreeViewTransfer(Rectangle rect,
                                   PageDragTreeView treeView)
     : base(rect, rect, rect, DragTargetHint.Transfer, KryptonPageFlags.All)
 {
     _treeView = treeView;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initialize a new instance of the DragTargetTreeViewTransfer class.
 /// </summary>
 /// <param name="rect">Rectangle for hot and draw areas.</param>
 /// <param name="navigator">Control instance for drop.</param>
 public DragTargetTreeViewTransfer(Rectangle rect,
                                   PageDragTreeView treeView)
     : base(rect, rect, rect, DragTargetHint.Transfer, KryptonPageFlags.All)
 {
     _treeView = treeView;
 }