Beispiel #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var _login = new Presentacion.Seguridad.LogIn();

            _login.ShowDialog();

            if (_login.PuedeIngresarAlSistema)
                Application.Run(new Principal());
            else
                Application.Exit();
        }
Beispiel #2
0
        private void cerrarSesiónToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.lblUsuario.Text = "Usuario: ";
            var _login = new Presentacion.Seguridad.LogIn();

            _login.ShowDialog();

            if (_login.PuedeIngresarAlSistema)
            {
                MostrarInformacionUsuarioLogIn();
            }
            else
            {
                Application.Exit();
            }
        }
Beispiel #3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var _login = new Presentacion.Seguridad.LogIn();

            _login.ShowDialog();

            if (_login.PuedeIngresarAlSistema)
            {
                Application.Run(new Principal());
            }
            else
            {
                Application.Exit();
            }
        }
Beispiel #4
0
        private void cerrarSesiónToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.lblUsuario.Text = "Usuario: ";
            var _login = new Presentacion.Seguridad.LogIn();
            _login.ShowDialog();

            if (_login.PuedeIngresarAlSistema)
            {
                MostrarInformacionUsuarioLogIn();
            }
            else
            {
                Application.Exit();
            }
        }