コード例 #1
0
ファイル: Window.cs プロジェクト: jpbruyere/crow.deb
        protected void onUnmaximized(object sender, EventArgs e)
        {
            this.Width  = savedW;
            this.Height = savedH;

            Unmaximized.Raise(sender, e);
        }
コード例 #2
0
        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);
        }