using Aucma.Core.PrintTo.ViewModels; using System.Windows; namespace Aucma.Core.PrintTo.Views { /// /// PrintToDevView.xaml 的交互逻辑 /// public partial class PrintToDevView : Window { public PrintToDevView() { InitializeComponent(); this.DataContext = new PrintToDevViewModel(); } public PrintToDevView(string productCode,string materialCode, string materialName, int printAmount, string? barCode=null) { InitializeComponent(); this.DataContext = new PrintToDevViewModel(productCode, materialCode, materialName, printAmount,barCode); } } }