public MainWindow() { InitializeComponent(); rep = new Repository(); List<Standard> standards = new List<Standard>(); standards = rep.getStandards(); foreach (Standard standard in standards) { comboStandardId.Items.Add(standard.StandardName); } CheckBox box; for (int i = 0; i < 10; i++) { box = new CheckBox(); box.Tag = i.ToString(); box.Text = "a"; box.AutoSize = true; box.Location = new Point(10, i * 50); //vertical //box.Location = new Point(i * 50, 10); //horizontal this.Controls.Add(box); } }
public MainWindow() { InitializeComponent(); rep = new Repository(); List<Course> courses = new List<Course>(); comboStandardId.Items = }
public MainWindow() { InitializeComponent(); rep = new Repository(); List<Course> courses = new List<Course>(); courses = rep.getCourses(); comboStandardId.Items.SourceCollection = rep.getCourses(); }
public MainWindow() { InitializeComponent(); rep = new Repository(); List<Course> courses = new List<Course>(); courses = rep.getCourses(); }
public MainWindow() { InitializeComponent(); rep = new Repository(); List<Standard> standards = new List<Standard>(); standards = rep.getStandards(); foreach (Standard standard in standards) { comboStandardId.Items.Add(standard.StandardName); } }
public MainWindow() { InitializeComponent(); rep = new Repository(); List<Standard> standards = new List<Standard>(); standards = rep.getStandards(); foreach (Course course in courses) { comboStandardId.Items.Add(course.CourseName); } }
public MainWindow() { InitializeComponent(); rep = new Repository(); courses = rep.getCourses(); foreach (Course course in courses) { comboCursos.Items.Add(course.CourseName); } standards = rep.getStandards(); foreach (Standard standard in standards) { comboStandardId.Items.Add(standard.StandardName); } }
public MainWindow() { InitializeComponent(); rep = new Repository(); }