示例#1
0
 public void Activity(string information)
 {
     if (guiActivity.InvokeRequired)
     {
         UpdateActivityBox del = new UpdateActivityBox(Activity);
         this.guiActivity.Invoke(del, new object[] { information });
     }
     else
     {
         this.guiActivity.AppendText(information + " \n");
     }
 }
示例#2
0
 public void ChatBox(string information)
 {
     if (ingameChat.InvokeRequired)
     {
         UpdateActivityBox del = new UpdateActivityBox(ChatBox);
         this.ingameChat.Invoke(del, new object[] { information });
     }
     else
     {
         this.ingameChat.AppendText(information + " \n");
     }
 }
示例#3
0
 public void ChatBox(string information)
 {
     if (ingameChat.InvokeRequired)
     {
         UpdateActivityBox del = new UpdateActivityBox(ChatBox);
         this.ingameChat.Invoke(del, new object[] { information });
     }
     else
     {
         this.ingameChat.AppendText(information + " \n");
     }
 }
示例#4
0
文件: Maincs.cs 项目: CarlosX/DarkEmu
 public void Activity(string information)
 {
     if (guiActivity.InvokeRequired)
     {
         UpdateActivityBox del = new UpdateActivityBox(Activity);
         this.guiActivity.Invoke(del, new object[] { information });
     }
     else
     {
         this.guiActivity.AppendText(information + " \n");
     }
 }