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