
12-28-2008, 4:37 PM
|
 |
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
|
|
Join Date: Dec 2005
Location: Norway
Age: 37
Posts: 10,322
Reputation: 1315
|
|
Why don't you use the Owner forms feature? Makes owned forms minimize/restore/close and overlay with the owner automatically.
Of curiosity I also checked Resize event when maximizing a form, and it does happen twice, but only once for WindowState Maximized. If you need to know that a regular resize event is not followed by a maximized/minimize/restore resize event you can use the ResizeBegin and ResizeEnd events, they don't occur for min/max/restore.
|