I found this sample but its for web. Can any one check this proj. and add a simple sample using winforms(no wpf).
Thx
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.