my mistake, I didn't capture the changed values in their corresponding
events.
DBC User wrote:
> I came across the application setting feature today and it is pretty
> cool. I would like to know if someone can help me in the following
> situation.
> In my current project, On form closing I take the current size of the
> windows form and its position and store them as serialized object per
> user. Next time when the user login in, I read corresponding serialized
> object and show the windows as when they last exist.
> It looks like application setting can do this for me, instead of me
> coding all these logic.
>
> I created a new project and added a new field called size and type
> system.drawing.size and scope is user and default value is 400,400
>
> On form closing, I did, Save also. In the initialising for the form, I
> change the size of the form from the app setting. No errors but after I
> change the size of the window and close it is not saving the new size.
> does anyone know what might be I am doing wrong??
|