private void cbTechStoreGroups_SelectedIndexChanged(object sender, EventArgs e) { if (AssignmentsManager == null) { return; } int TechStoreGroupID = 0; if (cbTechStoreGroups.SelectedItem != null && ((DataRowView)cbTechStoreGroups.SelectedItem).Row["TechStoreGroupID"] != DBNull.Value) { TechStoreGroupID = Convert.ToInt32(((DataRowView)cbTechStoreGroups.SelectedItem).Row["TechStoreGroupID"]); } AssignmentsManager.FilterBasicTechStoreSubGroups(TechStoreGroupID); cbTechStoreSubGroups_SelectedIndexChanged(null, null); }