Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app.config 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. </configSections>
  5. <connectionStrings>
  6. <add name="HX_PGS_ERP_SYS.My.MySettings.連線字串" connectionString="Data Source=192.168.1.63,2433;Initial Catalog=HX-GPS-ERP-SYS;Persist Security Info=True;User ID=B70340;Password=0911274990" providerName="System.Data.SqlClient" />
  7. <add name="HX_PGS_ERP_SYS.My.MySettings.設定" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\bin\Debug\HabitData.mdb;Persist Security Info=True" providerName="System.Data.OleDb" />
  8. </connectionStrings>
  9. <system.diagnostics>
  10. <sources>
  11. <!-- 這個區段定義 My.Application.Log 的記錄組態-->
  12. <source name="DefaultSource" switchName="DefaultSwitch">
  13. <listeners>
  14. <add name="FileLog" />
  15. <!-- 取消註解下列區段,以寫入應用程式事件記錄檔-->
  16. <!--<add name="EventLog"/>-->
  17. </listeners>
  18. </source>
  19. </sources>
  20. <switches>
  21. <add name="DefaultSwitch" value="Information" />
  22. </switches>
  23. <sharedListeners>
  24. <add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter" />
  25. <!-- 取消註解下列區段,並將 APPLICATION_NAME 取代成您的應用程式名稱,以寫入至應用程式事件記錄檔-->
  26. <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
  27. </sharedListeners>
  28. </system.diagnostics>
  29. <startup>
  30. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
  31. </startup>
  32. <runtime>
  33. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  34. <dependentAssembly>
  35. <assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  36. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  37. </dependentAssembly>
  38. <dependentAssembly>
  39. <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  40. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  41. </dependentAssembly>
  42. <dependentAssembly>
  43. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  44. <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
  45. </dependentAssembly>
  46. </assemblyBinding>
  47. </runtime>
  48. <appSettings>
  49. <add key="TelerikWinFormsThemeName" value="Fluent" /></appSettings></configuration>