//------------------------------------------------------- private void check_all_parameter_current_view_Click(object sender, MouseButtonEventArgs e) { try { for (int i = 0; i < parameter_current.Items.Count; i++) { Parameter_Settings item = (Parameter_Settings)parameter_current.Items[i]; item.isCheck = true; } parameter_current.Items.Refresh(); F_ListBox.save_settings(my_parameter_settings); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
//------------------------------------------------------- private void save_setting_Click(object sender, RoutedEventArgs e) { F_ListBox.save_settings(my_parameter_settings); }