Пример #1
0
 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();
 }
Пример #2
0
 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();
 }