Plane.FormationCreator/Plane.FormationCreator/Views/ControlPanelView.xaml.cs
2017-02-27 02:06:48 +08:00

33 lines
852 B
C#

using Plane.FormationCreator.ViewModels;
using Microsoft.Practices.ServiceLocation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace Plane.FormationCreator.Views
{
/// <summary>
/// Interaction logic for ControlPanelView.xaml
/// </summary>
public partial class ControlPanelView : UserControl
{
public ControlPanelView()
{
InitializeComponent();
this.DataContext = ServiceLocator.Current.GetInstance<ControlPanelViewModel>();
}
}
}