mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-20 22:05:07 +00:00
Avalonia sample app
This commit is contained in:
parent
fb2f2b5f21
commit
ac8a1b954b
2 changed files with 7 additions and 4 deletions
|
|
@ -15,10 +15,7 @@ namespace SampleApplication
|
|||
{
|
||||
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||
{
|
||||
desktop.MainWindow = new MainWindow
|
||||
{
|
||||
DataContext = new MapViewModel()
|
||||
};
|
||||
desktop.MainWindow = new MainWindow();
|
||||
}
|
||||
|
||||
base.OnFrameworkInitializationCompleted();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue