Пример #1
0
        private void btn_itemView_Click(object sender, EventArgs e)
        {
            viewForm_PO_items fviewItems = new viewForm_PO_items();
            DialogResult      dr         = fviewItems.ShowDialog(this);

            if (dr == DialogResult.Cancel)
            {
                fviewItems.Close();
            }
            else if (dr == DialogResult.OK)
            {
                itemValues = fviewItems.getItems();
                AddToGrid(itemValues);
                fviewItems.Close();
            }
        }
Пример #2
0
        private void btn_addItem_Click_1(object sender, EventArgs e)
        {
            viewForm_PO_items fviewItems = new viewForm_PO_items();

            fviewItems.Show();
        }