WIP - main form change

This commit is contained in:
szporowolik
2019-09-12 16:00:53 +02:00
parent 4900ef4888
commit 52ecfda6c5
7 changed files with 112 additions and 285 deletions

View File

@@ -133,49 +133,25 @@ namespace Perun_v1.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string OTHER_LOTATC_FILE2 {
[global::System.Configuration.DefaultSettingValueAttribute("48620")]
public int DCS_Server_Port {
get {
return ((string)(this["OTHER_LOTATC_FILE2"]));
return ((int)(this["DCS_Server_Port"]));
}
set {
this["OTHER_LOTATC_FILE2"] = value;
this["DCS_Server_Port"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string OTHER_SRS_FILE2 {
[global::System.Configuration.DefaultSettingValueAttribute("1")]
public int DCS_Instance {
get {
return ((string)(this["OTHER_SRS_FILE2"]));
return ((int)(this["DCS_Instance"]));
}
set {
this["OTHER_SRS_FILE2"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool OTHER_LOTATC_USE2 {
get {
return ((bool)(this["OTHER_LOTATC_USE2"]));
}
set {
this["OTHER_LOTATC_USE2"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool OTHER_SRS_USE2 {
get {
return ((bool)(this["OTHER_SRS_USE2"]));
}
set {
this["OTHER_SRS_USE2"] = value;
this["DCS_Instance"] = value;
}
}
}

View File

@@ -29,17 +29,11 @@
<Setting Name="MYSQL_Port" Type="System.String" Scope="User">
<Value Profile="(Default)">3306</Value>
</Setting>
<Setting Name="OTHER_LOTATC_FILE2" Type="System.String" Scope="User">
<Value Profile="(Default)" />
<Setting Name="DCS_Server_Port" Type="System.Int32" Scope="User">
<Value Profile="(Default)">48620</Value>
</Setting>
<Setting Name="OTHER_SRS_FILE2" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="OTHER_LOTATC_USE2" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="OTHER_SRS_USE2" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
<Setting Name="DCS_Instance" Type="System.Int32" Scope="User">
<Value Profile="(Default)">1</Value>
</Setting>
</Settings>
</SettingsFile>