private void OnStart()
        {
            button_Start.Enabled      = false;
            checkBox_PerFrame.Enabled = false;
            checkBox_Append.Enabled   = false;
            button_Open.Enabled       = false;
            btnDeleteLog.Enabled      = false;

            try
            {
                int nLevel =
                    checkBox_PerFrame.Checked ? 2 : 1;
                m_collector.SetLevel(nLevel);
                m_collector.SetLog(tbxLogOutput.Text);
                this.Cursor = Cursors.WaitCursor;
                m_collector.Start();
                MsdkAnalyzerCpp.start();

                this.Cursor       = Cursors.Default;
                button_Start.Text = "Stop";
                timer1.Enabled    = true;
                timer1.Start();
            }
            catch (System.Exception ex)
            {
                MessageBox.Show(ex.ToString());
                checkBox_PerFrame.Enabled = true;
                checkBox_Append.Enabled   = true;
            }
            button_Start.Enabled = true;
        }