예제 #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);
 }
예제 #2
0
 public MyClass(TimerN time)
 {
     this.hurryUp = time;
     this.hurryUp.MyEvent += new ChangedEventHandler(SomethingChanged); // hard with this events....
 }