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