Settings not saving correctly.
-
I have a a multi-purpose application that I am working with. 3 Different forms, one form has log in validation and the another has DateTimePickers. I threw a button on the parent form just to compare saved settings, when I set a Time in DTP say for 11:30 PM and the close that form and go back to the parent form, the DTP Value that I saved doesn't actually get saved till I close my application and re-open it, so I can't compare my alarm times unless I close the application and re-open it. How can I get the form to refresh to the most updated variable that is being stored in my settings?
-
I have a a multi-purpose application that I am working with. 3 Different forms, one form has log in validation and the another has DateTimePickers. I threw a button on the parent form just to compare saved settings, when I set a Time in DTP say for 11:30 PM and the close that form and go back to the parent form, the DTP Value that I saved doesn't actually get saved till I close my application and re-open it, so I can't compare my alarm times unless I close the application and re-open it. How can I get the form to refresh to the most updated variable that is being stored in my settings?
-
I have a a multi-purpose application that I am working with. 3 Different forms, one form has log in validation and the another has DateTimePickers. I threw a button on the parent form just to compare saved settings, when I set a Time in DTP say for 11:30 PM and the close that form and go back to the parent form, the DTP Value that I saved doesn't actually get saved till I close my application and re-open it, so I can't compare my alarm times unless I close the application and re-open it. How can I get the form to refresh to the most updated variable that is being stored in my settings?
Could you please clarify: 1. are you working in WinForms, WPF ... or ? 2. what strategy for saving the DateTime(s) you pick are you using now: Serialization ? Application.Settings ? Registry ? 3. you imply you are setting "alarm:" could you say a bit more about the purpose of your application and its 3-form design ? best, Bill
"Beauty is in the eye of the beholder, and it may be necessary from time to time to give a stupid or misinformed beholder a black eye." Miss Piggy"