private void quanLyNhomĐôiTacToolStripMenuItem_Click(object sender, EventArgs e)
        {
            lblTitle.Text = "Quản lý nhóm đối tác";
            UCGroupPartner uc = new UCGroupPartner();

            addControlToPanel(uc);
        }
示例#2
0
        private void barBtnGroupPartner_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            XtraUserControl xtraUserControl = new UCGroupPartner();

            xtraUserControl.Name = barBtnGroupPartner.Name + "UControl";
            xtraUserControl.Text = barBtnGroupPartner.Caption;
            xtraUserControl.Dock = DockStyle.Fill;
            lblCurrent.Caption   = "Quản lý nhóm đối tác";
            addTab(xtraUserControl);
        }