Пример #1
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();
        }
Пример #2
0
        private void toolStripMenuItem4_Click(object sender, EventArgs e)
        {
            tongdai td = new tongdai();

            td.Show();
        }
Пример #3
0
        private void hoạtĐộngTổngĐàiToolStripMenuItem_Click(object sender, EventArgs e)
        {
            tongdai td = new tongdai();

            td.Show();
        }
Пример #4
0
        private void tạoĐơnHàngChoKháchKhiCóCuộcGọiĐếnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            tongdai td = new tongdai();

            td.Show();
        }