void HandleCustomEvent(object sender, CustomEventArgs e) { Console.WriteLine(id + " received this message: {0}", e.Message); }
void HandleCustomEvent(object sender, CustomEventArgs e) { //Form1.textBox1.Text += id + " received this message:" + e.Message + Environment.NewLine; }