Click here to Skip to main content
15,918,109 members
Home / Discussions / C#
   

C#

 
AnswerRe: I'M SO CONFUSED??? Pin
Christian Graus1-Oct-05 19:42
protectorChristian Graus1-Oct-05 19:42 
QuestionWant to cycle through a pen Array Pin
Anonymous1-Oct-05 9:16
Anonymous1-Oct-05 9:16 
AnswerRe: Want to cycle through a pen Array Pin
Robert Rohde1-Oct-05 10:20
Robert Rohde1-Oct-05 10:20 
GeneralRe: Want to cycle through a pen Array Pin
Anonymous1-Oct-05 10:30
Anonymous1-Oct-05 10:30 
GeneralRe: Want to cycle through a pen Array Pin
Robert Rohde1-Oct-05 11:45
Robert Rohde1-Oct-05 11:45 
GeneralRe: Want to cycle through a pen Array Pin
Member 23224411-Oct-05 11:53
Member 23224411-Oct-05 11:53 
QuestionBOOL FLAG Problem in Paint Handler Pin
Anonymous1-Oct-05 7:28
Anonymous1-Oct-05 7:28 
AnswerRe: BOOL FLAG Problem in Paint Handler Pin
Robert Rohde1-Oct-05 7:42
Robert Rohde1-Oct-05 7:42 
The code seems to be ok but I noticed that your button click eventhandler has a strange name. You should probably check if the click event of the button is really bound to that method.
Just check (eg by setting a brakepoint) if the drawLine1 = !drawLine1 is being hit and if drawLine1 has the correct contents afterwards.
Then check if you prpbably set drawLine1 back to false somewhere else in your code. Doing some Console.WriteLine("DrawLine1: " + drawLine1.ToString()) here and there should also help you to trace down the problem.

Hope you don't feel this answer is abstract but if you test this code in an empty form you will see that it works and that the error must come from somewhere else.
GeneralRe: BOOL FLAG Problem in Paint Handler Pin
Anonymous1-Oct-05 9:11
Anonymous1-Oct-05 9:11 
AnswerRe: BOOL FLAG Problem in Paint Handler Pin
Mahesh Kumar V K2-Oct-05 23:16
Mahesh Kumar V K2-Oct-05 23:16 
QuestionProperty Builder? Pin
Sled Dog1-Oct-05 5:46
Sled Dog1-Oct-05 5:46 
AnswerRe: Property Builder? Pin
David Stone1-Oct-05 19:38
sitebuilderDavid Stone1-Oct-05 19:38 
GeneralRe: Property Builder? Pin
Sled Dog2-Oct-05 2:38
Sled Dog2-Oct-05 2:38 
QuestionResize the user defined control Pin
Ming Luo1-Oct-05 5:45
Ming Luo1-Oct-05 5:45 
AnswerRe: Resize the user defined control Pin
Robert Rohde1-Oct-05 7:50
Robert Rohde1-Oct-05 7:50 
Questionmodify Lunar Lander game Pin
nume1-Oct-05 5:41
nume1-Oct-05 5:41 
AnswerRe: modify Lunar Lander game Pin
Robert Rohde1-Oct-05 7:56
Robert Rohde1-Oct-05 7:56 
Questionpanel shape hotspots Pin
michaelreian1-Oct-05 4:31
michaelreian1-Oct-05 4:31 
QuestionHost a Remote Object in a Windows Service Pin
akshayswaroop1-Oct-05 4:04
akshayswaroop1-Oct-05 4:04 
QuestionDatagrid_pageindexchanged event is not firing Pin
Deepml1-Oct-05 2:30
Deepml1-Oct-05 2:30 
QuestionStructs or Classes Pin
Heinz_30-Sep-05 18:00
Heinz_30-Sep-05 18:00 
AnswerRe: Structs or Classes Pin
Jose Lamas Rios30-Sep-05 18:31
Jose Lamas Rios30-Sep-05 18:31 
AnswerRe: Structs or Classes Pin
Mystic_Unicorn30-Sep-05 22:16
Mystic_Unicorn30-Sep-05 22:16 
GeneralRe: Structs or Classes Pin
Tim Smith1-Oct-05 16:35
Tim Smith1-Oct-05 16:35 
GeneralRe: Structs or Classes Pin
big_trev2-Oct-05 0:52
big_trev2-Oct-05 0:52 

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.