29 9月 2010

[C# Study Note.1] Methods mapping from MFC to WinForm

Due to the past working requirement, I was used to coding on C++/MFC.
Fortunately, here comes a new project. And the source project from manufacturer is created on C#/Windows From.
So, I can study new language at the office time. :P

1. Note some methods which have the same function but without same name down. it's hard to find out when I studied the new language.

MFC/C++ WinForm/C#
1   OnEraseBkgnd() OnPaintBackground()
2   OnClose() OnFormClosed(), OnFormClosing()
3 OnCreate() Controls:OnCreateControl(), Forms:OnLoad()


沒有留言:

張貼留言