// Please use the following namespace
// using System.Windows.Forms;
// using GrapeCity.Win.Editors;
public void GetReverseConversionListFromGcIme()
{
// Creates an instance of the GcTextBox control.
GcTextBox gcTextBox1 = new GcTextBox();
// Creates an instance of the GcComboBox control.
GcComboBox gcComboBox1 = new GcComboBox();
// Get a list of characters in an array that can be converted.
String[] sl = GcIme.GetReverseConversionList(gcTextBox1.Text);
gcComboBox1.Items.Clear();
foreach (string s in sl)
{
gcComboBox1.Items.Add(s);
}
// Sets the text of the GcComboBox and drop the list down.
if (sl.Length > 0)
{
gcComboBox1.Text = sl[0];
gcComboBox1.DroppedDown = true;
}
}
' Please use the following namespace
' Imports System.Windows.Forms;
' Imports GrapeCity.Win.Editors;
Public Sub GetReverseConversionListFromGcIme()
' Creates an instance of the GcTextBox control.
Dim gcTextBox1 As New GcTextBox()
' Creates an instance of the GcComboBox control.
Dim gcComboBox1 As New GcComboBox()
' Get a list of characters in an array that can be converted.
Dim sl As [String]() = GcIme.GetReverseConversionList(gcTextBox1.Text)
gcComboBox1.Items.Clear()
For Each s As String In sl
gcComboBox1.Items.Add(s)
Next
' Sets the text of the GcComboBox and drop the list down.
If sl.Length > 0 Then
gcComboBox1.Text = sl(0)
gcComboBox1.DroppedDown = True
End If
End Sub