C# .net framework- border on only one side of the form

Posted by user161179 on Stack Overflow See other posts from Stack Overflow or by user161179
Published on 2009-09-10T23:22:16Z Indexed on 2010/05/30 23:02 UTC
Read the original article Hit count: 299

Filed under:
|
|
|

I am an inexperienced programmer , completely new to programming for windows .

I am writing a little program that I always wanted . Its being written using C# using .net framework. atleast thats what I think I am doing. All the talk about framework and .nets , windows forms , and win32 api has all got me really confused.. :(

anyways I have simple Form object.

 Form f = new Form() ;
 f.Text = "" ;   
 f.ControlBox =false ;

Now How to remove the all the borders on the form except one sides? As in, the side borders should go , but the top border should stay

FormBorderStyle doesn't have anything for this

Also how do you people solve such problems yourself , without asking ? look at others code ? read a a book ? any particular website ? I have googled , but it didn't turn up nothing.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET