protected override void restockItem()
        {
            using (genericNumericEntry numberEntry = new genericNumericEntry(String.Format("Restock {0}", product.ItemType), String.Format("Enter amount of new stock for {0}: ", product.Name, "Restock")))
            {
                var result = numberEntry.ShowDialog();

                if (result == DialogResult.OK)
                {
                    this.valueReturn  = numberEntry.valueReturn;
                    this.DialogResult = DialogResult.OK;
                    this.Close();
                    numberEntry.Dispose();
                }
            };
        }
        protected override void buyItem()
        {
            using (genericNumericEntry numberEntry = new genericNumericEntry(String.Format("Purchase {0}", product.ItemType), String.Format("Enter required number of {0}: ", product.Name), "Buy"))
            {
                var result = numberEntry.ShowDialog();

                if (result == DialogResult.OK)
                {
                    this.valueReturn  = numberEntry.valueReturn;
                    this.DialogResult = DialogResult.OK;
                    this.Close();
                    numberEntry.Dispose();
                }
            };
        }