Esempio n. 1
0
        private void getSettings()
        {
            settings = new saveUserSettings();
            userSetting userSettings = settings.getSettings();

            textBoxName.Text      = userSettings.Name;
            textBoxHuur.Text      = userSettings.RentDay;
            textBoxCity.Text      = userSettings.City;
            textBoxOpleiding.Text = userSettings.Education;
            textBoxSchool.Text    = userSettings.School;
            textBoxStreet.Text    = userSettings.Street;
        }
Esempio n. 2
0
        private void getSettings()//haalt de settings op uit een usersettings object
        {
            settings = new saveUserSettings();
            userSetting userSettings = settings.getSettings();

            textBoxName.Text      = userSettings.Name;
            numericUpDown1.Value  = Convert.ToDecimal(userSettings.RentDay);
            textBoxCity.Text      = userSettings.City;
            textBoxOpleiding.Text = userSettings.Education;
            textBoxSchool.Text    = userSettings.School;
            textBoxStreet.Text    = userSettings.Street;
        }