示例#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();
        }
 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();
        }