/// <summary> /// Method that contains code to open Maintenance window /// and close Add window. /// </summary> private void BackToMaintenance(IClosable window) { var mainWindow = new MembershipMaintenance(); mainWindow.Show(); window.Close(); }
// Method for opening Main View and closing Change View. private void BackToMaintenance(IClosable window) { var mainView = new MembershipMaintenance(); mainView.Show(); if (window != null) { window.Close(); } }