步步为盈
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.

57 lines
1.3 KiB

2 years ago
using BBWY.Client.Extensions;
2 years ago
using BBWY.Client.Helpers;
2 years ago
using BBWY.Client.Models.PackTask;
using BBWY.Controls;
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
2 years ago
using System;
using System.Collections.Generic;
2 years ago
using System.Diagnostics;
using System.Drawing.Printing;
using System.IO;
2 years ago
using System.Printing;
2 years ago
using System.Reflection;
2 years ago
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()
2 years ago
{
2 years ago
InitializeComponent();
2 years ago
}
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);
2 years ago
this.Close();
}
2 years ago
}
2 years ago
2 years ago
}