void btnFromBox_Click(object sender, EventArgs e)
 {
     if (frmBox == null)
     {
         frmBox = new JERPApp.Define.Packing.FrmBoxFromBarcode();
         new FrmStyle(frmBox).SetPopFrmStyle(this);
         frmBox.AffterSelect += new JERPApp.Define.Packing.FrmBoxFromBarcode.AffterConfirmDelegate(frmBox_AffterSelect);
     }
     frmBox.New(new System.Collections.Hashtable());
     frmBox.ShowDialog();
 }
 void btnFromBox_Click(object sender, EventArgs e)
 {
     if (frmBox == null)
     {
         frmBox = new JERPApp.Define.Packing.FrmBoxFromBarcode();
         new FrmStyle(frmBox).SetPopFrmStyle(this);
         frmBox.AffterSelect += new JERPApp.Define.Packing.FrmBoxFromBarcode.AffterConfirmDelegate(frmBox_AffterSelect);
     }
     System.Collections.Hashtable Has = new System.Collections.Hashtable();
     foreach (DataRow drow in this.dtblItems.Rows)
     {
         Has.Add((int)drow["PrdID"], (int)drow["PrdID"]);
     }
     frmBox.New(Has);
     frmBox.ShowDialog();
 }