public static void GetSettings() { // get the settings class from the settings manager MapDownloadToolSettings = Settings.SettingsManager.GetSettings(typeof(ServerMapDownloadToolSettings)) as ServerMapDownloadToolSettings; // if there is no settings object, create a new one if (MapDownloadToolSettings == null) { MapDownloadToolSettings = new ServerMapDownloadToolSettings(); Settings.SettingsManager.AddSettings(MapDownloadToolSettings); } }
public static void GetSettings() { // get the settings class from the settings manager MapDownloadToolSettings = Settings.SettingsManager.GetSettings(typeof(ServerMapDownloadToolSettings)) as ServerMapDownloadToolSettings; // if there is no settings object, create a new one if (MapDownloadToolSettings == null) { MapDownloadToolSettings = new ServerMapDownloadToolSettings(); Settings.SettingsManager.AddSettings(MapDownloadToolSettings); } }
public static void GetSettings() { // get the settings class from the settings manager MapDownloadToolSettings = (ServerMapDownloadToolSettings)Settings.SettingsManager.GetSettings("OpenSauceIDE.MapServerDownloadTool.Settings", typeof(ServerMapDownloadToolSettings)); }
public static void GetSettings() { // get the settings class from the settings manager MapDownloadToolSettings = (ServerMapDownloadToolSettings)Settings.SettingsManager.GetSettings("OpenSauceIDE.MapServerDownloadTool.Settings", typeof(ServerMapDownloadToolSettings)); }