コード例 #1
0
        private void btnSua_Click(object sender, EventArgs e)
        {
            enable();
            RoleBUS role = new RoleBUS();

            cbbVaiTro.DataSource    = role.Getlist();
            cbbVaiTro.DisplayMember = "roleName";
        }
コード例 #2
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            enable();
            clear();
            RoleBUS role = new RoleBUS();

            cbbVaiTro.DataSource    = role.Getlist();
            cbbVaiTro.DisplayMember = "roleName";
            check          = true;
            btnLuu.Enabled = true;
        }