Esempio n. 1
0
        private void btnThem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (frm2 == null || frm2.IsDisposed)
            {
                frm2 = new frmThemPhieuChi();
            }
            frm2.Show();

            PassIDform1 sendIDObjectfrm1 = new PassIDform1(frm2.funObjectB);

            sendIDObjectfrm1(this);
        }
Esempio n. 2
0
        private void btnSua_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Data._strmaphieu = lblMaPhieu.Text;
            Data._edit       = true;
            if (frm2 == null || frm2.IsDisposed)
            {
                frm2 = new frmThemPhieuChi();
            }
            frm2.Show();

            PassIDform1 sendIDObjectfrm1 = new PassIDform1(frm2.funObjectB);

            sendIDObjectfrm1(this);
        }
Esempio n. 3
0
 public void funObjectB_phieuchi(frmThemPhieuChi frm1_phieuchi)
 {
     this.frm1_copy_phieuchi = frm1_phieuchi;
 }