Esempio n. 1
0
 static void Main(string[] args)
 {
     TimerN nowaTimer = new TimerN();
     MyClass someExample = new MyClass(nowaTimer);
     nowaTimer.DayMethod(6);
     nowaTimer.MinutesMethod(7);
     nowaTimer.MonthMethod(1);
     nowaTimer.SecondsMethod(2);
 }
Esempio n. 2
0
 public MyClass(TimerN time)
 {
     this.hurryUp = time;
     this.hurryUp.MyEvent += new ChangedEventHandler(SomethingChanged); // hard with this events....
 }