What is the window class name assigned by Visual Studio when creating the .NET form?

As in VC ++, when creating a window, we need to create a window class and use RegisterClass or RegisterClassEx to register. But in .NET we do not have this step.

So, I wonder what window class default name was assigned by Visual Studio when creating the form?

As I found out, the window class name assigned by Visual Studio is somewhat similar to this:
WindowsForms10.Window.8.app.0.1ca0192_r13_ad1

I want to change this default window class name, any idea?

+5
source share
1 answer

. , CreateParams ClassName. , AppDomain.CurrentDomain.GetHashCode().

. , SetProp(), . , GetProp(). SDK .

+4

All Articles