private void genderListInit(MatchFinder i_MatchFinder) { if (this.checkBoxMale.Checked) { i_MatchFinder.SelectedGender.Add("Male", true); } else { i_MatchFinder.SelectedGender.Add("Male", false); } if (this.checkBoxFemale.Checked) { i_MatchFinder.SelectedGender.Add("Female", true); } else { i_MatchFinder.SelectedGender.Add("Female", false); } }
private void genderListInit(MatchFinder i_MatchFinder, bool i_IsFemaleChecked, bool i_IsMaleChecked) { if (i_IsMaleChecked) { i_MatchFinder.SelectedGender.Add("Male", true); } else { i_MatchFinder.SelectedGender.Add("Male", false); } if (i_IsFemaleChecked) { i_MatchFinder.SelectedGender.Add("Female", true); } else { i_MatchFinder.SelectedGender.Add("Female", false); } }
private void matchInitializer(MatchFinder i_Feature) { this.genderListInit(i_Feature); i_Feature.AgeRangeSelected = this.comboBoxAges.SelectedItem.ToString(); }
public void MatchInitializer(MatchFinder i_Feature, bool i_IsFemaleChecked, bool i_IsMaleChecked, string i_AgeRangeSelected) { this.genderListInit(i_Feature, i_IsFemaleChecked, i_IsMaleChecked); i_Feature.AgeRangeSelected = i_AgeRangeSelected.ToString(); }