예제 #1
0
 public virtual void OnCommadSent(CommandSentEventArgs e)
 {
     if (this.CommandSent != null)
     {
         CommandSent(this, e);
     }
 }
예제 #2
0
파일: Form1.cs 프로젝트: JackG55/CHU_KY_SO
        private void CommandSent(object sender, CommandSentEventArgs e)
        {
            Action <string> AddToMessageBox = THREAD_MOD;

            this.messagebox.Invoke(AddToMessageBox, e.Client.IP.ToString() + " sent a command");
        }