void LoadScreenTypeIntoComboBox(ComboBox cbo) { cbo.DataSource = ScreenTypeDAO.GetListScreenType(); cbo.DisplayMember = "Name"; cbo.ValueMember = "ID"; }
void LoadScreenIDIntoCombobox(ComboBox comboBox) { comboBox.DataSource = ScreenTypeDAO.GetListScreenType(); comboBox.DisplayMember = "ID"; comboBox.ValueMember = "ID"; }