Пример #1
0
        private void InitializeGraphs()
        {
            GraphingTools.PopulateComboBox(GraphOneSelection);
            GraphingTools.PopulateComboBox(GraphTwoSelection);
            GraphingTools.PopulateComboBox(GraphThreeSelection);
            GraphingTools.PopulateComboBox(GraphFourSelection);

            GraphOneSelection.SelectedIndex   = 0;
            GraphTwoSelection.SelectedIndex   = 1;
            GraphThreeSelection.SelectedIndex = 2;
            GraphFourSelection.SelectedIndex  = 3;
        }
Пример #2
0
        private void UpdateGraphFourSelection(object sender, SelectionChangedEventArgs e)
        {
            ComboBox comboBox = sender as ComboBox;

            GraphingTools.UpdateGraph(comboBox, Chart4);
        }