private void txtFill_LostFocus(object sender, RoutedEventArgs e)
 {
     if (SurveyHelper.IsTouch == "IsTouch_true")
     {
         SurveyTaptip.HideInputPanel();
     }
 }
Exemple #2
0
        private void method_10(object sender, RoutedEventArgs e = null)
        {
            Brush   foreground = (Brush) new BrushConverter().ConvertFromString("White");
            TextBox textBox    = (TextBox)sender;
            int     num        = (int)textBox.Tag;

            this._CurrentTextBox                = num;
            textBox.Text                        = textBox.Text.Trim();
            this.listTexts[num].Foreground      = foreground;
            this.listLeftTexts[num].Foreground  = foreground;
            this.listRightTexts[num].Foreground = foreground;
            if (SurveyHelper.IsTouch == "IsTouch_true")
            {
                SurveyTaptip.HideInputPanel();
            }
            if (this._nLastTextBox > 1 && this.listFills[this._nLastTextBox].Text == "" && this.listFills[this._nLastTextBox - 1].Text == "")
            {
                this.listW[this._nLastTextBox].Visibility = Visibility.Collapsed;
                this._nLastTextBox--;
            }
        }