No, it's transparent. See this by giving the form's BackgroundImage a value. You'll see it through the transparent panel.
Of course, that's not the kind of transparency you want, you want stacking effects to work. There is no direct support for that.
No, it's transparent. See this by giving the form's BackgroundImage a value. You'll see it through the transparent panel.
Of course, that's not the kind of transparency you want, you want stacking effects to work. There is no direct support for that. If you want layers to work then don't use controls.
Use the Paint event to draw. Now there's no problem, if you want transparency then just don't paint. Draw a line across an image simply by drawing the image first.
This is also the rendering model of WPF.
Other than painting 2 seperate lines that meet at the edges of their respective panels. – Boumbles Feb 11 at 21:00 No, you have to stay away from controls. Drawing something that resembles a panel isn't hard, Graphics.DrawRectangle().
– Hans Passant Feb 11 at 21:06 Blerg. Might be stuck with them unfortunately. I'll try and think of something else I can do instead of the line.
Thank you for your help though, I learned something! – Boumbles Feb 11 at 21:08.
You can actually do this pretty easily as your own UserControl. Here's a code example: Drawing on top of controls inside a panel (C# WinForms) This is similar to what you were originally attempting to do, only instead of drawing a line on top of a transparent panel, this code creates an irregularly-shaped user control (which happens to be in the irregular shape of a line).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.