26-01-15, 10:47 AM
كود :
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WedHalls.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<connectionStrings>
<add name="WedHalls.My.MySettings.WedHallsConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\aw\Desktop\WedHallss\WedHalls\WedHalls\WedHalls.mdf;Integrated Security=True;Connect Timeout=30;User Instance=False"
providerName="System.Data.SqlClient" />
<add name="WedHalls.My.MySettings.Database2ConnectionString"
connectionString="Data Source=|DataDirectory|\Database2.sdf"
providerName="Microsoft.SqlServerCe.Client.4.0" />
</connectionStrings>
<system.diagnostics>
<sources>
<!-- This section defines the logging configuration for My.Application.Log -->
<source name="DefaultSource" switchName="DefaultSwitch">
<listeners>
<add name="FileLog"/>
<!-- Uncomment the below section to write to the Application Event Log -->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSwitch" value="Information"/>
</switches>
<sharedListeners>
<add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/>
<!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
</sharedListeners>
</system.diagnostics>
<appSettings>
<add key="WedHallsConn" value="Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\aw\Desktop\WedHallss\WedHalls\WedHalls\WedHalls.mdf;Integrated Security=True;Connect Timeout=30;User Instance=False"/>
<add key="LogFileName" value="WedHalls.txt"/>
<add key="LogPath" value="C:\cLogs\WedHalls\"/>
</appSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup><userSettings>
<WedHalls.My.MySettings>
<setting name="day" serializeAs="String">
<value />
</setting>
<setting name="month" serializeAs="String">
<value />
</setting>
<setting name="year" serializeAs="String">
<value />
</setting>
<setting name="checked" serializeAs="String">
<value>False</value>
</setting>
</WedHalls.My.MySettings>
</userSettings>
</configuration>ملف app
