using Muchinfo.MTPClient.Data.Model.Delivery; using Muchinfo.MTPClient.Delivery.ViewModels; using System.Windows; namespace Muchinfo.MTPClient.Delivery.Views { /// /// Description for RecieveInfoView. /// public partial class RecieveInfoView : Window { /// /// Initializes a new instance of the RecieveInfoView class. /// public RecieveInfoView(DeliveryWarehouse model) { InitializeComponent(); this.DataContext = new RecieveInfoViewModel(model); } private void drag_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e) { this.DragMove(); } } }