private void btnSaveChanges_Click(object sender, EventArgs e) { PaymentDetails.UpdatePaymentDB(richTxtPaymentDescription, txtShopName, txtBillNo, txtBuyerName, lblPaymentDate, lblPurchaseDate, comBoxTitle, lblBillFile, txtPrice, lblBillFile.Text, selectedIndex); this.Close(); }