Exemplo n.º 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);
 }
Exemplo n.º 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;
 }