windows: remove sparkleabout resource files

This commit is contained in:
Hylke Bons 2012-03-03 14:06:59 +00:00
parent 019e76cdbd
commit e2d984daa9
3 changed files with 9 additions and 15 deletions

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -73,7 +73,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.XML" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="Properties\" /> <Folder Include="Properties\" />

View file

@ -22,11 +22,12 @@ using System.Drawing;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Net; using System.Net;
using System.Windows.Forms; using System.Windows;
using System.Windows.Controls;
namespace SparkleShare { namespace SparkleShare {
public class SparkleAbout : Form { public class SparkleAbout : Window {
public SparkleAboutController Controller = new SparkleAboutController (); public SparkleAboutController Controller = new SparkleAboutController ();
@ -74,6 +75,7 @@ namespace SparkleShare {
Controller.ShowWindowEvent += delegate { Controller.ShowWindowEvent += delegate {
Invoke ((Action) delegate { Invoke ((Action) delegate {
Show (); Show ();
Activate ();
}); });
}; };

View file

@ -115,16 +115,12 @@
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon> <DependentUpon>Resources.resx</DependentUpon>
</Compile> </Compile>
<Compile Include="SparkleAbout.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SparkleAbout.Designer.cs">
<DependentUpon>SparkleAbout.cs</DependentUpon>
</Compile>
<Compile Include="..\SparkleSetupController.cs" /> <Compile Include="..\SparkleSetupController.cs" />
<Compile Include="..\SparkleUI.cs" /> <Compile Include="..\SparkleUI.cs" />
<Compile Include="..\SparkleAboutController.cs" /> <Compile Include="..\SparkleAboutController.cs" />
<Compile Include="SparkleBubbles.cs" /> <Compile Include="SparkleBubbles.cs" />
<Compile Include="SparkleAbout.cs" />
<Compile Include="SparkleController.cs" /> <Compile Include="SparkleController.cs" />
<Compile Include="SparkleEventLog.cs"> <Compile Include="SparkleEventLog.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
@ -217,10 +213,6 @@
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="SparkleAbout.resx">
<DependentUpon>SparkleAbout.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="SparkleEventLog.resx"> <EmbeddedResource Include="SparkleEventLog.resx">
<DependentUpon>SparkleEventLog.cs</DependentUpon> <DependentUpon>SparkleEventLog.cs</DependentUpon>
<SubType>Designer</SubType> <SubType>Designer</SubType>
@ -403,4 +395,4 @@
<ItemGroup> <ItemGroup>
<Content Include="..\..\data\icons\sparkleshare.ico" /> <Content Include="..\..\data\icons\sparkleshare.ico" />
</ItemGroup> </ItemGroup>
</Project> </Project>