public ElevatorDisplay(Drawer d, Manager c) { drawObj = d; cManager = c; InitializeComponent(); }
public void StartElevator() { spawnPoint = new Point(e.Width + 60, 40); DrawSize = new Size(((e.Width * 3) + 80), s.Height + 90); e.Position = spawnPoint; e.Floor = s.Floors - 1; eDoors.DoorVal = eDoors.DoorValMax; s.Position = spawnPoint; control = new Manager(e, eButton, eDisplay, eDoors, sDoors, s, sButton, sDisplay); new ElevatorDisplay(this, control).Show(); }