Exemple #1
0
 private void btnDodajKwote_Click(object sender, EventArgs e)
 {
     Imcones.AddIncomeDB(txtName, txtIncome, txtDescription);
     Imcones.CleanListViewIncome(listViewIncome);
     Imcones.ColumnsListViewIncome(listViewIncome);
     Imcones.DisplayIncomeDB(listViewIncome);
     txtDescription.Clear();
     txtIncome.Clear();
     txtName.Clear();
     Summary.IncomeDisplayThree(lblIncomeName1, lblIncomeName2, lblIncomeName3, lblIncomeData1, lblIncomeData2, lblIncomeData3, lblIncomeValue1, lblIncomeValue2, lblIncomeValue3);
     Summary.IncomeDisplayPeriod(lblIncomeMonth, lblIncomeYear, lblIncomeAll);
 }
Exemple #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     Imcones.ColumnsListViewIncome(listViewIncome);
     Imcones.DisplayIncomeDB(listViewIncome);
     Payments.ColumnsListViewPayment(listViewPayment);
     Payments.DisplayPaymentDB(listViewPayment);
     Payments.ComboBoxTitleElements(comBoxTitle);
     ShoppingList.ColumnsShoppingList(listViewShoppingList);
     ShoppingList.DisplayShoppingList(listViewShoppingList);
     Summary.IncomeDisplayThree(lblIncomeName1, lblIncomeName2, lblIncomeName3, lblIncomeData1, lblIncomeData2, lblIncomeData3, lblIncomeValue1, lblIncomeValue2, lblIncomeValue3);
     Summary.PaymentDisplayThree(lblPaymentName1, lblPaymentName2, lblPaymentName3, lblPaymentDate1, lblPaymentDate2, lblPaymentDate3, lblPaymentValue1, lblPaymentValue2, lblPaymentValue3);
     Summary.IncomeDisplayPeriod(lblIncomeMonth, lblIncomeYear, lblIncomeAll);
     Summary.PaymentDisplayPeriod(lblPaymentMonth, lblPaymentYear, lblPaymentAll);
     lblLoggedUser.Text = userLogin;
     txtName.Text       = userLogin;
     txtBuyerName.Text  = userLogin;
 }
Exemple #3
0
 private void btnDeleteItem_Click(object sender, EventArgs e)
 {
     Imcones.RemoveIncomeDB(listViewIncome);
 }
Exemple #4
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     lblTime.Text = DateTime.Now.ToString();
     Imcones.SumIncome(lblBudget);
     Summary.MoneyToSpend(lblPaymentValue1, lblIncomeValue1, lblMoneyToSpend);
 }