Beispiel #1
0
        private void PurchaseDetailsBtn_Click(object sender, EventArgs e)
        {
            if (purchaseOrderIDTextBox.Text.Length == 0)
            {
                MessageBox.Show("Please select an order first.");
                return;
            }


            int purchaseOrderID             = Convert.ToInt32(purchaseOrderIDTextBox.Text);
            purchaseOrderDetailsForm podf   = new purchaseOrderDetailsForm(purchaseOrderID);
            DialogResult             result = podf.ShowDialog();
        }
Beispiel #2
0
        private void Button7_Click_1(object sender, EventArgs e)
        {
            purchaseOrderDetailsForm cf = new purchaseOrderDetailsForm(1);

            cf.ShowDialog();
        }