Beispiel #1
0
 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;
 }
Beispiel #2
0
        //对应词汇
        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;
        }
Beispiel #3
0
 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;
 }
Beispiel #4
0
        public bool SaveVocabularyInfo(MyVocabularyInfo item)
        {
            bool result = true;

            return(result);
        }
Beispiel #5
0
        public bool SaveIndependentVocabularyInfoCard(MyVocabularyInfo item)
        {
            bool result = true;

            return(result);
        }