Skip to content

Commit

Permalink
[#] All forms use one Icon. Change configuration file path.
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyadanli committed Apr 4, 2018
1 parent 685f841 commit e2f5f94
Show file tree
Hide file tree
Showing 13 changed files with 170 additions and 7,065 deletions.
2 changes: 1 addition & 1 deletion PasteEx/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</configSections>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="PasteEx/Language" />
<probing privatePath="Language" />
</assemblyBinding>
</runtime>
<startup>
Expand Down
9 changes: 5 additions & 4 deletions PasteEx/FormMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,948 changes: 152 additions & 1,796 deletions PasteEx/FormMain.resx

Large diffs are not rendered by default.

1,656 changes: 0 additions & 1,656 deletions PasteEx/FormMain.zh-CN.resx

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions PasteEx/FormSetting.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,656 changes: 0 additions & 1,656 deletions PasteEx/FormSetting.resx

Large diffs are not rendered by default.

1,656 changes: 0 additions & 1,656 deletions PasteEx/FormSetting.zh-CN.resx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion PasteEx/MySettingsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed class MySettingsProvider : SettingsProvider, IApplicationSettingsP
private const string _globalSettingsNodeName = "globalSettings";
private const string _className = "MySettingsProvider";

public string _path = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "PasteEx", "PasteEx.settings");
public string _path = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "User", "PasteEx.settings");

private XmlDocument _xmlDocument;

Expand Down
9 changes: 6 additions & 3 deletions PasteEx/PasteEx.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<AssemblyName>PasteEx</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
Expand All @@ -22,7 +23,6 @@
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
Expand Down Expand Up @@ -125,7 +125,10 @@
<EmbeddedResource Include="FormSetting.zh-CN.resx">
<DependentUpon>FormSetting.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources1.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Resources\Strings.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
Expand Down Expand Up @@ -163,7 +166,7 @@
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy /s /y zh-CN PasteEx\Language\zh-CN\
<PostBuildEvent>xcopy /s /y zh-CN Language\zh-CN\
rd /s /q zh-CN</PostBuildEvent>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions PasteEx/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion PasteEx/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="ico" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Image\ico.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\Image\ico.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="loading" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Image\loading.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
Expand Down
Loading

0 comments on commit e2f5f94

Please sign in to comment.