protected void onUnmaximized(object sender, EventArgs e) { this.Width = savedW; this.Height = savedH; Unmaximized.Raise(sender, e); }
protected void onUnmaximized(object sender, EventArgs e) { lock (IFace.LayoutMutex) { this.Left = savedBounds.Left; this.Top = savedBounds.Top; this.Width = savedBounds.Width; this.Height = savedBounds.Height; IsMinimized = false; Resizable = true; NotifyValueChanged("ShowNormal", false); NotifyValueChanged("ShowMinimize", true); NotifyValueChanged("ShowMaximize", true); } Unmaximized.Raise(sender, e); }