示例#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;
 }
示例#2
0
文件: Core_Enter.cs 项目: NIEJie/Core
        //对应词汇
        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;
        }
示例#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;
 }
示例#4
0
        public bool SaveVocabularyInfo(MyVocabularyInfo item)
        {
            bool result = true;

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

            return(result);
        }