Esempio n. 1
0
 private void btnAddPayment_Click(object sender, EventArgs e)
 {
     Payments.AddPaymentDB(txtPaymentDescription, txtShopName,
                           txtBillNo, txtBuyerName, lblPaymentDate, lblPurchaseDate, comBoxTitle, lblBillFile, txtPrice, lblBillFile.Text);
     Payments.CleanListViewPayment(listViewPayment);
     Payments.ColumnsListViewPayment(listViewPayment);
     Payments.DisplayPaymentDB(listViewPayment);
     Summary.PaymentDisplayThree(lblPaymentName1, lblPaymentName2, lblPaymentName3, lblPaymentDate1, lblPaymentDate2, lblPaymentDate3, lblPaymentValue1, lblPaymentValue2, lblPaymentValue3);
     Summary.PaymentDisplayPeriod(lblPaymentMonth, lblPaymentYear, lblPaymentAll);
     txtPaymentDescription.Clear();
     txtShopName.Clear();
     txtBillNo.Clear();
     txtBuyerName.Clear();
     lblPaymentDate.Refresh();
     lblPurchaseDate.Refresh();
     comBoxTitle.Refresh();
     lblBillFile.Refresh();
     txtPrice.Clear();
 }