Пример #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     fmDN = new fmDangNhap();
     Application.Run(fmDN);
 }
Пример #2
0
        private void btnDangnhap_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form fm = this.CheckExists(typeof(fmDangNhap));

            if (fm != null)
            {
                fm.Activate();
            }
            else
            {
                fmDangNhap f = new fmDangNhap();
                f.MdiParent = this;
                f.Show();
            }
        }