Esempio n. 1
0
 private void btnkeyboard_Click(object sender, EventArgs e)
 {
     RIL_IME.ShowIME("Letter Recognizer");
     foreach (Control v in this.Controls)
     {
         if (v is TextBox)
         {
             if (v.Enabled)
             {
                 v.Focus();
             }
         }
     }
 }
Esempio n. 2
0
 private void btnkeybord_Click(object sender, EventArgs e)
 {
     RIL_IME.ShowIME("Letter Recognizer");
     //foreach (Control v in this.Controls)
     //{
     //    if (v is TextBox)
     //    {
     //        if (v.Enabled)
     //            v.Focus();
     //    }
     //}
     co.Focus();
     (co as TextBox).SelectionStart = (co as TextBox).Text.Length;
 }