Renamed the database selector form to "Login Form" and updated its UI. Moved database initialization to the login form. Made the exit file menu option on the main form functional.

This commit is contained in:
2017-04-13 02:59:34 -05:00
parent a67dd966bd
commit 7b2a93cbf6
14 changed files with 6591 additions and 286 deletions
+13 -1
View File
@@ -12,7 +12,7 @@ namespace AdvertsingProfitControl.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.0.1.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -34,5 +34,17 @@ namespace AdvertsingProfitControl.Properties {
this["ConnectionString"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("(LocalDb)\\MSSQLLocalDB")]
public string DefaultServer {
get {
return ((string)(this["DefaultServer"]));
}
set {
this["DefaultServer"] = value;
}
}
}
}
@@ -5,5 +5,8 @@
<Setting Name="ConnectionString" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="DefaultServer" Type="System.String" Scope="User">
<Value Profile="(Default)">(LocalDb)\MSSQLLocalDB</Value>
</Setting>
</Settings>
</SettingsFile>