TakaDeliveryGoodsApplyView.xaml.cs 754 B

12345678910111213141516171819202122232425262728
  1. using Muchinfo.MTPClient.Delivery.ViewModels;
  2. using System.Windows;
  3. using System.Windows.Input;
  4. namespace Muchinfo.MTPClient.Delivery.Views
  5. {
  6. /// <summary>
  7. /// Description for TakaDeliveryGoodsApplyView.
  8. /// </summary>
  9. public partial class TakaDeliveryGoodsApplyView : Window
  10. {
  11. /// <summary>
  12. /// Initializes a new instance of the TakaDeliveryGoodsApplyView class.
  13. /// </summary>
  14. public TakaDeliveryGoodsApplyView()
  15. {
  16. InitializeComponent();
  17. this.DataContext = new TakaDeliveryGoodsApplyViewModel();
  18. }
  19. public void drag_MouseLeftButtonDown(object sender, MouseButtonEventArgs args)
  20. {
  21. this.DragMove();
  22. }
  23. }
  24. }