using Stone.Common; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Stone.WinModule.JisData { public partial class frmPackageQty : Form { public int PackageQty = 0; public frmPackageQty() { InitializeComponent(); } private void frmPackageQty_Load(object sender, EventArgs e) { } private void btnOK_Click(object sender, EventArgs e) { try { if (!MyValidator.IsEmpty(this.txtPackageQty, "")) return; PackageQty = Convert.ToInt32(this.txtPackageQty.Text.Trim()); this.DialogResult = DialogResult.OK; this.Close(); } catch (Exception ex) { MyMessageBox.ShowErrorMessage(ex.Message); } finally { } } private void btnCancel_Click(object sender, EventArgs e) { this.Close(); } } }