/// <summary> /// Called at end of drag feedback process. /// </summary> public override void Quit() { // Cleanup the no longer required feedback window if (_solid != null) { _solid.Dispose(); _solid = null; } }
/// <summary> /// Called at start of drag feedback process. /// </summary> public override void Start() { // Create a window for showing drop area semi-transparent _solid = new DropSolid(); // Show the window sized as 1 pixel to get it drawing _solid.SetBounds(0, 0, 1, 1, BoundsSpecified.All); // Place window on the screen _solid.ShowWithoutActivate(); // Force window to be painted _solid.Refresh(); }