Browse Source

Enable DevTools in XamlTestApplication.

pull/72/head^2
Steven Kirk 11 years ago
parent
commit
4c4a939684
  1. 7
      XamlTestApplication/Views/MainWindow.cs
  2. 4
      XamlTestApplication/XamlTestApplication.csproj

7
XamlTestApplication/Views/MainWindow.cs

@ -1,10 +1,15 @@
namespace XamlTestApplication.Views
{
using OmniXaml.AppServices.Mvvm;
using Perspex.Diagnostics;
using Perspex.Xaml.Desktop;
[ViewToken("Main", typeof(MainWindow))]
public class MainWindow : PerspexWindow
{
{
public MainWindow()
{
DevTools.Attach(this);
}
}
}

4
XamlTestApplication/XamlTestApplication.csproj

@ -149,6 +149,10 @@
<Project>{d2221c82-4a25-4583-9b43-d791e3f6820c}</Project>
<Name>Perspex.Controls</Name>
</ProjectReference>
<ProjectReference Include="..\Perspex.Diagnostics\Perspex.Diagnostics.csproj">
<Project>{7062ae20-5dcc-4442-9645-8195bdece63e}</Project>
<Name>Perspex.Diagnostics</Name>
</ProjectReference>
<ProjectReference Include="..\Perspex.Input\Perspex.Input.csproj">
<Project>{62024b2d-53eb-4638-b26b-85eeaa54866e}</Project>
<Name>Perspex.Input</Name>

Loading…
Cancel
Save