public Settings(IGUIFactory factory) { button = factory.CreateButton(); button.Command(); appearance = factory.ApplyBackground(); appearance.SetBackground(); }