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