Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 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;
 }
Esempio n. 4
0
 internal abstract Product factoryMethod(TV.TVPowerState PowerState, TV.TVInputState InputState, SurroundSound.SoundState SoundState, DVD.DVDState DVDState, Game.GameState GameState);
Esempio n. 5
0
 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);
 }