コード例 #1
0
ファイル: GUI.cs プロジェクト: tmar89/tmar89snapstreamdev
 public static void SetStatus(Control control, string text)
 {
     if (control.InvokeRequired)
     {
         SetStatusCallBack d = new SetStatusCallBack(SetStatus);
         control.Invoke(d, new object[] { control, text });
     }
     else
     {
         control.Text = text + "\r\n" + control.Text;
     }
 }
コード例 #2
0
ファイル: GUI.cs プロジェクト: tmar89/tmar89snapstreamdev
 public static void SetStatus(Control control, string text)
 {
     if (control.InvokeRequired)
     {
         SetStatusCallBack d = new SetStatusCallBack(SetStatus);
         control.Invoke(d, new object[] { control, text });
     }
     else
     {
         control.Text = text + "\r\n" + control.Text;
     }
 }