Beispiel #1
0
 /// <param name="virtualKeyCode">Virtual key code of <see cref="Key"/></param>
 /// <param name="controlKeyState">Control states of <see cref="Key"/></param>
 /// <param name="text">See <see cref="Text"/></param>
 /// <param name="longText">See <see cref="LongText"/></param>
 public KeyBar(int virtualKeyCode, ControlKeyStates controlKeyState, string text, string longText)
 {
     Key      = new KeyData(virtualKeyCode, controlKeyState);
     Text     = text;
     LongText = longText;
 }
Beispiel #2
0
 /// <param name="virtualKeyCode">Virtual key code of <see cref="Key"/></param>
 /// <param name="controlKeyState">Control states of <see cref="Key"/></param>
 /// <param name="text">See <see cref="Text"/></param>
 /// <param name="longText">See <see cref="LongText"/></param>
 public KeyBar(int virtualKeyCode, ControlKeyStates controlKeyState, string text, string longText)
 {
     Key = new KeyData(virtualKeyCode, controlKeyState);
     Text = text;
     LongText = longText;
 }