Theoretically, you can extract from a form, but is that something you should not do? I think so intuitively, but I have never heard of such a rule.
I mean some class of a class that is already being deduced from the form. For example, if I have class MyForm : Form, the question arises: can I get from MyForm?
class MyForm : Form
MyForm
We had success getting the class from the form, and then deducing from it all our forms in the project. This allows us to easily apply project policies. All our forms have a consistent appearance. It also made it easier to remember each shape of each size and location.
Windows. Visual Studio , , .
, Windows. (, , ), .
Form- .
BaseForm. . EditForms , (, ), / .. , . 1 BaseForm, BaseForm "" (, , ,...)
winapp .
, : , ,... baseform (s), , childform.
, .
: " , .
, , , .
Source: https://habr.com/ru/post/1706958/More articles:modeling iphone on windows? - windowsHow to work with settings covering several solutions and projects in VS 2008 and .NET - c #Opening XRDS Public Identifier - phpThread memory allocation - cHow can I import a file (csv / excel) with partial data into a table in a database via phpmyadmin? - phpInterpreting BEA weblogic thread dumps - useful documents and / or tools? - multithreadingSound sampling at low frequencies - filteringUINavigationController Auto-Rotation to Landscape не обновляет фрейм UIView - user-interfacePython3 Http web server: virtual hosts - pythonASP.NET C #: which design pattern should I use and why? - c #All Articles