Click here to Skip to main content
15,911,030 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello all,

when c# call variable update from child form to parent (delegate) this.dispose(); in a child dialog form, when it closing the it parent form blink like reload or refresh the parent form. but it not happening with this.Close(); . it just update the variables and close the child form.

01. can i use this.close() instead of this.Dispose(); ?
02. is it cause to gain application memory in time?
03. or what is the proper way to do this.?

Note: My application is POS application that Parent form is invoice and child dialog form for unit quantity change

please refer this video this video child dialog form close with this.close(); the problem happening only use this.Dispose() as close dialog form only;

http://www.youtube.com/watch?v=MgRQMBY_ZIc[^]
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900