private void MarkVariationComboBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            MarkInfoTuple   tuple         = ((ComboBox)sender).SelectedItem as MarkInfoTuple;
            ucQuickAnalysis analysisPanel = _mainForm.PanelAnalysis.Controls.OfType <ucMarkAnalysis>().First().Controls.OfType <ucQuickAnalysis>().First();

            analysisPanel.SetAnalysisStrings(getAnalysisStrings(_analysisIndex, tuple));
            analysisPanel.SetTextBoxes(GetMarkValues(tuple), false);
        }
示例#2
0
        private void tabPageEnter(object sender, EventArgs e)
        {
            ///установка строковых значений для панели быстрого анализа на tabPage

            int index = tabControlQA.SelectedIndex;

            ucQuickAnalysis ucPage = ((TabPage)sender).Controls.OfType <ucQuickAnalysis>().First();

            ucPage.AddTextBoxSubscriber(UpdateTextBoxes);
            ucPage.SetAnalysisStrings(AnalysisStrings[index]);
            ucPage.SetTextBoxes(textBoxes, true);
        }