A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
913 B

// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Diagnostics;
using System.Windows.Threading;
using Perspex;
using Perspex.Collections;
using Perspex.Controls;
using Perspex.Controls.Templates;
using ReactiveUI;
using XamlTestApplication.Views;
namespace XamlTestApplication
{
internal class Program
{
private static void Main()
{
var sw = new Stopwatch();
sw.Start();
var foo = Dispatcher.CurrentDispatcher;
App application = new App
{
};
var window = new MainWindow();
window.Show();
sw.Stop();
Debug.WriteLine($"Startup: {sw.ElapsedMilliseconds}ms");
Application.Current.Run(window);
}
}
}