private void AddPackageForm_Load(object sender, EventArgs e) { List <Package> packageView = TravelPackageDB.GetPackages(lstViewTravelPackages); ClearLabels(); btnEditPackage.Enabled = false; btnDeletePackage.Enabled = false; }
private void ClearForm() { lstViewTravelPackages.Clear(); List <Package> refreshPackageView = TravelPackageDB.GetPackages(lstViewTravelPackages); ClearLabels(); btnEditPackage.Enabled = false; btnDeletePackage.Enabled = false; }