C# Callback problems -


I have a questionbellow with a callback because this form will be sent to another form by sending data to my Form 1 Open Form 2 and Form 2 I can help. Object from form1 to form2, but the result of form2 method should be returned to the callback in another form (example 3 form).

I hope you understand my question ..

fact It is that you have many forms that work on the same data, the better option is to set the data in a set of "models" sections which will give information to your form and keep any changes in the storage as needed. Can handle for

It benefits when you have to deal with multiple variations of the same data, you can publish callback to model object for change information. Each forms subscribe to model events, which he cares and this means that any number can manipulate your model and retain the current position by reacting to all the form notifications.

It does not take care of which form data is being tampered with and you do not have to pass anything more than the model class when launching a new form. Similarly, when requesting a form to be saved, all forms can update the state so they can not show pending changes.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -