Browse Source

Make app into a windows app.

And activate on show.
pull/4/head
Steven Kirk 12 years ago
parent
commit
16be4a609f
  1. 2
      Perspex.Windows/Window.cs
  2. 2
      TestApplication/TestApplication.csproj

2
Perspex.Windows/Window.cs

@ -109,7 +109,7 @@ namespace Perspex.Windows
public void Show()
{
UnmanagedMethods.ShowWindow(this.Handle, 4);
UnmanagedMethods.ShowWindow(this.Handle, 1);
}
protected override void OnPreviewKeyDown(KeyEventArgs e)

2
TestApplication/TestApplication.csproj

@ -5,7 +5,7 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E3A1060B-50D0-44E8-88B6-F44EF2E5BD72}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TestApplication</RootNamespace>
<AssemblyName>TestApplication</AssemblyName>

Loading…
Cancel
Save