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