Пример #1
0
 public void Run()
 {
     try
     {
         if (args.recordsInit > 0)
         {
             InitRecords();
         }
         else
         {
             RunWorker();
         }
     }
     catch (Exception ex)
     {
         console.Error(ex.Message);
     }
 }
 private void RunExampleThread(object data)
 {
     try
     {
         currentExample.Run((Arguments)data);
     }
     catch (Exception ex)
     {
         console.Error(Util.GetErrorMessage(ex));
         //MessageBox.Show(ex.Message);
     }
     finally
     {
         currentExample = null;
     }
 }