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; }
private void UpdateGraphFourSelection(object sender, SelectionChangedEventArgs e) { ComboBox comboBox = sender as ComboBox; GraphingTools.UpdateGraph(comboBox, Chart4); }