Ejemplo n.º 1
0
        private void btnFind_Click(object sender, EventArgs e)
        {
            FindBatch wizBatch = new FindBatch();

            wizBatch.Closed += new EventHandler(wizBatch_Closed);
            wizBatch.ShowDialog();
        }
Ejemplo n.º 2
0
        private void wizBatch_Closed(object sender, EventArgs e)
        {
            FindBatch wizBatch = sender as FindBatch;

            if (wizBatch.IsCompleted)
            {
                this.ProductBatchId = wizBatch.ProductBatchId;
                LoadProductBatch();
            }
        }