Exemplo n.º 1
0
        private void bttLevels_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.CheckFormExist(typeof(frLevel));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frLevel f = new frLevel();
                f.MdiParent = this;
                f.Show();
            }
        }
Exemplo n.º 2
0
        private void bttLevels_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            SplashScreenManager.ShowForm(typeof(frWait));
            Form frm = this.CheckFormExist(typeof(frLevel));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frLevel f = new frLevel();
                f.MdiParent = this;
                f.Show();
            }
            SplashScreenManager.CloseForm();
        }