Click here to Skip to main content
15,921,990 members
Home / Discussions / C#
   

C#

 
GeneralRe: Overriding the Closing event Pin
James T. Johnson24-Mar-02 21:51
James T. Johnson24-Mar-02 21:51 
GeneralRe: Overriding the Closing event Pin
David Wengier25-Mar-02 0:11
David Wengier25-Mar-02 0:11 
GeneralCreate Control at Runtime Pin
Mazdak24-Mar-02 20:50
Mazdak24-Mar-02 20:50 
GeneralRe: Create Control at Runtime Pin
James T. Johnson24-Mar-02 21:22
James T. Johnson24-Mar-02 21:22 
QuestionCan I generate ActiveX Document From C#? Pin
24-Mar-02 18:31
suss24-Mar-02 18:31 
AnswerRe: Can I generate ActiveX Document From C#? Pin
James T. Johnson24-Mar-02 18:43
James T. Johnson24-Mar-02 18:43 
GeneralWeird GDI+ rectangle drawing Pin
24-Mar-02 11:56
suss24-Mar-02 11:56 
GeneralRe: Weird GDI+ rectangle drawing Pin
James T. Johnson24-Mar-02 21:56
James T. Johnson24-Mar-02 21:56 
Charles Petzold pointed this out in his Programming Microsoft Windows with C# book so I assume it is a known issue.

I don't think anything will be done about it though because to change it would break a lot of code at the source level (side by side versioning protects already built binaries but alas, it doesn't protect source level breaking).

I'm not sure why a pen with width of 2 would change that, unless the alignment is what is causing it.

BTW if you want a red pen of width 1 you could just use Pen pen = Pens.Red; Smile | :)

James

Sonork ID: 100.11138 - Hasaki
"Smile your little smile, take some tea with me awhile.
And every day we'll turn another page.
Behind our glass we'll sit and look at our ever-open book,
One brown mouse sitting in a cage."
"One Brown Mouse" from Heavy Horses, Jethro Tull 1978

GeneralRe: Weird GDI+ rectangle drawing Pin
25-Mar-02 4:05
suss25-Mar-02 4:05 
GeneralSimple Question Pin
Mazdak24-Mar-02 6:14
Mazdak24-Mar-02 6:14 
GeneralRe: Simple Question Pin
James T. Johnson24-Mar-02 9:33
James T. Johnson24-Mar-02 9:33 
GeneralRe: Simple Question Pin
Mazdak24-Mar-02 19:29
Mazdak24-Mar-02 19:29 
GeneralPrinting Pin
BLaZiNiX23-Mar-02 23:39
BLaZiNiX23-Mar-02 23:39 
GeneralRe: Printing Pin
Mazdak24-Mar-02 4:47
Mazdak24-Mar-02 4:47 
GeneralRe: Printing Pin
BLaZiNiX24-Mar-02 6:10
BLaZiNiX24-Mar-02 6:10 
GeneralRe: Printing Pin
Mazdak24-Mar-02 6:55
Mazdak24-Mar-02 6:55 
GeneralRe: Printing Pin
BLaZiNiX24-Mar-02 8:14
BLaZiNiX24-Mar-02 8:14 
QuestionHow to call the default handler? Pin
Nish Nishant23-Mar-02 21:43
sitebuilderNish Nishant23-Mar-02 21:43 
AnswerRe: How to call the default handler? Pin
David Wengier23-Mar-02 23:47
David Wengier23-Mar-02 23:47 
GeneralRe: How to call the default handler? Pin
Nish Nishant24-Mar-02 0:19
sitebuilderNish Nishant24-Mar-02 0:19 
GeneralRe: How to call the default handler? Pin
David Wengier24-Mar-02 1:06
David Wengier24-Mar-02 1:06 
GeneralRe: How to call the default handler? Pin
Nish Nishant24-Mar-02 1:11
sitebuilderNish Nishant24-Mar-02 1:11 
GeneralRe: How to call the default handler? Pin
David Wengier24-Mar-02 1:14
David Wengier24-Mar-02 1:14 
GeneralRe: How to call the default handler? Pin
Nish Nishant24-Mar-02 1:20
sitebuilderNish Nishant24-Mar-02 1:20 
GeneralC# errors Pin
Mazdak23-Mar-02 19:50
Mazdak23-Mar-02 19:50 

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.