Beispiel #1
0
        private void dropDownButton1_Click(object sender, EventArgs e)
        {
            Data._int_flag = 1;
            if (frm2 == null || frm2.IsDisposed)
            {
                frm2 = new frmNguoiNop();
            }
            frm2.Show();

            PassIDform1 sendIDObjectfrm1 = new PassIDform1(frm2.funObjectB);

            sendIDObjectfrm1(this);
        }
Beispiel #2
0
        private void btnNhanVien_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Data._int_flag = 1;
            if (frm2 == null || frm2.IsDisposed)
            {
                frm2 = new frmNguoiNop();
            }
            frm2.Show();

            PassIDform1 sendIDObjectfrm1 = new PassIDform1(frm2.funObjectB);

            sendIDObjectfrm1(this);
        }