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

29 lines
947 B
C#

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