Пример #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            BonusSkins.Register();
            SkinManager.EnableFormSkins();
            Program.formDN = new Dangnhap();
            Application.Run(Program.formDN);
        }
Пример #2
0
        private void btnLogin_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.CheckExists(typeof(Dangnhap));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                Dangnhap f = new Dangnhap();
                f.Show();
            }
        }