public override int ManagedWindowBorderWidth (InternalWindowManager wm) { if ((wm.IsToolWindow && wm.form.FormBorderStyle == FormBorderStyle.FixedToolWindow) || wm.IsMinimized) return 3; else return 4; }