Example #1
0
 public ShortcutKeysUI(ShortcutKeysEditor editor)
 {
     this.editor        = editor;
     this.keysConverter = null;
     this.End();
     this.InitializeComponent();
     this.AdjustSize();
 }
 public ShortcutKeysUI(ShortcutKeysEditor editor)
 {
     this.editor = editor;
     this.keysConverter = null;
     this.End();
     this.InitializeComponent();
     this.AdjustSize();
 }
Example #3
0
            public ShortcutKeysUI(ShortcutKeysEditor editor)
            {
                this.editor   = editor;
                keysConverter = null;
                End();
                InitializeComponent();
                AdjustSize();

#if DEBUG
                // Looking for duplicates in validKeys
                int keyCount = validKeys.Length;
                for (int key1 = 0; key1 < keyCount - 1; key1++)
                {
                    for (int key2 = key1 + 1; key2 < keyCount; key2++)
                    {
                        Debug.Assert((int)validKeys[key1] != (int)validKeys[key2]);
                    }
                }
#endif
            }