Пример #1
0
        static void ws_WorkSheetItemEnding(object sender, WorkSheetItemEndingEventArgs e)
        {
            WorkSheet ws = (sender as WorkSheet);

            Console.WriteLine("{0} [{1} - {2}] Ending", ws.Items[e.Index].Content, ws.Items[e.Index].BeginTime, ws.Items[e.Index].EndTime);
            WaitHandle.Set();
        }
Пример #2
0
 void Items_WorkSheetItemEnding(object sender, WorkSheetItemEndingEventArgs e)
 {
     try
     {
         EventHandler <WorkSheetItemEndingEventArgs> eventHandler = WorkSheetItemEnding;
         if (eventHandler != null)
         {
             eventHandler(this, e);
         }
     }catch {}
 }