Пример #1
0
        public void AddToGatesOrLEDsList(customControl referencingGateOrLED)
        {
            //Check that the gate isn't already existing in the list
            if(referencingGateOrLED.GetType() == typeof(Gate_Front)||
                referencingGateOrLED.GetType() == typeof(Output_Front))
            {
                GatesThatReferenceMeAsAnInput.Add(referencingGateOrLED);

            }
        }