コード例 #1
0
        private void barBtnAttachment_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            CTTaiSan obj = ucGridControlTaiSan1.CTTaiSan;

            if (obj != null)
            {
                frmFileChungTu frm = new frmFileChungTu(obj.chungtu, true);
                frm.ShowDialog();
            }
        }
コード例 #2
0
 private void btnAttachment_Click(object sender, EventArgs e)
 {
     if (objChungTu != null)
     {
         frmFileChungTu frm = new frmFileChungTu(objChungTu);
         if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             objChungTu = frm.ct;
         }
     }
 }
コード例 #3
0
 private void barBtnAttachment_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     CTTaiSan obj = ucGridControlTaiSan1.CTTaiSan;
     if (obj != null)
     {
         frmFileChungTu frm = new frmFileChungTu(obj.chungtu, true);
         frm.ShowDialog();
     }
 }
コード例 #4
0
 private void btnAttachment_Click(object sender, EventArgs e)
 {
     if (objChungTu != null)
     {
         frmFileChungTu frm = new frmFileChungTu(objChungTu);
         if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
             objChungTu = frm.ct;
     }
 }