private static void AddKeys(WinFormsKeys fromKey, Keys toKey)
 {
     if (!mapKeys.ContainsKey((VirtualKey)fromKey))
     {
         mapKeys.Add((VirtualKey)fromKey, toKey);
     }
 }
Пример #2
0
 private static void AddKeys(WinFormsKeys fromKey, Keys toKey)
 {
     if (!mapKeys.ContainsKey((VirtualKey)fromKey))
     {
         mapKeys.Add((VirtualKey)fromKey, toKey);
     }
 }