Example #1
0
 public Form1()
 {
     InitializeComponent();
     puber          = new Puber();
     puber.OnEvent += TestFunc;
 }
Example #2
0
 public Form2(Form1 form1)
 {
     InitializeComponent();
     puber          = new Puber();
     puber.OnEvent += form1.TestFunc;
 }