private void barButtonItem_OK_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (this.gridView_Vocabulary.GetFocusedRow() == null) { return; } g_vocabularyInfo = this.gridView_Vocabulary.GetFocusedRow() as MyVocabularyInfo; objectid = g_vocabularyInfo.VOCABULARYINFO_ID; }
//对应词汇 private void gridControl_OVocabulary_FocusedViewChanged(object sender, DevExpress.XtraGrid.ViewFocusEventArgs e) { if (e.View == null) { return; } g_OvocabularyInfo = this.gridView_OVocabulary.GetRow(this.gridView_OVocabulary.FocusedRowHandle) as MyVocabularyInfo; this.memoEdit_Note.Text = g_OvocabularyInfo.VOCABULARYINFO_NOTE; this.memoEdit_Name.Text = g_OvocabularyInfo.VOCABULARYINFO_NAME; }
private void gridControl_Vocabulary_FocusedViewChanged(object sender, DevExpress.XtraGrid.ViewFocusEventArgs e) { g_vocabularyInfo = this.gridView_Vocabulary.GetFocusedRow() as MyVocabularyInfo; this.memoEdit_VocabularyNote.EditValue = g_vocabularyInfo.VOCABULARYINFO_NOTE; }
public bool SaveVocabularyInfo(MyVocabularyInfo item) { bool result = true; return(result); }
public bool SaveIndependentVocabularyInfoCard(MyVocabularyInfo item) { bool result = true; return(result); }