PFKeyboard.NET: Touchscreen Keyboard-control Winforms
With our Winforms Keyboard-control for touchscreen you can design full-featured
touchscreen applications that run without real keyboard or mouse-input
(Metro-applications).
You can define a list of keysets that can be changed dynamically on runtime:
Also custom keyboards can be created easily:
Here is a sample-code in C# for creating a custom virtual keyboard:
private void AddKey(KeySet setUmlaute, string text, string upperText)
{
KeyRow row = new KeyRow();
row.Add(new Key(text, upperText));
setUmlaute.Add(row);
}
keyboardCustom.ClearKeySets();
KeySet setUmlaute = new KeySet();
AddKey(setUmlaute, "ö", "Ö");
AddKey(setUmlaute, "ü", "Ü");
AddKey(setUmlaute, "ä", "Ä");
KeyRow rowShift = new KeyRow();
rowShift.Add(new ShiftKey(Key.DEFAULT_WIDTH, Color.FromArgb(25, 25, 33)));
setUmlaute.Add(rowShift);
keyboardCustom.AddKeySet(setUmlaute);