// Modify Button to modify a package and it opens the second form
        private void btnModify_Click(object sender, EventArgs e)
        {
            PackageSecondForm modifyPackageForm = new PackageSecondForm();

            modifyPackageForm.addPackage = false;
            modifyPackageForm.package    = package;
            DialogResult result = modifyPackageForm.ShowDialog();

            if (result == DialogResult.OK)
            {
                package = modifyPackageForm.package;
                this.DisplayPackage();
            }
            else if (result == DialogResult.Retry)
            {
                this.GetPackage(package.PackageId);
                if (package != null)
                {
                    this.DisplayPackage();
                }
                else
                {
                    this.ClearControls();
                }
            }
        }
        //add button to add a new package and it opens the second form
        private void btnAdd_Click(object sender, EventArgs e)
        {
            PackageSecondForm addPackageForm = new PackageSecondForm();

            addPackageForm.addPackage = true;
            DialogResult result = addPackageForm.ShowDialog();

            if (result == DialogResult.OK)
            {
                package       = addPackageForm.package;
                txtPkgId.Text = package.PackageId.ToString();
                this.DisplayPackage();
            }
        }