26 changed files with 86 additions and 212 deletions
@ -1,24 +1,14 @@ |
|||||
using System; |
namespace Avalonia.DesignerSupport.TestApp |
||||
using System.Collections.Generic; |
|
||||
using System.Linq; |
|
||||
using System.Threading.Tasks; |
|
||||
using Avalonia.Controls; |
|
||||
|
|
||||
namespace Avalonia.DesignerSupport.TestApp |
|
||||
{ |
{ |
||||
static class Program |
static class Program |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// The main entry point for the application.
|
/// The main entry point for the application.
|
||||
/// </summary>
|
/// </summary>
|
||||
static void Main() |
public static int Main(string[] args) |
||||
{ |
=> BuildAvaloniaApp().StartWithClassicDesktopLifetime(args); |
||||
BuildAvaloniaApp().Start<MainWindow>(); |
|
||||
} |
|
||||
|
|
||||
private static AppBuilder BuildAvaloniaApp() |
public static AppBuilder BuildAvaloniaApp() |
||||
{ |
=> AppBuilder.Configure<App>().UsePlatformDetect(); |
||||
return AppBuilder.Configure<App>().UsePlatformDetect(); |
|
||||
} |
|
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue