예제 #1
0
        private void btnDelete_Click(object sender, EventArgs e)
        {
            FChangeNhomHang fadd = new FChangeNhomHang();

            fadd.AddThongTin(new string[] { btnDelete.Text, txtMaNhom.Text, txtTenNhom.Text });
            fadd.MdiParent = main;
            fadd.main      = main;
            this.Close();
            fadd.Show();
        }
예제 #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            //this.Hide();
            FChangeNhomHang fadd = new FChangeNhomHang();

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