Exemplo n.º 1
0
 /// <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();
     }
 }
Exemplo n.º 2
0
 /// <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();
     }
 }