using Aucma.Core.PrintTo.ViewModels; using System.Windows; namespace Aucma.Core.PrintTo.Views { /// /// PrintToDevView.xaml 的交互逻辑 /// public partial class PrintToDevView : Window { #region 构造函数 /// /// 构造函数 /// /// 产品编码 /// 物料编码 /// 产品名称 /// 打印数量 /// public PrintToDevView(string order_code,string productCode, string productName, int printAmount,string printName,int printType) { InitializeComponent(); this.DataContext = new PrintToDevViewModel(order_code,productCode, productName, printAmount, printName, printType); } #endregion } }