Files
WpfViewModelFirst/WpfViewModelFirst/App.xaml.cs
Tracy Pearson 2fad12ba79 Able to return a string from the async method
Fixed ObservableObject
2022-08-12 01:19:05 -04:00

27 lines
604 B
C#

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace WpfViewModelFirst
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
MainWindow mainWindow = new()
{
DataContext = new MainWindowViewModel()
};
mainWindow.Show();
}
}
}