C# making user changes stay
Hello
I need help with an update feature. I have a list items that the user can select from. If they wish they can update the prices of the item. If they wish to do so, they are taken to a subform where they can update the prices. How would I make there changes stay instead of going back to there default values?
Here is my code.
Re: C# making user changes stay
Either of the following:
1) After displaying the sub-form, you need to read the values back into the main-form before disposing of the sub-form. (tightly coupled)
2) The sub-form can fire an Event containing the new values and the main-form can subscribe to that event. (loosely coupled)