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

35 lines
990 B
C#

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
{
/// <summary>
/// PrintToDevView.xaml 的交互逻辑
/// </summary>
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);
}
}
}