I found this sample but its for web. Can any one check this proj. and add a simple sample using winforms(no wpf).
Thx
I found this sample but its for web. Can any one check this proj. and add a simple sample using winforms(no wpf).
Thx
Copyright © 2021 Jogjafile Inc.
What kind of problem were you facing? Anyways I have made sample (yet basic) structure of how you can achieve this in WinForm. I have done using sort of Model View Presenter pattern.
First of all we have a presenter, which would deal with unit of work almost similarly the way controller does
Then we have an interface and a form implementing that interface
Add the required reference and you are done. This might not be the best way but it's certainly a way to achieve this.
Solution is upload here.
Hope this helps. Please feel free to discuss, if required.