Provides a set of static methods to work with Japanese encodings.
public static class CharHelper
'Declaration
Public MustInherit NotInheritable Class CharHelper
Shows how to use
CharHelper in
System.Windows.Forms.Control.KeyPress event handler for conditioning filtering inputs.
private void c1TextBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (CharHelper.IsKatakana(e.KeyChar))
e.KeyChar = CharHelper.ToHiragana(e.KeyChar);
}
System.Object
C1.Win.Input.CharHelper