Beispiel #1
0
        public cRemote( int numButtons)
        {
            onCommands = new Commands[numButtons];
            offCommands = new Commands[numButtons];

            Commands doNothing = new noCommand();
            for (int i = 0; i < numButtons; i++)
            {
                onCommands[i] = doNothing;
                offCommands[i] = doNothing;
            }
        }
Beispiel #2
0
        public cRemote(int numButtons)
        {
            onCommands  = new Commands[numButtons];
            offCommands = new Commands[numButtons];

            Commands doNothing = new noCommand();

            for (int i = 0; i < numButtons; i++)
            {
                onCommands[i]  = doNothing;
                offCommands[i] = doNothing;
            }
        }