Vs Object Browser cannot view Nested classes

Source: Internet
Author: User

In the past few days, I want to see how winform encapsulates WIN32API. So I tracked the debugging process, for example:

I am concerned with the window process, because this is a callback function. When the local code calls a function in. net, it is implemented using delegate in. net. You can see that the called

System. Windows. Forms. dll! System. Windows. Forms. nativewindow. windowclass. Callback (system. intptr hwnd, int MSG, system. intptr wparam, system. intptr lparam.

As a result, I can view the information about the windowclass class in the vs Object Browser. For example:

If you enter windowclass in the search box, no results are found.

Then I checked it with ildasm and finally found this nested class, as shown below:

Now we have finally found related classes and Methods. Next we can look at how to package WIN32API.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.