C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How would you create a non-rectangular window, let's say an ellipse?

0 votes
35 views
asked Apr 2, 2014 by sunny Expert (11,410 points)

1 Answer

0 votes

 

Create a rectangular form, set the TransparencyKey property to the same value as BackColor, which will effectively make the background of the form transparent. Then set the FormBorderStyle to FormBorderStyle.None, which will remove the contour and contents of the form.
answered Apr 2, 2014 by rock Expert (14,990 points)

Related questions

0 votes
1 answer 15 views
0 votes
1 answer 14 views
14 views asked Mar 19, 2014 by sara Guru (24,570 points)
0 votes
1 answer 31 views
0 votes
1 answer 10 views
10 views asked Apr 1, 2014 by sunny Expert (11,410 points)
0 votes
1 answer 14 views
14 views asked Apr 2, 2014 by rock Expert (14,990 points)
...