ComponentFactory.Krypton.Docking.DockingDragManager.DockingDragManager C# (CSharp) Method

DockingDragManager() public method

Initialize a new instance of the DockingDragManager class.
public DockingDragManager ( KryptonDockingManager manager, Control c ) : System
manager KryptonDockingManager Reference to manager creating this instance.
c System.Windows.Forms.Control Control that is starting the drag operation.
return System
        public DockingDragManager(KryptonDockingManager manager, Control c)
        {
            _manager = manager;
            _offset = Point.Empty;

            // Use timer to ensure we do not update the display too quickly which then causes tearing
            _moveTimer = new Timer();
            _moveTimer.Interval = 10;
            _moveTimer.Tick += new EventHandler(OnFloatingWindowMove);
        }