private void WriteSettings(string path, Settings settings)
 {
     try
     {
         ImpSerializer.WriteFileXml(path, settings, settings.GetType());
     }
     catch
     {
         return;
     }
 }
 protected BaseController()
 {
     try
     {
         this.Settings = (Settings)ImpSerializer.ReadFile(this.settingsPath, typeof(Settings));
     }
     catch // (Exception e)
     {
         this.Settings = new Settings();
     }
 }