public ProgramSettings() { Id = Guid.NewGuid(); Accounts = new List<CIVAccount>(); IsProtected = false; ShowUnitType = SIUnitTypes.Mo; Created = DateTime.Now; EmailSMTP = new SmtpSettings(); UserLanguage = SupportedLanguages.French; AutomaticSendReport = true; UploadColor = new ColorRGB(8, 141, 182); DownloadColor = new ColorRGB(221, 167, 15); CombinedColor = new ColorRGB(0, 100, 50); NextInternetAccesUpdate = DateTime.Now.AddDays(14); DisplayHistoryGraph = true; DashboardPosition = new Point(); MinimizeToTrayOnClose = false; SaveDisplayPosition = false; SystrayDisplay = true; // Affichage par défaut Display = new List<DisplayInfoTypes>(); DisplaySystray = new List<DisplayInfoTypes>(); Version = new CIVVersion("3.5.0.0"); IsPortable = File.Exists(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "portable")); }