예제 #1
0
        public IWindow CreateWindow(IGUIFactory guiFactoryfactory)
        {
            var window = guiFactoryfactory.Window();
            var button = guiFactoryfactory.Button();
            var label  = guiFactoryfactory.Label();

            window.AddChild(button);
            window.AddChild(label);
            return(window);
        }