示例#1
0
 private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (m_caffeRun != null)
     {
         ((IDisposable)m_caffeRun).Dispose();
         m_caffeRun = null;
         m_autoTest.Abort();
     }
 }
示例#2
0
        public FormMain()
        {
            InitializeComponent();

            Log log = new Log("Test Run");

            log.OnWriteLine += Log_OnWriteLine;
            m_caffeRun       = new MyCaffeControl <float>(new SettingsCaffe(), log, m_evtCancel);
        }