gongqiuhong 1 year ago
parent
commit
dea7fb7434

+ 3 - 0
XdCxRhDW.App/Properties/licenses.licx

@@ -0,0 +1,3 @@
+DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v23.2, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
+DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v23.2, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
+DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v23.2, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

+ 3 - 1
XdCxRhDW.App/UserControl/CtrlSysSettings.cs

@@ -89,7 +89,9 @@ namespace XdCxRhDW.App.UserControl
                     {
                         res.ServerIp = txtIp.Text;
                         res.Port = Convert.ToInt32(txtPort.Text);
-                        res.XLDirectory = textEdit1.Text;
+                        res.HttpPort = Convert.ToInt32(txtHttpPort.Text);
+                        res.XLDirectory = txtXLDirectory.Text;
+                        res.MapService = txtMapService.Text;
                     }
                     
                     await db.SaveChangesAsync();

+ 1 - 0
XdCxRhDW.App/XdCxRhDW.App.csproj

@@ -357,6 +357,7 @@
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </None>
     <None Include="packages.config" />
+    <EmbeddedResource Include="Properties\licenses.licx" />
     <EmbeddedResource Include="Properties\Resources.resx">
       <Generator>ResXFileCodeGenerator</Generator>
       <LastGenOutput>Resources.Designer.cs</LastGenOutput>