summaryrefslogtreecommitdiff
path: root/kurier/Properties
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-10-12 20:43:25 +0200
committeremkael <emkael@tlen.pl>2018-10-12 20:43:25 +0200
commit0550305e3f1f2558588b6b87a8c1b4004437ad3b (patch)
tree7e3ceec0e7b805fdd937535672ce16beffef9b31 /kurier/Properties
parent8465d82288402eacf28cba9cff5c29e798005408 (diff)
MySQL settings
Diffstat (limited to 'kurier/Properties')
-rw-r--r--kurier/Properties/Settings.Designer.cs80
-rw-r--r--kurier/Properties/Settings.settings26
2 files changed, 88 insertions, 18 deletions
diff --git a/kurier/Properties/Settings.Designer.cs b/kurier/Properties/Settings.Designer.cs
index 4e8a361..6ba5ba7 100644
--- a/kurier/Properties/Settings.Designer.cs
+++ b/kurier/Properties/Settings.Designer.cs
@@ -8,23 +8,79 @@
// </auto-generated>
//------------------------------------------------------------------------------
-namespace kurier.Properties
-{
-
-
+namespace kurier.Properties {
+
+
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
+
+ public static Settings Default {
+ get {
return defaultInstance;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("localhost")]
+ public string HOST {
+ get {
+ return ((string)(this["HOST"]));
+ }
+ set {
+ this["HOST"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("3306")]
+ public string PORT {
+ get {
+ return ((string)(this["PORT"]));
+ }
+ set {
+ this["PORT"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("root")]
+ public string USER {
+ get {
+ return ((string)(this["USER"]));
+ }
+ set {
+ this["USER"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("")]
+ public string PASS {
+ get {
+ return ((string)(this["PASS"]));
+ }
+ set {
+ this["PASS"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool CONFIGURED {
+ get {
+ return ((bool)(this["CONFIGURED"]));
+ }
+ set {
+ this["CONFIGURED"] = value;
+ }
+ }
}
}
diff --git a/kurier/Properties/Settings.settings b/kurier/Properties/Settings.settings
index 3964565..1749fb4 100644
--- a/kurier/Properties/Settings.settings
+++ b/kurier/Properties/Settings.settings
@@ -1,7 +1,21 @@
<?xml version='1.0' encoding='utf-8'?>
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
- <Profiles>
- <Profile Name="(Default)" />
- </Profiles>
- <Settings />
-</SettingsFile>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="kurier.Properties" GeneratedClassName="Settings">
+ <Profiles />
+ <Settings>
+ <Setting Name="HOST" Type="System.String" Scope="User">
+ <Value Profile="(Default)">localhost</Value>
+ </Setting>
+ <Setting Name="PORT" Type="System.String" Scope="User">
+ <Value Profile="(Default)">3306</Value>
+ </Setting>
+ <Setting Name="USER" Type="System.String" Scope="User">
+ <Value Profile="(Default)">root</Value>
+ </Setting>
+ <Setting Name="PASS" Type="System.String" Scope="User">
+ <Value Profile="(Default)" />
+ </Setting>
+ <Setting Name="CONFIGURED" Type="System.Boolean" Scope="User">
+ <Value Profile="(Default)">False</Value>
+ </Setting>
+ </Settings>
+</SettingsFile> \ No newline at end of file