/// <summary> /// Removes this window from the Window Manager. /// </summary> /// <param name="e"></param> protected override void OnButtonDown(ButtonEventArgs e) { // Removes this window form the Window Manager. this.Close(); // When any button is pressed, go back to the Home page. _program.GoHome(); }