Discussion of article "DoEasy. Controls (Part 5): Base WinForms object, Panel control, AutoSize parameter"

 

New article DoEasy. Controls (Part 5): Base WinForms object, Panel control, AutoSize parameter has been published:

In the article, I will create the base object of all library WinForms objects and start implementing the AutoSize property of the Panel WinForms object — auto sizing for fitting the object internal content.

Compile the EA and launch it on the chart:


As we can see, the objects are bound to each of the panel sides correctly. When pressing Q, each object is attached to the appropriate panel side. When changing the panel auto resize modes, it adapts to its internal content in accordance with the auto sizing mode.

Author: Artyom Trishkin

Reason: