Click here to Skip to main content
15,897,518 members
Home / Discussions / C#
   

C#

 
Questionneed to understand once and for all.... Pin
...---...23-Sep-05 5:49
...---...23-Sep-05 5:49 
AnswerRe: need to understand once and for all.... Pin
Robert Rohde23-Sep-05 6:21
Robert Rohde23-Sep-05 6:21 
GeneralRe: need to understand once and for all.... Pin
...---...23-Sep-05 6:56
...---...23-Sep-05 6:56 
GeneralRe: need to understand once and for all.... Pin
Dan Neely23-Sep-05 7:05
Dan Neely23-Sep-05 7:05 
GeneralRe: need to understand once and for all.... Pin
...---...23-Sep-05 7:17
...---...23-Sep-05 7:17 
GeneralRe: need to understand once and for all.... Pin
Guffa23-Sep-05 8:06
Guffa23-Sep-05 8:06 
GeneralRe: need to understand once and for all.... Pin
...---...23-Sep-05 8:39
...---...23-Sep-05 8:39 
GeneralRe: need to understand once and for all.... Pin
Dave Kreskowiak23-Sep-05 8:48
mveDave Kreskowiak23-Sep-05 8:48 
SkunkedWorks wrote:
ButtonA_Click(sender, e)
{
//put line A on Form
//Invalidate()??
}


No. You don't put the line on the Form.

You update the state information that your application has to track to know what lines the Paint event needs to draw. Then you invalidate the control and it uses the state information to repaint itself using your OnPaint drawing code.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

AnswerRe: need to understand once and for all.... Pin
mikanu23-Sep-05 9:04
mikanu23-Sep-05 9:04 
AnswerRe: need to understand once and for all.... Pin
Guffa23-Sep-05 11:36
Guffa23-Sep-05 11:36 
QuestionExcel Type or Namespace Pin
zaboboa23-Sep-05 5:19
zaboboa23-Sep-05 5:19 
AnswerRe: Excel Type or Namespace Pin
Radioactive Cat23-Sep-05 7:06
sussRadioactive Cat23-Sep-05 7:06 
Questiondeployment (removing previous versions automatically) Pin
BlackDice23-Sep-05 4:30
BlackDice23-Sep-05 4:30 
AnswerRe: deployment (removing previous versions automatically) Pin
Wjousts23-Sep-05 10:08
Wjousts23-Sep-05 10:08 
GeneralRe: deployment (removing previous versions automatically) Pin
BlackDice23-Sep-05 10:09
BlackDice23-Sep-05 10:09 
QuestionA question about the "file field" Pin
shanzy23-Sep-05 3:38
shanzy23-Sep-05 3:38 
AnswerRe: A question about the "file field" Pin
Dave Kreskowiak23-Sep-05 6:23
mveDave Kreskowiak23-Sep-05 6:23 
QuestionType of a calling instace from within a method Pin
Radioactive Cat23-Sep-05 3:37
sussRadioactive Cat23-Sep-05 3:37 
AnswerRe: Type of a calling instace from within a method Pin
Dave Kreskowiak23-Sep-05 6:08
mveDave Kreskowiak23-Sep-05 6:08 
GeneralRe: Type of a calling instace from within a method Pin
Anonymous23-Sep-05 7:01
Anonymous23-Sep-05 7:01 
AnswerRe: Type of a calling instace from within a method Pin
leppie23-Sep-05 7:16
leppie23-Sep-05 7:16 
GeneralRe: Type of a calling instace from within a method Pin
Dave Kreskowiak23-Sep-05 7:25
mveDave Kreskowiak23-Sep-05 7:25 
GeneralRe: Type of a calling instace from within a method Pin
Radioacitve Cat23-Sep-05 7:38
sussRadioacitve Cat23-Sep-05 7:38 
QuestionFormating Report in C# programatically Pin
zaboboa23-Sep-05 3:16
zaboboa23-Sep-05 3:16 
QuestionLosing Focus Pin
Sled Dog23-Sep-05 3:09
Sled Dog23-Sep-05 3:09 

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.