With this directive, part of the program text in the editor can be minimized for ease of programming.


#pragma region Dialog creating

// here is the code for creating a dialog that can be minimized by the text editor



#pragma endregion 


In the collapsed form, you will see only this:


Dialog creating