private void LoadWindowBounds( Settings settings )
 {
     try
     {
         if( settings.WindowLocation != Point.Empty && settings.WindowSize != Size.Empty )
         {
             Bounds = new Rectangle( settings.WindowLocation, settings.WindowSize );
         }
     }
     catch( Exception )
     {
         // This is probably the first time the app has been run
     }
 }
 private void LoadSearchResults( Settings settings )
 {
     try
     {
         CurrentDataSet = ToDataSet( settings.SearchResults );
     }
     catch( Exception )
     {
         // This is probably the first time the app has been run
     }
 }
 private void LoadScmSystem( Settings settings )
 {
     string scmSystemId = settings.LastScmSystem;
     foreach( IScmSystemHook hook in scmSystem.Items )
     {
         if( hook.ToString() == scmSystemId )
         {
             scmSystem.SelectedItem = hook;
             return;
         }
     }
 }