Exemplo n.º 1
0
        private void quanLyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            lblTitle.Text = "Quản lý nhóm tour";
            UCGroupTour uc = new UCGroupTour();

            addControlToPanel(uc);
        }
Exemplo n.º 2
0
        private void barBtnGroupTour_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            XtraUserControl xtraUserControl = new UCGroupTour();

            xtraUserControl.Name = barBtnGroupTour.Name + "UControl";
            xtraUserControl.Text = barBtnGroupTour.Caption;
            xtraUserControl.Dock = DockStyle.Fill;
            lblCurrent.Caption   = "Quản lý nhóm tour";
            addTab(xtraUserControl);
        }