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

C#

 
AnswerRe: Data binding and form Pin
Elroy Dsilva2-Jul-08 0:42
Elroy Dsilva2-Jul-08 0:42 
Questionsorting DataGridView which is binded to BindingSource. Pin
jekak1-Jul-08 21:48
jekak1-Jul-08 21:48 
AnswerRe: sorting DataGridView which is binded to BindingSource. Pin
Harvey Saayman1-Jul-08 22:23
Harvey Saayman1-Jul-08 22:23 
Question3D Solid geometry library Pin
Hari_10101-Jul-08 21:26
Hari_10101-Jul-08 21:26 
AnswerRe: 3D Solid geometry library Pin
ajtunbridge2-Jul-08 2:48
ajtunbridge2-Jul-08 2:48 
QuestionDrawing line object in custom user control [modified] Pin
cocoonwls1-Jul-08 21:21
cocoonwls1-Jul-08 21:21 
AnswerRe: Drawing line object in custom user control Pin
Harvey Saayman1-Jul-08 22:33
Harvey Saayman1-Jul-08 22:33 
GeneralRe: Drawing line object in custom user control Pin
cocoonwls2-Jul-08 16:38
cocoonwls2-Jul-08 16:38 
Hi,

yes,i got your idea.But according to your suggestion,how can i put the onpaint method into each line object?Because i don't want all the line object repaint everytime when one of them changed(change location or line width). And the below description i was found is describe what i actually want..

store drawable objects in an array. Each drawable object knows how to draw itself. 
On repaint, just iterate over the array of drawable objects. 
So for a line, create a Line class that implements IDrawable. 
Store the state of the line in the line object so that the line knows where it goes and 
what it looks like. The OS clips the drawing to the dirty drawing rect so that 
only the dirty portion of the screen is redrawn. 
If you call invalidate the entire screen will be redrawn.


thanks in advance

regards
cocoonwls
GeneralRe: Drawing line object in custom user control Pin
Harvey Saayman2-Jul-08 20:58
Harvey Saayman2-Jul-08 20:58 
QuestionUsing SAPI 5.1 for multiple languages like french Pin
Venkatesh.P1-Jul-08 20:20
Venkatesh.P1-Jul-08 20:20 
Questioncrystal report Pin
cse.vidhya1-Jul-08 19:17
cse.vidhya1-Jul-08 19:17 
AnswerRe: crystal report Pin
Paul Conrad1-Jul-08 19:53
professionalPaul Conrad1-Jul-08 19:53 
GeneralRe: crystal report Pin
cse.vidhya1-Jul-08 19:57
cse.vidhya1-Jul-08 19:57 
QuestionChange values of pixels Pin
gigahertz2051-Jul-08 18:49
gigahertz2051-Jul-08 18:49 
AnswerRe: Change values of pixels Pin
stancrm1-Jul-08 20:12
stancrm1-Jul-08 20:12 
Questionc# barcode reader using scanner Pin
lankaudaranga1-Jul-08 17:51
lankaudaranga1-Jul-08 17:51 
AnswerRe: c# barcode reader using scanner Pin
Bert delaVega1-Jul-08 18:18
Bert delaVega1-Jul-08 18:18 
AnswerRe: c# barcode reader using scanner Pin
killabyte1-Jul-08 18:21
killabyte1-Jul-08 18:21 
AnswerRe: c# barcode reader using scanner Pin
John Ad1-Jul-08 18:23
John Ad1-Jul-08 18:23 
QuestionRunning your programs on other machines Pin
max292971-Jul-08 16:23
max292971-Jul-08 16:23 
AnswerRe: Running your programs on other machines Pin
Christian Graus1-Jul-08 16:24
protectorChristian Graus1-Jul-08 16:24 
GeneralRe: Running your programs on other machines Pin
max292971-Jul-08 16:28
max292971-Jul-08 16:28 
GeneralRe: Running your programs on other machines Pin
Christian Graus1-Jul-08 16:37
protectorChristian Graus1-Jul-08 16:37 
GeneralRe: Running your programs on other machines Pin
max292971-Jul-08 16:41
max292971-Jul-08 16:41 
GeneralRe: Running your programs on other machines Pin
Christian Graus1-Jul-08 17:24
protectorChristian Graus1-Jul-08 17:24 

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.