public Product(TV.TVPowerState PowerState, TV.TVInputState InputState, SurroundSound.SoundState SoundState, DVD.DVDState DVDState, Game.GameState GameState) { InitializeComponent(); pwrState.Text = PowerState.ToString(); inpState.Text = InputState.ToString(); sndState.Text = SoundState.ToString(); dvdState.Text = DVDState.ToString(); gameState.Text = GameState.ToString(); }
internal override Product factoryMethod(TV.TVPowerState PowerState, TV.TVInputState InputState, SurroundSound.SoundState SoundState, DVD.DVDState DVDState, Game.GameState GameState) { return(new ConcreteProduct(PowerState, InputState, SoundState, DVDState, GameState)); }
public ConcreteProduct(TV.TVPowerState PowerState, TV.TVInputState InputState, SurroundSound.SoundState SoundState, DVD.DVDState DVDState, Game.GameState GameState) { product = new Product(PowerState, InputState, SoundState, DVDState, GameState); product.Visible = true; }
internal abstract Product factoryMethod(TV.TVPowerState PowerState, TV.TVInputState InputState, SurroundSound.SoundState SoundState, DVD.DVDState DVDState, Game.GameState GameState);
public void MakeSettings(TV.TVPowerState PowerState, TV.TVInputState InputState, SurroundSound.SoundState SoundState, DVD.DVDState DVDState, Game.GameState GameState) { Product product = factoryMethod(PowerState, InputState, SoundState, DVDState, GameState); }