示例#1
0
        private void btnFind_Click(object sender, EventArgs e)
        {
            FindBatch wizBatch = new FindBatch();

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

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