/// <summary> /// Updates the tactile interface with the new display dimensions. /// </summary> private void updateDisplayDimensions() { // get the current active Adapter and get its dimensions // this is necessary to create content regions in correct size int width = 120; int height = 60; // get the dimensions of the current active devices' display area getActiveAdapterDimensions(ref width, ref height); gameScreen.Resize(width, height); startScreen.Resize(width, height); mainMenuScreen.Resize(width, height); saveMenuScreen.Resize(width, height); loadMenuScreen.Resize(width, height); pauseMenuScreen.Resize(width, height); }