Пример #1
0
        private void textControl1_TextFieldCreated(object sender, TextFieldEventArgs e)
        {
            int iStartPos = textControl1.Selection.Start;

            SetFields();
            textControl1.Selection.Start = iStartPos;
        }
Пример #2
0
 private void textControl1_TextFieldCreated(object sender, TextFieldEventArgs e)
 {
     if (e.TextField.Name.StartsWith("FN:") == true)
     {
         ReorderFootnotes();
         CreateFootnotes();
     }
 }
Пример #3
0
        private void OnTextChangedAggregation(TextFieldEventArgs args)
        {
            var handler = OnTextChanged;

            if (handler != null)
            {
                handler(this, args);
            }
        }
 private void textControl1_TextFieldEntered(object sender, TextFieldEventArgs e)
 {
     // set the current field based on the selected field
     currentApplicationField = listApplicationFields.IndexOf(e.TextField as ApplicationField);
     HighlightField();
     EnableNavigateButtons();
 }
Пример #5
0
 private void textControl1_TextFieldCreated(object sender, TextFieldEventArgs e)
 {
     int iStartPos = textControl1.Selection.Start;
     SetFields();
     textControl1.Selection.Start = iStartPos;
 }
Пример #6
0
 void EventNexus_TextFieldDeactivated(TextFieldEventArgs ea)
 {
     ConvertSpacesToCamelCase(false);
 }
Пример #7
0
 void EventNexus_TextFieldCommitted(TextFieldEventArgs ea)
 {
     ConvertSpacesToCamelCase(false);
 }
Пример #8
0
 void EventNexus_TextFieldActivated(TextFieldEventArgs ea)
 {
     if (_IsEnabled)
         ConvertSpacesToCamelCase(true);
 }
Пример #9
0
 private void textControl1_TextFieldClicked(object sender, TextFieldEventArgs e)
 {
     ShowEditor(e.TextField);
 }