예제 #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();
 }
예제 #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;
 }
예제 #4
0
 internal abstract Product factoryMethod(TV.TVPowerState PowerState, TV.TVInputState InputState, SurroundSound.SoundState SoundState, DVD.DVDState DVDState, Game.GameState GameState);
예제 #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);
 }