public AddVehicleWindow(object gManager)
        {
            InitializeComponent();
            gMngr = (GarageManager)gManager;

            var elements = new List <UIElement> {
                regnrTxt, wheelsTxt, colorTxt
            };

            addEventListeners(elements);
        }
Example #2
0
 public AddGarage(object gManager)
 {
     InitializeComponent();
     gMngr = (GarageManager)gManager;
 }