Esempio n. 1
0
 private void gridView1_GotFocus(object sender, EventArgs e)
 {
     if (gridView1.GetFocusedRow()!=null)
     {
         ParentObj = gridView1.GetFocusedRow() as E_ExamUserRecord;
     }
 }
Esempio n. 2
0
 private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (gridView1.GetFocusedRow() != null)
     {
         ParentObj = gridView1.GetFocusedRow() as E_ExamUserRecord;
         CommentHelper.SaveFile(ParentObj.WordData, ParentObj.BySCol1);
     }
 }
Esempio n. 3
0
        /// <summary>
        /// 新建对象设置Key值
        /// </summary>
        /// <param name="newobj"></param>
        void gridViewOperation_CreatingObjectEvent(E_ExamUserRecord newobj) {
            newobj.CreateMan = MainHelper.User.UserName;
            newobj.CreateDate = DateTime.Now;

        }