Esempio n. 1
0
 /// @copydoc IBindingProfile::OnCurrentLayoutElementChanged
 public void OnCurrentLayoutElementChanged()
 {
     this.CanChangeProfile = false;
     if (!App.Profile.Current.IsWindowValid)
     {
         TextBoxError.SetError(this.WindowCaption);
     }
     else
     {
         TextBoxError.ResetError(this.WindowCaption);
     }
     this.WindowCaption.Text = StringConverter.GetWindowCaption(App.Profile.Current);
     this.CanChangeProfile   = true;
 }
        //===================================================================
        // 入力エラー処理
        //===================================================================

        /// enumを指定してTextBoxのエラー状態解除
        private void ResetError(SWScale name)
        {
            TextBoxError.ResetError(this.GetTextBox(name), this.GetToolTip(name));
        }
        //===================================================================
        // 入力エラー処理
        //===================================================================

        /// enumを指定してTextBoxのエラー状態解除
        private void ResetError(BoundRelative name)
        {
            TextBoxError.ResetError(this.GetTextBox(name), this.GetToolTip(name));
        }
Esempio n. 4
0
        //===================================================================
        // 入力エラー処理
        //===================================================================

        /// enumを指定してTextBoxのエラー状態解除
        private void ResetError(Clipping name)
        {
            TextBoxError.ResetError(this.GetTextBox(name), this.GetToolTip(name));
        }