Ejemplo n.º 1
0
        private void btnViewCategoryFood_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            SplashScreenManager.ShowForm(typeof(WaitForm1));
            Form form = this.CheckFormExist(typeof(frDanhMuc));

            if (form != null)
            {
                form.Activate();
            }
            else
            {
                frMenu    frmenu = new frMenu();
                frDanhMuc fr     = new frDanhMuc(frmenu.Load_cbMenu);
                fr.MdiParent = this;
                fr.Show();
            }
            SplashScreenManager.CloseForm();
        }
Ejemplo n.º 2
0
        private void ShowFrDanhMuc()
        {
            frDanhMuc fr = new frDanhMuc(Load_Menu);

            fr.ShowDialog();
        }