Data parse Form to UserControl in Windows Form? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Data parse Form to UserControl in Windows Form?

I need to know the way of parse variable data "Form" to "UserControl" in windows form application? What is the best way? any solution, please.

14th May 2020, 6:49 PM
Sampath Tharanga
Sampath Tharanga - avatar
1 Answer
0
The Form class is inherited from Control class so you can use as keyword : var formControl=form as Control;
26th May 2020, 10:32 PM
Younes Abdo
Younes Abdo - avatar