You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AUCMA_SCADA/Aucma.Core.PrintTo/Views/PrintToDevView.xaml.cs

24 lines
698 B
C#

using Aucma.Core.PrintTo.ViewModels;
using System.Windows;
namespace Aucma.Core.PrintTo.Views
{
/// <summary>
/// PrintToDevView.xaml 的交互逻辑
/// </summary>
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);
}
}
}