1
0
mirror of synced 2024-11-15 01:33:51 +00:00
PettingZoo/View/MainWindow.xaml.cs

21 lines
471 B
C#
Raw Normal View History

2016-06-18 18:30:12 +00:00
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
2016-06-18 14:50:32 +00:00
using PettingZoo.ViewModel;
namespace PettingZoo.View
{
public partial class MainWindow : Window
{
2016-06-18 18:30:12 +00:00
public MainWindow(MainViewModel viewModel)
2016-06-18 14:50:32 +00:00
{
2016-06-18 18:30:12 +00:00
WindowStartupLocation = WindowStartupLocation.CenterScreen;
2016-06-18 14:50:32 +00:00
InitializeComponent();
DataContext = viewModel;
}
}
}