Click here to Skip to main content
15,922,325 members
Home / Discussions / C#
   

C#

 
QuestionData binding and form Pin
muharrem1-Jul-08 22:22
muharrem1-Jul-08 22:22 
AnswerRe: Data binding and form Pin
N a v a n e e t h1-Jul-08 22:33
N a v a n e e t h1-Jul-08 22:33 
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 
hi all,

I have a custom user control which will draw a grid as a background by using

Bitmap bit = new Bitmap(Width, Height, e.Graphics);<br />
Graphics gpb = Graphics.FromImage(bit);


and i have been override OnPaintBackground(PaintEventArgs e) to prevent paint background frequently.

My question is how to make a Drawline object like normally AutoCAD doConfused | :confused: .Example,user can select Drawline button and start to draw a line on the grid and allow to draw as many they want.(if possible,i would like to know the logic or concept behind).The purpose i separate the Drawline object with the background is to allow user to move or delete the certain line using mouse.

Any ideas ,tips or suggestion are welcome

note:i have an example of drawtools but i am confusing on it(it may too complicated to me Dead | X| )
http://www.codeproject.com/KB/graphics/drawtools.aspx[^]
http://www.codeproject.com/KB/graphics/OpenS-CAD.aspx[^]

Thanks in advance
cocoonwls

modified on Wednesday, July 2, 2008 3:50 AM

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 
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 

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.