示例#1
0
        private void btnDelete_Click(object sender, EventArgs e)
        {
            FChangeKhachHang fadd = new FChangeKhachHang();

            fadd.AddThongTin(new string[5] {
                btnDelete.Text, txtMaKH.Text, txtTenKH.Text, txtDiaChi.Text, txtSDT.Text
            });
            fadd.MdiParent = main;
            fadd.main      = main;
            this.Close();
            fadd.Show();
        }
示例#2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            //this.Hide();
            FChangeKhachHang fadd = new FChangeKhachHang();

            fadd.AddThongTin(new string[5] {
                btnAdd.Text, "", "", "", ""
            });
            fadd.MdiParent = main;
            fadd.main      = main;
            this.Close();
            fadd.Show();
        }