Example #1
0
        public void deleteOrder()
        {
            if (MessageBox.Show("Do you really want to Delete this Purchase Order?", "Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
            {
                MessageBox.Show("Operation Cancelled");
                return;
            }
            oCardSet.Delete();

            return;
        }