Ejemplo n.º 1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            //this.Hide();
            FChangeHangHoa fadd = new FChangeHangHoa();

            fadd.AddThongTin(new string[] { btnAdd.Text, "", "", "", "", "", "", "", "" });
            fadd.MdiParent = main;
            fadd.main      = main;
            this.Close();
            fadd.Show();
        }
Ejemplo n.º 2
0
        private void btnDelete_Click(object sender, EventArgs e)
        {
            FChangeHangHoa fadd = new FChangeHangHoa();

            fadd.AddThongTin(new string[] { btnDelete.Text, txtMaHangHoa.Text, txtTenHangHoa.Text, labMaNhom.Text, labMaDVT.Text,
                                            labMaNuocSX.Text, txtDGN.Text, txtDGB.Text, txtGhiChu.Text });
            fadd.MdiParent = main;
            fadd.main      = main;
            this.Close();
            fadd.Show();
        }