private void barBtnLog_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { CTTaiSan obj = ucGridControlTaiSan1.CTTaiSan; if (obj != null) { frmLogTaiSan frm = new frmLogTaiSan(obj); frm.ShowDialog(); } }