ON_UPDATE_COMMAND_UI in WinForms ?
-
Do you remeber the MFC Approach to a Common Command interface ? I was wondering that something similar is missing on WinForms since the beginning. There is only one msdn doc. here http://msdn.microsoft.com/msdnmag/issues/02/10/CommandManagement/default.aspx[^] and there is also the Command Pattern in WPF, but... nobody had the same trouble moving from MFC ?
-
Do you remeber the MFC Approach to a Common Command interface ? I was wondering that something similar is missing on WinForms since the beginning. There is only one msdn doc. here http://msdn.microsoft.com/msdnmag/issues/02/10/CommandManagement/default.aspx[^] and there is also the Command Pattern in WPF, but... nobody had the same trouble moving from MFC ?
besmel wrote:
but... nobody had the same trouble moving from MFC ?
Yes and I used that article as a basis to create a framework for a solution. I basically refactored that design to use Generics in .NET 2 platform to eliminate the use of "object" all over the design. I have found it very useful so far.