InterviewSolution
| 1. |
How Would You Create An Ellipse, Which Is A Non- Rectangular Window? |
|
Answer» OPEN a new Windows form, which is by DEFAULT rectangular in design and then set the TransparencyKey property to the same value as BackColor, which will EFFECTIVELY MAKE the background of the form transparent. Then, set the FormBorderStyle property to FormBorderStyle.None, which removes the CONTOUR and contents of the form. Open a new Windows form, which is by default rectangular in design and then set the TransparencyKey property to the same value as BackColor, which will effectively make the background of the form transparent. Then, set the FormBorderStyle property to FormBorderStyle.None, which removes the contour and contents of the form. |
|