HeadMeld 0.0.0.1
- Working MVVM implementation - Refactored code
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System.Windows;
|
||||
using HeadMeld.ViewModels;
|
||||
|
||||
namespace HeadMeld
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
private readonly MainWindowViewModel viewModel;
|
||||
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
viewModel = new MainWindowViewModel();
|
||||
DataContext = viewModel;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user