예제 #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 menuToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FRM_Menu wndMenu = new FRM_Menu();

            wndMenu.ShowDialog(this);
        }