/// <summary> /// Get all changes from a given date. /// </summary> internal void LaunchHistoricChangesWindow() { if (!_isHistoricLaunched) { _historicChangesWindow = new HistoricChangesWindow(this); _historicChangesWindow.Closed += (s, e) => { _isHistoricLaunched = false; }; _historicChangesWindow.Show(); _isHistoricLaunched = true; } else { if (_historicChangesWindow.WindowState == WindowState.Minimized) { _historicChangesWindow.WindowState = WindowState.Normal; } _historicChangesWindow.Focus(); } }
/// <summary> /// Get all changes from a given date. /// </summary> internal void LaunchHistoricChangesWindow() { if (!_isHistoricLaunched) { _historicChangesWindow = new HistoricChangesWindow(this); _historicChangesWindow.Closed += (s, e) => { _isHistoricLaunched = false; }; _historicChangesWindow.Show(); _isHistoricLaunched = true; } else { if (_historicChangesWindow.WindowState == WindowState.Minimized) _historicChangesWindow.WindowState = WindowState.Normal; _historicChangesWindow.Focus(); } }