// Please use the following namespace
// using System.Windows.Forms;
// using GrapeCity.Win.Editors;
public void ConvertWithTargetControlMethod()
{
// Creates an instance of the GcTextBox control.
GcTextBox gcTextBox1 = new GcTextBox();
// Sets the ImeMode to Hiragana.
gcTextBox1.ImeMode = ImeMode.Hiragana;
// Converts the string and insert to the gcTextBox1.
GcIme.Convert(gcTextBox1, "グレープシティかぶしきがいしゃ", ConvertMode.ShowCandidate);
}
' Please use the following namespace
' Imports System.Windows.Forms;
' Imports GrapeCity.Win.Editors;
Public Sub ConvertWithTargetControlMethod()
' Creates an instance of the GcTextBox control.
Dim gcTextBox1 As New GcTextBox()
' Sets the ImeMode to Hiragana.
gcTextBox1.ImeMode = ImeMode.Hiragana
' Converts the string and insert to the gcTextBox1.
GcIme.Convert(gcTextBox1, "グレープシティかぶしきがいしゃ", ConvertMode.ShowCandidate)
End Sub