DragIndicator position error with dual screens
Brought to you by:
dotnetfireball,
valda
When using dual screens, and the program starts up in the secondary monitor, the location of the DockIndicator is set to the top-left of the second monitor, not the top-left of the primary monitor (which would be 0, 0).
I've already fixed it by adding an explicit reset of the DragIndicator's position in the RefreshChanges function. Like this:
private void RefreshChanges()
{
this.Location = new Point(0, 0);
... // The original code start here
}