Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            bophanquanli bpql = new bophanquanli();

            bpql.Show();
            this.Close();
        }
Exemple #2
0
        private void a_Click(object sender, EventArgs e)
        {
            Form2               f    = new Form2();
            bophanquanli        bpql = new bophanquanli();
            fDonHangTaiChiNhanh cn   = new fDonHangTaiChiNhanh();
            tongdai             td   = new tongdai();

            if (this.m.Text == "giamdoc" && this.n.Text == "congty")
            {
                f.Show();
            }
            else
            {
                if (this.m.Text == "bpql1" && this.n.Text == "congty" || this.m.Text == "bpql2" && this.n.Text == "congty" || this.m.Text == "bpql3" && this.n.Text == "congty")
                {
                    bpql.Show();
                }
                else
                {
                    if (this.m.Text == "cn1" && this.n.Text == "congty" || this.m.Text == "cn2" && this.n.Text == "congty" || this.m.Text == "cn3" && this.n.Text == "congty")
                    {
                        cn.Show();
                    }
                    else
                    {
                        if (this.m.Text == "td1" && this.n.Text == "congty" || this.m.Text == "td2" && this.n.Text == "congty" || this.m.Text == "td3" && this.n.Text == "congty")
                        {
                            td.Show();
                        }
                    }
                }
            }
            dangnhap();
        }
Exemple #3
0
        private void toolStripMenuItem2_Click_1(object sender, EventArgs e)
        {
            this.Hide();
            bophanquanli bql = new bophanquanli();

            bql.ShowDialog();
            this.Close();
        }
Exemple #4
0
        private void bộPhậnQuảnLíToolStripMenuItem_Click(object sender, EventArgs e)
        {
            bophanquanli bpql = new bophanquanli();

            bpql.Show();
        }