Example #1
0
        private void btnSua_Click(object sender, EventArgs e)
        {
            Form_AddSanPham frm = new Form_AddSanPham(_sp, _par)
            {
                TopMost  = true,
                TopLevel = false
            };

            _par.callForm_Sua(frm);
        }
Example #2
0
        private void btnAddSP_Click(object sender, EventArgs e)
        {
            Unset();
            pTHem.Visible          = true;
            bunifuPages1.PageIndex = 1;
            Form_AddSanPham frm = new Form_AddSanPham(this)
            {
                TopMost  = true,
                TopLevel = false
            };

            this.Page_AddSP.Controls.Clear();
            this.Page_AddSP.Controls.Add(frm);
            frm.Show();
        }
Example #3
0
 public void callForm_Sua(Form_AddSanPham f)
 {
     this.pageDS.Controls.Clear();
     this.pageDS.Controls.Add(f);
     f.Show();
 }