Example #1
0
 //绑定句子
 private void BindSentence()
 {
     g_LsenetenceInfoList = eventClient.GetSentenceInfoCard(g_LeventInfo.EVENTINFO_CODE);
     this.gridControl_LSentence.DataSource = g_LsenetenceInfoList;
     g_RsenetenceInfoList = eventClient.GetSentenceInfoCard(g_ReventInfo.EVENTINFO_CODE);
     this.gridControl_RSentence.DataSource = g_RsenetenceInfoList;
 }
Example #2
0
 private void Frm_EventCard_Load(object sender, EventArgs e)
 {
     changeState(false);
     sentenceInfoList = eventClient.GetSentenceInfoCard(eventInfo.EVENTINFO_CODE);
     //事件
     this.textEdit_Name.EditValue              = eventInfo.EVENTINFO_NAME;
     this.textEdit_Code.EditValue              = eventInfo.EVENTINFO_CODE;
     this.textEdit_CreateTime.EditValue        = eventInfo.EVENTINFO_CREATETIME;
     this.textEdit_LastModifiedTime.EditValue  = eventInfo.EVENTINFO_LASTMODIFIEDTIME;
     this.textEdit_ModificationTimes.EditValue = eventInfo.EVENTINFO_MODIFICATIONTIMES;
     this.memoEdit_EventNote.EditValue         = eventInfo.EVENTINFO_NOTE;
     //句子
     this.gridControl_Sentence.DataSource = sentenceInfoList;
     //直接通过gridControl_Event_FocusedViewChanged设置
     //this.memoEdit_SentenceNote.EditValue = sentenceInfoList[0].SENTENCEINFO_NOTE;
 }