Exemple #1
0
        private void trackBarSavings_Scroll(object sender, EventArgs e)
        {
            var value = trackBarSavings.Value;

            labelSavings.Text = (value).ToString("€#.#");
            InitializeUI.UpdatePlannedSavings(labelPlannedSavings);
        }
Exemple #2
0
 private void trackBarOther_Scroll(object sender, EventArgs e)
 {
     InitializeUI.SavePlannedValues(labelOtherExpense, trackBarOther, ExpenseType.Other);
     InitializeUI.UpdatePlannedSavings(labelPlannedSavings);
 }
Exemple #3
0
 private void trackBarUtilities_Scroll(object sender, EventArgs e)
 {
     InitializeUI.SavePlannedValues(labelUtilitiesExpense, trackBarUtilities, ExpenseType.Utilities);
     InitializeUI.UpdatePlannedSavings(labelPlannedSavings);
 }
Exemple #4
0
 private void trackBarShopping_Scroll(object sender, EventArgs e)
 {
     InitializeUI.SavePlannedValues(labelShoppingExpense, trackBarShopping, ExpenseType.Shopping);
     InitializeUI.UpdatePlannedSavings(labelPlannedSavings);
 }
Exemple #5
0
 private void trackBarHealth_Scroll(object sender, EventArgs e)
 {
     InitializeUI.SavePlannedValues(labelHealthExpense, trackBarHealth, ExpenseType.Health);
     InitializeUI.UpdatePlannedSavings(labelPlannedSavings);
 }
Exemple #6
0
 private void trackBarEntertainment_Scroll(object sender, EventArgs e)
 {
     InitializeUI.SavePlannedValues(labelEntertainmentExpense, trackBarEntertainment, ExpenseType.Entertainment);
     InitializeUI.UpdatePlannedSavings(labelPlannedSavings);
 }
Exemple #7
0
 private void trackBarTransport_Scroll(object sender, EventArgs e)
 {
     InitializeUI.SavePlannedValues(labelTransportExpense, trackBarTransport, ExpenseType.Transport);
     InitializeUI.UpdatePlannedSavings(labelPlannedSavings);
 }