Exemple #1
0
        private void btnIngresar_Click(object sender, EventArgs e)
        {
            if ((sender as Button).Tag.ToString() == "1")
            {
                frmLogin log = new frmLogin();
                this.Visible = false;
                log.ShowDialog();
                this.Visible = true;
            }

            else if ((sender as Button).Tag.ToString() == "2")
            {
                frmRegistrarse reg = new frmRegistrarse();
                reg.ShowDialog();
                PermirCrearCuentaInicial();
            }
        }
Exemple #2
0
        private void btnAgregarUsuarios_Click(object sender, EventArgs e)
        {
            frmRegistrarse fr = new frmRegistrarse();

            fr.ShowDialog();
        }