Added logic so that FormatUpdate doesn’t work in production mode

Added Folder Browser to select Format Folder
Added FormatFolder setting to update formats
This commit is contained in:
Rich
2012-04-20 15:17:38 +00:00
parent ed896b70c1
commit 31b5ba8c7b
5 changed files with 40 additions and 3 deletions

View File

@@ -267,5 +267,17 @@ namespace VEPROMS.Properties {
this["LastVersion"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("C:\\Development")]
public string FormatPath {
get {
return ((string)(this["FormatPath"]));
}
set {
this["FormatPath"] = value;
}
}
}
}

View File

@@ -65,5 +65,8 @@
<Setting Name="LastVersion" Type="System.String" Scope="User">
<Value Profile="(Default)">0.0</Value>
</Setting>
<Setting Name="FormatPath" Type="System.String" Scope="User">
<Value Profile="(Default)">C:\Development</Value>
</Setting>
</Settings>
</SettingsFile>