Example #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (stringevent != null)
     {
         SetEvent setEvent = new SetEvent();
         setEvent.Str = textBox1.Text;
         stringevent(button1, setEvent);
     }
 }
Example #2
0
 private void ShowMessgae(object sender, SetEvent args)
 {
     textBox1.Text = args.Str;
 }