Exemplo n.º 1
0
 public MainWindow()
 {
     InitializeComponent();
     doorLabel.Content = "Door is closed";
     engine            = new Engine();
     Dm   = new DoorManager();
     Tm   = new TemperatureManager(Dm, engine, this);
     main = this;
     currentTemperature.Content = "Current temperature : " + Tm.temperature.ToString();
 }
Exemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     doorLabel.Content = "Door is closed";
     engine = new Engine();
     Dm = new DoorManager();
     Tm = new TemperatureManager(Dm, engine, this);
     main = this;
     currentTemperature.Content = "Current temperature : " + Tm.temperature.ToString();
 }