Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Media Player component Pin
nafsruh23-Feb-09 5:27
nafsruh23-Feb-09 5:27 
GeneralRe: Windows Media Player component Pin
Dave Kreskowiak23-Feb-09 6:50
mveDave Kreskowiak23-Feb-09 6:50 
QuestionHow can i attach XAML style file to my C# Project !? Pin
Hadabo23-Feb-09 1:41
Hadabo23-Feb-09 1:41 
AnswerRe: How can i attach XAML style file to my C# Project !? Pin
Pete O'Hanlon23-Feb-09 2:30
mvePete O'Hanlon23-Feb-09 2:30 
GeneralRe: How can i attach XAML style file to my C# Project !? Pin
Hadabo23-Feb-09 4:16
Hadabo23-Feb-09 4:16 
QuestionUsing Late Bound COM Objects - Why i getting Exception .... ( what wrong with my code ? ) Pin
Yanshof23-Feb-09 1:09
Yanshof23-Feb-09 1:09 
AnswerRe: Using Late Bound COM Objects - Why i getting Exception .... ( what wrong with my code ? ) Pin
RobScripta23-Feb-09 5:33
professionalRobScripta23-Feb-09 5:33 
Questionthis.Height size issue Pin
tarquinn cook23-Feb-09 0:50
tarquinn cook23-Feb-09 0:50 
I have been having this problem for some time and I believe it must steam from my misunderstanding of some basic concept. That said can someone please set me straight on the matter of usable form size.

In the below instance I am looking to create a line with a ten pixel boarder at the top and bottom. When the code is run as expected there is a 10 pixel gap at the top however the bottom of the line goes off the screen and needs an additional 35 pixels added for the desired effect. Can some kind person please tell me why and how I should measure the form height if not like this.

Jason

System.Drawing.Graphics graphicsObj = this.CreateGraphics();
graphicsObj.DrawLine(new Pen(Color.Blue, 4), new Point(110, 10), new Point(110, this.Height - 10));

AnswerRe: this.Height size issue Pin
Greg Chelstowski23-Feb-09 1:34
Greg Chelstowski23-Feb-09 1:34 
AnswerRe: this.Height size issue Pin
Greg Chelstowski23-Feb-09 1:41
Greg Chelstowski23-Feb-09 1:41 
GeneralRe: this.Height size issue Pin
tarquinn cook23-Feb-09 1:57
tarquinn cook23-Feb-09 1:57 
AnswerRe: this.Height size issue Pin
benjymous23-Feb-09 1:42
benjymous23-Feb-09 1:42 
JokeRe: this.Height size issue Pin
tarquinn cook23-Feb-09 1:59
tarquinn cook23-Feb-09 1:59 
QuestionError while debugging Pin
ayazmingora23-Feb-09 0:45
ayazmingora23-Feb-09 0:45 
AnswerRe: Error while debugging Pin
Rob Philpott23-Feb-09 1:33
Rob Philpott23-Feb-09 1:33 
GeneralRe: Error while debugging Pin
ayazmingora23-Feb-09 1:50
ayazmingora23-Feb-09 1:50 
Jokehello Pin
amitkumarpratap23-Feb-09 0:07
amitkumarpratap23-Feb-09 0:07 
QuestionClient Pin
mrithula822-Feb-09 23:51
mrithula822-Feb-09 23:51 
AnswerRe: Client Pin
Rob Philpott22-Feb-09 23:59
Rob Philpott22-Feb-09 23:59 
GeneralRe: Client Pin
mrithula823-Feb-09 2:06
mrithula823-Feb-09 2:06 
GeneralRe: Client Pin
Greg Chelstowski23-Feb-09 2:29
Greg Chelstowski23-Feb-09 2:29 
GeneralRe: Client Pin
mrithula823-Feb-09 2:53
mrithula823-Feb-09 2:53 
GeneralRe: Client Pin
Greg Chelstowski23-Feb-09 3:09
Greg Chelstowski23-Feb-09 3:09 
GeneralRe: Client Pin
Mel Feik23-Feb-09 10:54
Mel Feik23-Feb-09 10:54 
Question[Message Deleted] Pin
yesu prakash22-Feb-09 23:11
yesu prakash22-Feb-09 23:11 

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.