private void button1_Click(object sender, EventArgs e) { bophanquanli bpql = new bophanquanli(); bpql.Show(); this.Close(); }
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(); }
private void bộPhậnQuảnLíToolStripMenuItem_Click(object sender, EventArgs e) { bophanquanli bpql = new bophanquanli(); bpql.Show(); }