Click here to Skip to main content
15,925,255 members
Home / Discussions / C#
   

C#

 
GeneralRe: Comment templates Pin
MatthysDT12-Feb-09 0:55
MatthysDT12-Feb-09 0:55 
GeneralRe: Comment templates Pin
musefan12-Feb-09 1:01
musefan12-Feb-09 1:01 
GeneralRe: Comment templates Pin
Dave Kreskowiak12-Feb-09 4:11
mveDave Kreskowiak12-Feb-09 4:11 
AnswerRe: Comment templates Pin
Alan N12-Feb-09 1:36
Alan N12-Feb-09 1:36 
Questionhow to set the border Line for the winForm in C#? Pin
mctramp16811-Feb-09 22:46
mctramp16811-Feb-09 22:46 
AnswerRe: how to set the border Line for the winForm in C#? Pin
musefan11-Feb-09 23:16
musefan11-Feb-09 23:16 
GeneralRe: how to set the border Line for the winForm in C#? Pin
mctramp16812-Feb-09 1:41
mctramp16812-Feb-09 1:41 
GeneralRe: how to set the border Line for the winForm in C#? Pin
musefan12-Feb-09 1:51
musefan12-Feb-09 1:51 
well as far as im aware there is no property for that so you will have to do it some other way, here is a couple of options:

Option 1:

Handle the paintEvent (or override OnPaint)for the form and add some code such as -

e.Graphics.DrawRectangle(...);

Be aware that controls maybe be drawn ontop of the border depending on placement


Option 2:

Create a panel, which will be your 'Main Panel' place this on the form but slightly offset its size and position so the mainForm background color can be set to the desired border color and you should only see a border effect, of course you set the 'Main Panel' backColor to be what ever you want your main backColor to be


Hope these make sense

If only MySelf.Visible was more than just a getter...

A person can produce over 5 times there own body weight in excrement each year... please re-read your questions before posting

GeneralRe: how to set the border Line for the winForm in C#? Pin
mctramp16812-Feb-09 14:53
mctramp16812-Feb-09 14:53 
GeneralRe: how to set the border Line for the winForm in C#? Pin
Dave Kreskowiak12-Feb-09 4:07
mveDave Kreskowiak12-Feb-09 4:07 
GeneralRe: how to set the border Line for the winForm in C#? Pin
mctramp16812-Feb-09 14:57
mctramp16812-Feb-09 14:57 
Questiontransfering multi-dimensional array to database Pin
batkaval11-Feb-09 22:42
batkaval11-Feb-09 22:42 
AnswerRe: transfering multi-dimensional array to database Pin
musefan11-Feb-09 23:18
musefan11-Feb-09 23:18 
GeneralRe: transfering multi-dimensional array to database Pin
batkaval11-Feb-09 23:38
batkaval11-Feb-09 23:38 
GeneralRe: transfering multi-dimensional array to database Pin
musefan11-Feb-09 23:43
musefan11-Feb-09 23:43 
GeneralRe: transfering multi-dimensional array to database Pin
Deresen11-Feb-09 23:51
Deresen11-Feb-09 23:51 
GeneralRe: transfering multi-dimensional array to database Pin
batkaval12-Feb-09 0:00
batkaval12-Feb-09 0:00 
Question.Net Reporting Passing Parameter from Master Report to SubReport Pin
Chetan Patel11-Feb-09 22:29
Chetan Patel11-Feb-09 22:29 
AnswerRe: .Net Reporting Passing Parameter from Master Report to SubReport Pin
Chetan Patel11-Feb-09 22:41
Chetan Patel11-Feb-09 22:41 
GeneralRe: .Net Reporting Passing Parameter from Master Report to SubReport Pin
mctramp16812-Feb-09 14:47
mctramp16812-Feb-09 14:47 
QuestionThe name of file Pin
abbd11-Feb-09 22:03
abbd11-Feb-09 22:03 
AnswerRe: The name of file Pin
Deresen11-Feb-09 22:12
Deresen11-Feb-09 22:12 
GeneralRe: The name of file Pin
abbd11-Feb-09 22:23
abbd11-Feb-09 22:23 
GeneralRe: The name of file Pin
Tom Deketelaere11-Feb-09 22:31
professionalTom Deketelaere11-Feb-09 22:31 
AnswerRe: The name of file Pin
Rob Philpott11-Feb-09 22:26
Rob Philpott11-Feb-09 22:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.