my panel still has alot controls and i want this rectangle draw above these controls,and i have just done it buy set the BackColor=Color.Transparency; but while my panel display images capture by webcam, this doesn't qork anymore? Sorry about my bad English! thanks for your help!
L
Longxe
@Longxe
Posts
-
draw above a control? -
inherited controlsi think you can build a usercontrol, that ok.;)
-
draw above a control?so like you say, how can i put a frame(drawing image) may be this image on another or same panel which :doh:is displaying images that are capturing by webcam. sorry about my bad English! -- modified at 0:16 Wednesday 26th October, 2005
-
draw above a control?hi, I have a question. I want to draw a line on the panel but this line must be drawn above all the control in this panel. my code doesn't work as my want. protected override void OnPaint(PaintEventArgs e) { base.OnPaint (e); Graphics g = e.Graphics; g.DrawRectangle(new Pen(Color.Red,3),0,0,this.Width-10,this.Height-10); //this rectange still draws under all control } thanks for help!