コード例 #1
0
ファイル: Program.cs プロジェクト: bamx23/ZInc
 private void AddOut(string s)
 {
     if (Output.InvokeRequired)
     {
         AddOutputTextDelegate GTD = new AddOutputTextDelegate(AddOutText);
         Output.Invoke(GTD, (object)s);
     }
     else
     {
         AddOutText(s);
     }
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: semens/ZInc
 private void AddOut(string s)
 {
     if (Output.InvokeRequired)
     {
         AddOutputTextDelegate GTD = new AddOutputTextDelegate(AddOutText);
         Output.Invoke(GTD, (object)s);
     }
     else
     {
         Output.Text += "<<" + s + "\n";
         Output.Refresh();
     }
 }