Ejemplo n.º 1
0
        static void ws_DayOfWeekWorkSheetItemBeginning(object sender, DayOfWeekWorkSheetItemBeginningEventArgs e)
        {
            WeeklyWorkSheet ws = (sender as WeeklyWorkSheet);

            Console.WriteLine("{0} [{1} - {2}] Beginning", ws[e.DayOfWeek].Items[e.Index].Content, ws[e.DayOfWeek].Items[e.Index].BeginTime, ws[e.DayOfWeek].Items[e.Index].EndTime);
            WaitHandle.Set();
        }
Ejemplo n.º 2
0
 void WeeklyWorkSheet_DayOfWeekWorkSheetItemBeginning(object sender, DayOfWeekWorkSheetItemBeginningEventArgs e)
 {
     try
     {
         EventHandler <DayOfWeekWorkSheetItemBeginningEventArgs> eventHandler = DayOfWeekWorkSheetItemBeginning;
         if (eventHandler != null)
         {
             eventHandler(this, e);
         }
     }
     catch { }
 }