OpenFrameView.xaml.cs 892 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Shapes;
  14. using Muchinfo.MTPClient.Data.Enums;
  15. using Muchinfo.MTPClient.Data.Model;
  16. using Muchinfo.MTPClient.Trade.ViewModels;
  17. using Muchinfo.WPF.Controls.Windows;
  18. namespace Muchinfo.MTPClient.Trade.Views
  19. {
  20. /// <summary>
  21. /// OpenFrameView.xaml 的交互逻辑
  22. /// </summary>
  23. public partial class OpenFrameView : WindowBase
  24. {
  25. public OpenFrameView(QuoteGoods goods,OrderType orderType)
  26. {
  27. InitializeComponent();
  28. this.DataContext = new OpenFrameViewModel(goods, orderType);
  29. }
  30. }
  31. }