Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
		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);
			}
		}
Esempio n. 3
0
 public static void GetSettings()
 {
     // get the settings class from the settings manager
     MapDownloadToolSettings = (ServerMapDownloadToolSettings)Settings.SettingsManager.GetSettings("OpenSauceIDE.MapServerDownloadTool.Settings", typeof(ServerMapDownloadToolSettings));
 }
Esempio n. 4
0
		public static void GetSettings()
		{
			// get the settings class from the settings manager
			MapDownloadToolSettings = (ServerMapDownloadToolSettings)Settings.SettingsManager.GetSettings("OpenSauceIDE.MapServerDownloadTool.Settings", typeof(ServerMapDownloadToolSettings));
		}