using Admin.Core.Wpf.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace Admin.Core.Wpf.Views { /// /// PrintToDevView.xaml 的交互逻辑 /// public partial class PrintToDevView : Window { public PrintToDevView() { InitializeComponent(); this.DataContext = new PrintToDevViewModel(); } public PrintToDevView(string planCode,string orderNo,string materialName,int planAmount,string? barCode=null) { InitializeComponent(); this.DataContext = new PrintToDevViewModel(planCode, orderNo, materialName, planAmount, barCode); } } }