Esempio n. 1
0
        private void ClientMethod(IGUIFactory winFactory)
        {
            var Button   = winFactory.CrearBoton();
            var Checkbox = winFactory.CrearCheckbox();

            Console.WriteLine(Checkbox.UsefulFunctionCheckbox());
            Console.WriteLine(Checkbox.AnotherUsefulFunctionCheckbox(Button));
        }