[Message Deleted]
.NET (Core and Framework)
3
Posts
3
Posters
0
Views
1
Watching
-
Manaxter wrote:
PS. Do I need to add it (l_IndexLabel) to a collection? Even if its part of the Slide class?
You're on the right track:
this.Controls.Add(l_IndexLabel);
You only have to add it once, so the Slide constructor is probably the best place to add it.
"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.." -- Mark McCormick
|| Fold With Us! || Pensieve || VG.Net ||
-
As previously replyed all you need to do is add the control, ...but.... why do you need to add an extra label ? Isn't it simpler and faster to override the OnPaint event and draw a border and some text ? ..ciao Marco
;)