OSDN Git Service

#23729 [DTXC] 最小化状態での終了時、一旦最小化を解除してから終了するよう変更。
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Tue, 23 Nov 2010 15:18:10 +0000 (15:18 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Tue, 23 Nov 2010 15:18:10 +0000 (15:18 +0000)
git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@47 16f42ceb-6dc6-49c8-ba94-f2d53467949d

DTXCreatorプロジェクト/コード/00.全体/Cメインフォーム.cs

index 54d9cfb..7f67896 100644 (file)
@@ -364,6 +364,12 @@ namespace DTXCreator
 \r
                        // DTXCreator から保存すべきアプリ設定を取得する。\r
 \r
+                       #region [ #23729 2010.11.22 yyagi: to get DTXC's x, y, width & height correctly, set windowstate "normal" if it is "minimized." ]\r
+                       if (this.WindowState == FormWindowState.Minimized)\r
+                       {\r
+                               this.WindowState = FormWindowState.Normal;\r
+                       }\r
+                       #endregion\r
                        #region [ ウィンドウの位置とサイズ ]\r
                        //-----------------\r
                        this.appアプリ設定.X = this.Location.X;\r