Ejemplo n.º 1
0
        private void btnDelete_Click(object sender, EventArgs e)
        {
            FChangeCaLam fadd = new FChangeCaLam();

            fadd.AddThongTin(new string[] { btnDelete.Text, txtMaCa.Text, txtTenCa.Text, txtMoTa.Text });
            fadd.MdiParent = main;
            fadd.main      = main;
            this.Close();
            fadd.Show();
        }
Ejemplo n.º 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            //this.Hide();
            FChangeCaLam fadd = new FChangeCaLam();

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