The output from the Form class in .NET.

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?

+3
source share
6 answers

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.

+1
source

Windows. Visual Studio , , .

+5

, Windows. (, , ), .

+4

Form- .

+2

BaseForm. . EditForms , (, ), / .. , . 1 BaseForm, BaseForm "" (, , ,...)

winapp .

, : , ,... baseform (s), , childform.

+1

, .

, .

: " , .

, , , .

0

Source: https://habr.com/ru/post/1706958/


All Articles