Пример #1
0
        private void btn_login_Click(object sender, EventArgs e)
        {
            frm_Login login = new frm_Login();

            login.Show();
            this.Close();
        }
Пример #2
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            frm_Login login = new frm_Login();

            login.Show();
            this.Hide();
        }
Пример #3
0
        private void inicioToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            frm_Login Login = new frm_Login();

            Login.StartPosition = FormStartPosition.CenterParent;
            Login.Show();
        }
Пример #4
0
        private void frm_DashBoard_Users_FormClosed(object sender, FormClosedEventArgs e)
        {
            frm_Login login = new frm_Login();

            login.Show();
            this.Hide();
        }
Пример #5
0
        private void btn_CancelarRegistro_Click(object sender, EventArgs e)
        {
            this.Hide();
            frm_Login login = new frm_Login();

            login.Show();
        }
Пример #6
0
        private void btn_cerrar_main_Click(object sender, EventArgs e)
        {
            this.Hide();
            frm_Login login = new frm_Login();

            login.Show();
        }
Пример #7
0
        private void button1_Click(object sender, EventArgs e)
        {
            frm_Login _login = new frm_Login();

            _login.Show();

            menuStrip1.Visible = _login.result;
        }
Пример #8
0
        private void btnOdjava_Click(object sender, EventArgs e)
        {
            Zatvori();
            frm_Login frm = new frm_Login();

            frm.Show();
            this.Hide();
        }
Пример #9
0
        private void btn_Logout_Click(object sender, EventArgs e)
        {
            APIService.Username = "";
            APIService.Password = "";
            frm_Login form = new frm_Login();

            form.FormClosed += new FormClosedEventHandler(form_FormClosed);
            form.Show();
            Hide();
        }
Пример #10
0
 private void button7_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("¿Está seguro que desea cerrar sesión?.", "¡Atención!", MessageBoxButtons.YesNoCancel) == DialogResult.Yes)
     {
         Form login = new frm_Login();
         login.FormClosed += new FormClosedEventHandler(login_FormClosed);
         login.Show();
         this.Hide();
     }
 }
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            frm_Users users = new frm_Users();

            users.Hide();

            frm_Categories category = new frm_Categories();

            category.Hide();

            this.Hide();

            frm_Login login = new frm_Login();

            login.Show();
        }
Пример #12
0
        private void LinkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frm_Login nb = new frm_Login();

            nb.Show();
        }