Esempio n. 1
0
 private void HandleFocus(Object sender, EventArgs e)
 {
     if (this.State == TextEditingState.Active)
     {
         this.State = TextEditingState.Editing;
     }
     else if (this.State == TextEditingState.Validated)
     {
         this.State = TextEditingState.Editing2;
     }
     else if (this.State == TextEditingState.Editing2)
     {
         this.State = TextEditingState.Editing;
     }
 }
Esempio n. 2
0
    private void HandleFocus(Object sender, EventArgs e) {
      if (this.State == TextEditingState.Active) {
        this.State = TextEditingState.Editing;
      } else if (this.State == TextEditingState.Validated) {

        this.State = TextEditingState.Editing2;



      } else if (this.State == TextEditingState.Editing2) {
        this.State = TextEditingState.Editing;
      }
    }