Exemplo n.º 1
0
        private void thoat_DSKH_btn_Click(object sender, EventArgs e)
        {
            MainFormAdmin lgf = new MainFormAdmin();

            this.Hide();
            lgf.Show();
        }
Exemplo n.º 2
0
        private void login_btn_Click(object sender, EventArgs e)
        {
            chinhanh = Login_chinhanh_cbb.SelectedItem.ToString();
            uname    = username.Text;
            passwd   = password.Text;


            if (checklogin())
            {
                MainFormAdmin mainform = new MainFormAdmin();
                this.Hide();
                mainform.ShowDialog();
            }
        }