Exemple #1
0
 private void txtNeighborNegabels_KeyUp(object sender, KeyEventArgs e)
 {
     if (TextBoxHelper.CanEvalString(e))
     {
         txtNeighborNegabels_LostFocus(sender, null);
     }
 }
        /* L Negating Global Labels */

        public void txtLNegatingLabels_KeyUp(object sender, KeyEventArgs e)
        {
            if (TextBoxHelper.CanEvalString(e))
            {
                txtLNegatingLabels_LostFocus(sender, e);
            }
        }
Exemple #3
0
 private void txtLGlobalLabels_KeyUp(object sender, KeyEventArgs e)
 {
     if (TextBoxHelper.CanEvalString(e))
     {
         var caretIndex = txtLGlobalLabels.CaretIndex;
         var origLength = txtLGlobalLabels.Text.Length;
         txtLGlobalLabels_LostFocus(sender, e);
         TextBoxHelper.SetCaret(txtLGlobalLabels, caretIndex, origLength);
     }
 }
Exemple #4
0
 private void txtKGlobalLabels_KeyUp(object sender, KeyEventArgs e)
 {
     if (TextBoxHelper.CanEvalString(e))
     {
         var caretIndex = txtKGlobalLabels.CaretIndex;
         var origLength = txtKGlobalLabels.Text.Length;
         //List<string> labels = StringCollectionConverter.convert(txtKGlobalLabels.Text);
         //txtKGlobalLabels.Text = StringCollectionConverter.convert(labels);
         txtKGlobalLabels_LostFocus(sender, e);
         TextBoxHelper.SetCaret(txtKGlobalLabels, caretIndex, origLength);
     }
 }