private void bookTourToolStripMenuItem_Click(object sender, EventArgs e)
        {
            lblTitle.Text = "Quản lý tour";
            UCTour uc = new UCTour();

            addControlToPanel(uc);
        }
Exemple #2
0
        private void barQLTour_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            XtraUserControl xtraUserControl = new UCTour();

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