Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27333

Simple question about creating custom control..

$
0
0
Hi, I am just wondering if, when creating custom user controls, I should be editing the designer file of my control so that it is inheriting from the control I wish to extend, or if I should just add that control I want to extend to IDE generated blank control.

I have been doing it the 2nd way, and accessing the controls properties like so: myControl.DataGridView1.DataSource = exampleObj

Is there any major advantage I am overlooking from doing it the 1st way?? :duck:

Viewing all articles
Browse latest Browse all 27333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>