步步为盈
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB

using BBWY.Client.Extensions;
using BBWY.Client.Helpers;
using BBWY.Client.Models.PackTask;
using BBWY.Controls;
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing.Printing;
using System.IO;
using System.Printing;
using System.Reflection;
using System.Text;
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;
namespace BBWY.Client.Views.SealBox
{
/// <summary>
/// SetSealBoxWindow.xaml 的交互逻辑
/// </summary>
public partial class SetSealBoxWindow : BWindow
{
public SetSealBoxWindow()
{
InitializeComponent();
}
public Action<int> SendBoxCount { get; set; }
private void BButton_Click(object sender, RoutedEventArgs e)
{
int boxCount = 0;
try
{
boxCount = Convert.ToInt32(tbSealBoxCount.Text);
}
catch (Exception)
{
MessageBox.Show("请输入数字!");
return;
}
if (SendBoxCount != null) SendBoxCount(boxCount);
this.Close();
}
}
}