N
N
Nikolai2021-02-22 02:53:08
C++ / C#
Nikolai, 2021-02-22 02:53:08

Element code not showing in form in winform c#?

for example, there is a project where there are buttons in the designer and they are not in the form, but in the design file it is shown that the buttons are created. What is not so dear my experts.
Dky82OjRHKs.jpg?size=728x468&quality=96&proxy=1&sign=b955fc7c43623c6922ec43c8545daf1b&type=albumF9QC6-PCVak.jpg?size=684x407&quality=96&proxy=1&sign=7bc6647935ecf24d89d54fb8b013e215&type=album
Nanl8KMgXCg.jpg?size=720x484&quality=96&proxy=1&sign=a200e771b8b614705d86b80e148c0926&type=album

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
BasiC2k, 2021-02-22
@BasiC2k

In addition to creating an element, you need to assign some properties to it, and then add it to the form (or panel).
Add a button to the form and look through all the steps by searching in the code. Then check with the problem button - what is missing.

V
Vasily Bannikov, 2021-02-22
@vabka

In the block where "Code automatically generated by the constructor..."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question