private void ShipOrderLine()
        {
            frmShipping objFrmShipping;
            OrderLine   objOrderLine;


            if (dgvOrderLines.CurrentRow != null)
            {
                objFrmShipping = new frmShipping();
                objOrderLine   = dgvOrderLines.CurrentRow.DataBoundItem as OrderLine;

                objFrmShipping.MdiParent = this.ParentForm;
                objFrmShipping.Show();
                objFrmShipping.txtItemNumber.Text = objOrderLine.ItemID;
                System.Windows.Forms.SendKeys.Send("{ENTER}");
            }
        }
Esempio n. 2
0
        private void MenuItem5_Click(object sender, EventArgs e)
        {
            frmShipping objFrmShipping = new frmShipping();

            LoadForm(objFrmShipping);
        }
        private void ShipOrderLine()
        {
            frmShipping objFrmShipping;
            OrderLine objOrderLine;

            if (dgvOrderLines.CurrentRow != null)
            {
                objFrmShipping = new frmShipping();
                objOrderLine = dgvOrderLines.CurrentRow.DataBoundItem as OrderLine;

                objFrmShipping.MdiParent = this.ParentForm;
                objFrmShipping.Show();
                objFrmShipping.txtItemNumber.Text = objOrderLine.ItemID;
                System.Windows.Forms.SendKeys.Send("{ENTER}");
            }
        }