Skip to content

Commit fa15326

Browse files
SvenGrootaugustoproiete
authored andcommitted
Add initial version by Sven Groot from fdf11ca
This is just to give credit to Sven Groot for initially creating Ookii Dialogs I should have set him as the author of commit `fdf11ca`, so this is correcting that
1 parent d767956 commit fa15326

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+575
-565
lines changed

sample/Ookii.Dialogs.Wpf.Sample/App.config

Lines changed: 0 additions & 6 deletions
This file was deleted.

sample/Ookii.Dialogs.Wpf.Sample/Ookii.Dialogs.Wpf.Sample.csproj

Lines changed: 0 additions & 42 deletions
This file was deleted.

sample/Ookii.Dialogs.Wpf.Sample/app.manifest

Lines changed: 0 additions & 73 deletions
This file was deleted.

sample/Ookii.Dialogs.Wpf.Sample/App.xaml.cs renamed to src/Ookii.Dialogs.Wpf.Sample/App.xaml.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using System.Windows;
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Configuration;
4+
using System.Data;
5+
using System.Linq;
6+
using System.Windows;
27

38
namespace Ookii.Dialogs.Wpf.Sample
49
{

sample/Ookii.Dialogs.Wpf.Sample/MainWindow.xaml.cs renamed to src/Ookii.Dialogs.Wpf.Sample/MainWindow.xaml.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
25
using System.Windows;
6+
using System.Windows.Controls;
7+
using System.Windows.Data;
8+
using System.Windows.Documents;
9+
using System.Windows.Input;
10+
using System.Windows.Media;
11+
using System.Windows.Media.Imaging;
12+
using System.Windows.Navigation;
13+
using System.Windows.Shapes;
314
using System.Threading;
415
using System.ComponentModel;
516

@@ -22,7 +33,7 @@ public MainWindow()
2233
{
2334
InitializeComponent();
2435

25-
_sampleProgressDialog.DoWork += new DoWorkEventHandler(_sampleProgressDialog_DoWork);
36+
_sampleProgressDialog.DoWork += new System.ComponentModel.DoWorkEventHandler(_sampleProgressDialog_DoWork);
2637
}
2738

2839

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>9.0.30729</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{E38181B2-E8E5-466D-9099-33FE75B4CFA1}</ProjectGuid>
9+
<OutputType>WinExe</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>Ookii.Dialogs.Wpf.Sample</RootNamespace>
12+
<AssemblyName>Ookii.Dialogs.Wpf.Sample</AssemblyName>
13+
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14+
<FileAlignment>512</FileAlignment>
15+
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
16+
<WarningLevel>4</WarningLevel>
17+
<ApplicationManifest>app.manifest</ApplicationManifest>
18+
<ApplicationIcon>ookii.ico</ApplicationIcon>
19+
<SignAssembly>true</SignAssembly>
20+
<AssemblyOriginatorKeyFile>ookii.snk</AssemblyOriginatorKeyFile>
21+
</PropertyGroup>
22+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
23+
<DebugSymbols>true</DebugSymbols>
24+
<DebugType>full</DebugType>
25+
<Optimize>false</Optimize>
26+
<OutputPath>bin\Debug\</OutputPath>
27+
<DefineConstants>DEBUG;TRACE</DefineConstants>
28+
<ErrorReport>prompt</ErrorReport>
29+
<WarningLevel>4</WarningLevel>
30+
</PropertyGroup>
31+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
32+
<DebugType>pdbonly</DebugType>
33+
<Optimize>true</Optimize>
34+
<OutputPath>bin\Release\</OutputPath>
35+
<DefineConstants>TRACE</DefineConstants>
36+
<ErrorReport>prompt</ErrorReport>
37+
<WarningLevel>4</WarningLevel>
38+
</PropertyGroup>
39+
<ItemGroup>
40+
<Reference Include="System" />
41+
<Reference Include="System.Core">
42+
<RequiredTargetFramework>3.5</RequiredTargetFramework>
43+
</Reference>
44+
<Reference Include="System.Xml.Linq">
45+
<RequiredTargetFramework>3.5</RequiredTargetFramework>
46+
</Reference>
47+
<Reference Include="System.Data.DataSetExtensions">
48+
<RequiredTargetFramework>3.5</RequiredTargetFramework>
49+
</Reference>
50+
<Reference Include="System.Data" />
51+
<Reference Include="System.Xml" />
52+
<Reference Include="WindowsBase" />
53+
<Reference Include="PresentationCore" />
54+
<Reference Include="PresentationFramework" />
55+
</ItemGroup>
56+
<ItemGroup>
57+
<ApplicationDefinition Include="App.xaml">
58+
<Generator>MSBuild:Compile</Generator>
59+
<SubType>Designer</SubType>
60+
</ApplicationDefinition>
61+
<Page Include="MainWindow.xaml">
62+
<Generator>MSBuild:Compile</Generator>
63+
<SubType>Designer</SubType>
64+
</Page>
65+
<Compile Include="App.xaml.cs">
66+
<DependentUpon>App.xaml</DependentUpon>
67+
<SubType>Code</SubType>
68+
</Compile>
69+
<Compile Include="MainWindow.xaml.cs">
70+
<DependentUpon>MainWindow.xaml</DependentUpon>
71+
<SubType>Code</SubType>
72+
</Compile>
73+
</ItemGroup>
74+
<ItemGroup>
75+
<Compile Include="Properties\AssemblyInfo.cs">
76+
<SubType>Code</SubType>
77+
</Compile>
78+
<Compile Include="Properties\Resources.Designer.cs">
79+
<AutoGen>True</AutoGen>
80+
<DesignTime>True</DesignTime>
81+
<DependentUpon>Resources.resx</DependentUpon>
82+
</Compile>
83+
<Compile Include="Properties\Settings.Designer.cs">
84+
<AutoGen>True</AutoGen>
85+
<DependentUpon>Settings.settings</DependentUpon>
86+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
87+
</Compile>
88+
<EmbeddedResource Include="Properties\Resources.resx">
89+
<Generator>ResXFileCodeGenerator</Generator>
90+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
91+
</EmbeddedResource>
92+
<None Include="app.manifest" />
93+
<None Include="ookii.snk" />
94+
<None Include="Properties\Settings.settings">
95+
<Generator>SettingsSingleFileGenerator</Generator>
96+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
97+
</None>
98+
<AppDesigner Include="Properties\" />
99+
</ItemGroup>
100+
<ItemGroup>
101+
<ProjectReference Include="..\Ookii.Dialogs.Wpf\Ookii.Dialogs.Wpf.csproj">
102+
<Project>{D01B1D20-8F5B-4834-8E5C-C7EC6DD587D4}</Project>
103+
<Name>Ookii.Dialogs.Wpf</Name>
104+
</ProjectReference>
105+
</ItemGroup>
106+
<ItemGroup>
107+
<Content Include="ookii.ico" />
108+
</ItemGroup>
109+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
110+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
111+
Other similar extension points exist, see Microsoft.Common.targets.
112+
<Target Name="BeforeBuild">
113+
</Target>
114+
<Target Name="AfterBuild">
115+
</Target>
116+
-->
117+
<PropertyGroup>
118+
<PostBuildEvent>IF "$(ConfigurationName)"=="Release" "$(FrameworkSDKDir)Bin\SignTool" sign /t http://timestamp.comodoca.com/authenticode "$(TargetPath)"</PostBuildEvent>
119+
</PropertyGroup>
120+
</Project>
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
using System.Reflection;
2+
using System.Resources;
3+
using System.Runtime.CompilerServices;
4+
using System.Runtime.InteropServices;
5+
using System.Windows;
6+
7+
// General Information about an assembly is controlled through the following
8+
// set of attributes. Change these attribute values to modify the information
9+
// associated with an assembly.
10+
[assembly: AssemblyTitle("Ookii.Dialogs.Wpf.Sample")]
11+
[assembly: AssemblyDescription("")]
12+
[assembly: AssemblyConfiguration("")]
13+
[assembly: AssemblyCompany("Ookii.org")]
14+
[assembly: AssemblyProduct("Ookii.Dialogs")]
15+
[assembly: AssemblyCopyright("Copyright © Sven Groot (Ookii.org) 2009")]
16+
[assembly: AssemblyTrademark("")]
17+
[assembly: AssemblyCulture("")]
18+
[assembly: System.CLSCompliant(true)]
19+
[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
20+
21+
// Setting ComVisible to false makes the types in this assembly not visible
22+
// to COM components. If you need to access a type in this assembly from
23+
// COM, set the ComVisible attribute to true on that type.
24+
[assembly: ComVisible(false)]
25+
26+
//In order to begin building localizable applications, set
27+
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
28+
//inside a <PropertyGroup>. For example, if you are using US english
29+
//in your source files, set the <UICulture> to en-US. Then uncomment
30+
//the NeutralResourceLanguage attribute below. Update the "en-US" in
31+
//the line below to match the UICulture setting in the project file.
32+
33+
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
34+
35+
36+
[assembly: ThemeInfo(
37+
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
38+
//(used if a resource is not found in the page,
39+
// or application resource dictionaries)
40+
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
41+
//(used if a resource is not found in the page,
42+
// app, or any theme specific resource dictionaries)
43+
)]
44+
45+
46+
// Version information for an assembly consists of the following four values:
47+
//
48+
// Major Version
49+
// Minor Version
50+
// Build Number
51+
// Revision
52+
//
53+
// You can specify all the values or you can default the Build and Revision Numbers
54+
// by using the '*' as shown below:
55+
// [assembly: AssemblyVersion("1.0.*")]
56+
[assembly: AssemblyVersion("1.0.0.0")]
57+
[assembly: AssemblyFileVersion("1.0.0.0")]

0 commit comments

Comments
 (0)