Esempio n. 1
0
        private void tabControl_SelectedPageChanged(object sender, TabPageChangedEventArgs e)
        {
            try
            {
                AnalysisSetting.RefreshValues(AlgorithmSetting);
                var xtraTabControl = sender as XtraTabControl;

                if (e.Page.Name == xtraTabControl.TabPages[1].Name)
                {
                    DisplaySetting();
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Esempio n. 2
0
        private void sbAnalysis_Click(object sender, EventArgs e)
        {
            try
            {
                if (AnalysisSetting.List.Count == 0)
                {
                    MessageBox.Show("Выберите пожалуйста методы для сравнения!");
                    return;
                }

                AnalysisSetting.RefreshValues(AlgorithmSetting);
                GenAnalysis = new GenAnalysis(meOutputAnalysis, AnalysisSetting);
                GenAnalysis.Start();
                DisplayChartAnalysis();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }