private void EditContactForm_Load_1(object sender, EventArgs e)
        {
            BUS_Group BUSGroup = new BUS_Group();

            this.comboBoxGroup.DataSource    = BUSGroup.getGroups(DTO_Global.GlobalUserId);
            this.comboBoxGroup.DisplayMember = "name";
            this.comboBoxGroup.ValueMember   = "Id";
        }
        private void ManageCourseForm_Load(object sender, EventArgs e)
        {
            this.reloadListData();
            BUS_Group BUSGroup = new BUS_Group();

            this.comboBoxGroup.DataSource    = BUSGroup.getGroups(DTO_Global.GlobalUserId);
            this.comboBoxGroup.DisplayMember = "name";
            this.comboBoxGroup.ValueMember   = "Id";
        }
Esempio n. 3
0
        private void fillCombo()
        {
            DataTable tb = BUSCourse.getCOURSE();

            comboboxID.DisplayMember = "id";
            comboboxID.ValueMember   = "id";
            comboboxID.DataSource    = tb;
            BUS_Group BUSGroup = new BUS_Group();

            this.comboBoxGroup.DataSource    = BUSGroup.getGroups(DTO_Global.GlobalUserId);
            this.comboBoxGroup.DisplayMember = "name";
            this.comboBoxGroup.ValueMember   = "Id";
        }