private void treeList1_FocusedColumnChanged(object sender, DevExpress.XtraTreeList.FocusedColumnChangedEventArgs e)
 {
     try
     {
         DevExpress.XtraEditors.Repository.RepositoryItemTextEdit edit = e.Column.ColumnEdit as DevExpress.XtraEditors.Repository.RepositoryItemTextEdit;
         if (edit != null && edit.Mask.MaskType == DevExpress.XtraEditors.Mask.MaskType.Numeric)
         {
             oldInput = InputLanguage.CurrentInputLanguage;
             InputLanguage.CurrentInputLanguage = null;
         }
         else
         {
             if (oldInput != null && oldInput != InputLanguage.CurrentInputLanguage)
             {
                 InputLanguage.CurrentInputLanguage = oldInput;
             }
         }
     }
     catch { }
 }
Beispiel #2
0
 private void treeList1_FocusedColumnChanged(object sender, DevExpress.XtraTreeList.FocusedColumnChangedEventArgs e)
 {
     treeList1_FocusedNodeChanged(this.treeList1, null);
 }