private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { Selection_Method_Struct Method_Selected = (Selection_Method_Struct)Selection_Method.SelectedItem; World.iSelectedMethod = Method_Selected.MethodIndex; //Method selected arboAlgorithmParams_OK[1] = true; }
private void Generation_Selected_disp_1_SelectionChanged(object sender, SelectionChangedEventArgs e) { ComboBox Combo = (ComboBox)sender; Selection_Method_Struct SelectedItem = (Selection_Method_Struct)Combo.SelectedItem; //Update world chosen Generation_Actual_Chosen_2 = SelectedItem.MethodIndex; //Fetch the generarion if the session and world have also been chosen by the user FetchGenerations(Generation_Actual_Chosen_2, World_Actual_Chosen, Session_Actual_Chosen, 2); }