Exemplo n.º 1
0
 public void Execute()
 {
     m_mainSplitContainer.ClearResults();
     m_state = State.Start;
     Thread searchThread = new Thread(CoreThreadTask);
     searchThread.Start();
     m_stopButton.Enabled = true;
     ShowDialog();
 }
Exemplo n.º 2
0
        private void OnFormClosed(object sender, FormClosedEventArgs e)
        {
            if (m_options.saveProfileOnClosing)
            {
                m_coreOptions.Save(m_options.coreOptionsFileName);
            }

            m_mainSplitContainer.ClearResults();
            GetSavedViewOptions();
            m_options.Save();

            StartFinishForm startFinishForm = new StartFinishForm(m_core, m_options);

            startFinishForm.ExecuteFinish();
            m_core.Dispose();
        }