OSDN Git Service

#xxxxx DTX2WAVがDTXMania本体を最小化起動する際に、ウインドウのフォーカスが変わらないよう修正。
authoryyagi <yyagi.dtxmania@gmail.com>
Mon, 12 Mar 2018 14:23:07 +0000 (23:23 +0900)
committeryyagi <yyagi.dtxmania@gmail.com>
Mon, 12 Mar 2018 14:23:07 +0000 (23:23 +0900)
DTX2WAV/Form1.cs
DTX2WAV/Properties/AssemblyInfo.cs

index 5da1952..2454fc3 100644 (file)
@@ -201,6 +201,7 @@ namespace DTX2WAV
                        //アプリ名と引数の情報を設定
                        p_DTXMania.StartInfo.FileName = "DTXManiaGR.exe";
                        p_DTXMania.StartInfo.Arguments  = $"-E{comboBox_AudioFormat.Text.ToUpper()},";
+                       p_DTXMania.StartInfo.WindowStyle = ProcessWindowStyle.Minimized;
 
                        switch (comboBox_AudioFormat.Text.ToUpper())
                        {
@@ -240,6 +241,7 @@ namespace DTX2WAV
                        formRecording = new Form_Recording();
                        //formRecording.StartPosition = FormStartPosition.CenterParent;
                        formRecording.ShowDialog(this);
+                       this.Activate();
 
                        if (formRecording != null)
                        {
index 9f8491f..8cfb011 100644 (file)
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
 // すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます
 // 既定値にすることができます:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("10.0.0.0")]
-[assembly: AssemblyFileVersion("10.0.0.0")]
+[assembly: AssemblyVersion("11.0.0.0")]
+[assembly: AssemblyFileVersion("11.0.0.0")]