private void showChart_SelectedChart(object obj, SelectedChartEventArgs e)
        {
            selectedChart = showChart.Selected;
            Thread thread = new Thread(() => ShowSelectedChart(e.Tag, e.Value));

            thread.Start();
        }
 public MainTestControlTest()
 {
     option = VCContext.Instance.MFCCOptions;
     //ExtractionWrapper.OptionWrapper.SetLog(option.EnableLog);
     InitializeComponent();
     selectedChart = showChart.Selected;
 }
示例#3
0
        public MainTestControl()
        {
            option = new MfccOptions();
            ExtractionWrapper.OptionWrapper.SetLog(option.EnableLog);
            InitializeComponent();
            selectedChart = showChart.Selected;

            initListWords();
        }
 public MainControl()
 {
     option = VCContext.Instance.MFCCOptions;
     //ExtractionWrapper.OptionWrapper.SetLog(option.EnableLog);
     recoding = false;
     InitializeComponent();
     waveViewer.TimeSelectedChanged += SelectedTimeEventHandler;
     _waveOut       = new NAudio.Wave.WaveOut();
     _selectedChart = showChart.Selected;
     initSampleRate_cbx();
     //initListWords();
     FreshListDevices();
 }
示例#5
0
        public RegControl()
        {
            _regMode = false;

            bool designMode = (LicenseManager.UsageMode == LicenseUsageMode.Designtime);

            if (!designMode)
            {
                ExtractionWrapper.OptionWrapper.SetLog(VCContext.Instance.MFCCOptions.LogLevel);
                recoding   = false;
                _trainTask = new TrainingTask();
                trainFrom  = new TrainingFilesForm(_trainTask);
                trainFrom.RecalledEntry += RecalledRow;
            }

            InitializeComponent();
            waveViewer.TimeSelectedChanged += SelectedTimeEventHandler;
            _waveOut            = new NAudio.Wave.WaveOut();
            _selectedChart      = showChart.Selected;
            regMode_cbx.Checked = _regMode;
            initSampleRate_cbx();
            FreshListDevices();
        }
示例#6
0
 public SelectShowChart()
 {
     selected = new SelectedChartOption();
     InitializeComponent();
 }