Beispiel #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (langIDs != null)
     {
         if (listBox1.SelectedIndex != -1)
         {
             TSFWrapper.ActiveInputMethodWithDesc(1028, (string)listBox1.SelectedItem);
         }
     }
 }
Beispiel #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     langIDs = TSFWrapper.GetLangIDs();
     if (langIDs.Length > 0)
     {
         string[] list = TSFWrapper.GetInputMethodList(1028);
         foreach (string desc in list)
         {
             listBox1.Items.Add(desc);
         }
     }
 }
Beispiel #3
0
 private void button4_Click(object sender, EventArgs e)
 {
     MessageBox.Show(TSFWrapper.GetCurrentInputMethodDesc(langIDs[0]));
 }
Beispiel #4
0
 private void button3_Click(object sender, EventArgs e)
 {
     TSFWrapper.DeActiveInputMethod(1028);
 }