コード例 #1
0
ファイル: Hxs.cs プロジェクト: buruzaemon/MSDN-to-Kindle
 private void SafeShowCompileError()
 {
     if (Application.OpenForms[0].InvokeRequired)
     {
         ShowCompileError d = new ShowCompileError(SafeShowCompileError);
         Application.OpenForms[0].Invoke(d, new object[] { });
         return;
     }
     if (MessageBox.Show("View compile errors?", "Compile Error",
                         MessageBoxButtons.YesNo) == DialogResult.Yes)
     {
         Process.Start(this.logFile);
     }
 }
コード例 #2
0
ファイル: Hxs.cs プロジェクト: mark-s/MSDN-to-Kindle
 private void SafeShowCompileError()
 {
     if (Application.OpenForms[0].InvokeRequired)
     {
         ShowCompileError d = new ShowCompileError(SafeShowCompileError);
         Application.OpenForms[0].Invoke(d, new object[] { });
         return;
     }
     if (MessageBox.Show("View compile errors?", "Compile Error",
         MessageBoxButtons.YesNo) == DialogResult.Yes)
         Process.Start(this.logFile);
 }