Example #1
0
 private void GetCurrentRow()
 {
     try
     {
         curRow = (DataRowView)grvStore.GetFocusedRow();
         if (curRow != null)
         {
             Commons.SetDislayStringArray(new DevExpress.XtraBars.BarStaticItem[] { lblCreater, lblCreateTime, lblEditer, lblEditTime }, new string[] { curRow["Creater"].ToString(), curRow["CreateTime"].ToString(), curRow["Editer"].ToString(), curRow["EditTime"].ToString() });
         }
     }
     catch (Exception ex)
     {
         Commons.ShowExceptionMessage(ex);
     }
 }