Esempio n. 1
0
        static void Main()
        {
            //Application.EnableVisualStyles();
            //Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new FRM_Login());
            FRM_Login            wndLogin             = new FRM_Login();
            FRM_VentanaPrincipal wndVentanaPrinicipal = new FRM_VentanaPrincipal();
            FRM_Menu             wndMenu    = new FRM_Menu();
            FRM_SplashScreen     wndLoading = new FRM_SplashScreen();

            wndLoading.ShowDialog();

            wndVentanaPrinicipal.Show();
            wndLogin.ShowDialog(wndVentanaPrinicipal);
            wndMenu.ShowDialog();
            Application.Run();
        }
        private void cerrarSessionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FRM_Login wndLogin = new FRM_Login();

            wndLogin.ShowDialog(this);
        }