Exemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (Application.UserAppDataRegistry.GetValue("remeberMe") != null)
            {
                Dashboard dashboard = new Dashboard();
                dashboard.Show();
            }
            else
            {
                Login login = new Login();
                login.Show();
            }

            DatabaseConnectivity databaseConnectivity = new DatabaseConnectivity();

            databaseConnectivity.connectionValidator();
            Application.Run();
        }