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

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