/// <summary> /// Called on application exit to clear all the references. /// </summary> public override void ClearData() { foreach (ImageControlController obj in ImageControlControllerList) { obj.ClearData(); } ImageControlControllerList.Clear(); _dctImagePaths.Clear(); _activeImageControlController = null; PclsMainWindowView.ClearData(); PclsMainWindowViewModel.ClearData(); PclsMainWindowModel.ClearData(); base.ClearData(); }
/// <summary> /// Launches the MainWindow. /// </summary> public void ShowWindow() { PclsMainWindowView.ShowDialog(); PclsMainWindowView = null; }