Introduction - If you have any usage issues, please Google them yourself
n this article I will show to use the Model View Presenter pattern to remove logic from the UI and move it to a controller class. Furthermore, I will show an easy way to enable threading within the application and follow the rule of no business work should be done in the UI thread . By applying threading correctly you should never have a situation where the UI is blocked while processing some business work. [ref] http://www.codeproject.com/KB/cs/ModelViewPresenterWithDI.aspx
Packet : 31767680mvpproject.zip filelist
MvpProject/
MvpProject/MvpExmaple/
MvpProject/MvpExmapleSolution.gpState
MvpProject/MvpExmapleSolution.sln
MvpProject/MvpExmapleSolution.suo
MvpProject/MvpExmaple/App.config
MvpProject/MvpExmaple/AsyncController.cs
MvpProject/MvpExmaple/bin/
MvpProject/MvpExmaple/bin/Debug/
MvpProject/MvpExmaple/EmptyNotify.cs
MvpProject/MvpExmaple/ILogonController.cs
MvpProject/MvpExmaple/ILogonService.cs
MvpProject/MvpExmaple/ILogonView.cs
MvpProject/MvpExmaple/LogonController.cs
MvpProject/MvpExmaple/LogonForm.cs
MvpProject/MvpExmaple/LogonForm.Designer.cs
MvpProject/MvpExmaple/LogonForm.resx
MvpProject/MvpExmaple/LogonService.cs
MvpProject/MvpExmaple/MvpExample.csproj
MvpProject/MvpExmaple/obj/
MvpProject/MvpExmaple/obj/MvpExample.csproj.FileListAbsolute.txt
MvpProject/MvpExmaple/obj/MvpExmaple.csproj.FileListAbsolute.txt
MvpProject/MvpExmaple/obj/WindowsApplication1.csproj.FileListAbsolute.txt
MvpProject/MvpExmaple/Program.cs
MvpProject/MvpExmaple/Properties/
MvpProject/MvpExmaple/Properties/AssemblyInfo.cs
MvpProject/MvpExmaple/Properties/Resources.Designer.cs
MvpProject/MvpExmaple/Properties/Resources.resx
MvpProject/MvpExmaple/Properties/Settings.Designer.cs
MvpProject/MvpExmaple/Properties/Settings.settings
MvpProject/MvpExmaple/View.cs