示例#1
0
 public void UpdateClassesMenu()
 {
     classSource.DataSource         = registerController.GetClasses();
     classescomboBox1.DataSource    = classSource.DataSource;
     classescomboBox1.DisplayMember = "ClassYearId";
     classescomboBox1.ValueMember   = "ClassYearId";
 }