void LoadLauncherSettings() { Log( "LoadLauncherSettings" ); SettingsFile settings = new SettingsFile(); if( File.Exists( Paths.LauncherSettingsFile ) ) { settings.Load( Paths.LauncherSettingsFile ); } bool saveUsername = settings.GetBool( "rememberUsername", true ); bool multiUser = settings.GetBool( "multiUser", false ); bool savePassword = settings.GetBool( "rememberPassword", false ); bool saveUrl = settings.GetBool( "rememberServer", true ); GameUpdateMode gameUpdateMode = settings.GetEnum( "gameUpdateMode", GameUpdateMode.Ask ); StartingTab startingTab = settings.GetEnum( "startingTab", StartingTab.SignIn ); xRememberUsername.Checked = saveUsername; xMultiUser.Checked = multiUser; xRememberPassword.Checked = savePassword; xRememberServer.Checked = saveUrl; cGameUpdates.SelectedIndex = (int)gameUpdateMode; cStartingTab.SelectedIndex = (int)startingTab; settingsLoaded = true; }