Click here to Skip to main content
16,005,236 members
Home / Discussions / C#
   

C#

 
Questionitem in combobox Pin
justintimberlake30-Sep-07 22:20
justintimberlake30-Sep-07 22:20 
AnswerRe: item in combobox Pin
Stevo Z30-Sep-07 22:30
Stevo Z30-Sep-07 22:30 
QuestionHow to select and edit a line with Graphics GDI+ in C#? Pin
Seraph_summer30-Sep-07 22:11
Seraph_summer30-Sep-07 22:11 
AnswerRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Martin#30-Sep-07 22:25
Martin#30-Sep-07 22:25 
AnswerRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Guffa30-Sep-07 22:43
Guffa30-Sep-07 22:43 
GeneralRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Seraph_summer30-Sep-07 22:53
Seraph_summer30-Sep-07 22:53 
GeneralRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Pete O'Hanlon30-Sep-07 22:58
mvePete O'Hanlon30-Sep-07 22:58 
AnswerRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Guffa1-Oct-07 0:40
Guffa1-Oct-07 0:40 
Pete is right, you have to represent the lines as objects in your code somehow.

If you don't already do this, then you aren't drawing the lines correctly. You need to keep track of the lines in order to properly draw them in the Paint event of the control. If you just draw the lines outside the Paint event, they are just drawn on the screen where the control happens to be, and the control is not at all aware of the lines. Whenever the controls is redrawn for any reason, the lines will disappear.

---
single minded; short sighted; long gone;

AnswerRe: How to select and edit a line with Graphics GDI+ in C#? Pin
Christian Graus30-Sep-07 23:18
protectorChristian Graus30-Sep-07 23:18 
QuestionUpdate data base Pin
Tamimi - Code30-Sep-07 22:11
Tamimi - Code30-Sep-07 22:11 
GeneralRe: Update data base Pin
ESTAN30-Sep-07 22:32
ESTAN30-Sep-07 22:32 
GeneralRe: Update data base Pin
Tamimi - Code30-Sep-07 23:04
Tamimi - Code30-Sep-07 23:04 
AnswerRe: Update data base Pin
Mandaar Kulkarni1-Oct-07 0:48
Mandaar Kulkarni1-Oct-07 0:48 
QuestionLive Video Transmission using Windows Media Services Pin
DeepOceans30-Sep-07 21:47
DeepOceans30-Sep-07 21:47 
QuestionSet Parent Pin
Maddie from Dartford30-Sep-07 21:43
Maddie from Dartford30-Sep-07 21:43 
AnswerRe: Set Parent Pin
Guffa30-Sep-07 21:53
Guffa30-Sep-07 21:53 
AnswerRe: Set Parent Pin
Martin#30-Sep-07 22:06
Martin#30-Sep-07 22:06 
QuestionImage Combobox Pin
Xmen Real 30-Sep-07 21:39
professional Xmen Real 30-Sep-07 21:39 
AnswerRe: Image Combobox Pin
TJoe1-Oct-07 2:56
TJoe1-Oct-07 2:56 
QuestionCrystal report Problem [modified] Pin
Raza Hussain30-Sep-07 21:21
Raza Hussain30-Sep-07 21:21 
QuestionSystem.IO.File.Delete() Pin
M Riaz Bashir30-Sep-07 20:33
M Riaz Bashir30-Sep-07 20:33 
AnswerRe: System.IO.File.Delete() Pin
blackjack215030-Sep-07 20:49
blackjack215030-Sep-07 20:49 
GeneralRe: System.IO.File.Delete() Pin
M Riaz Bashir30-Sep-07 20:50
M Riaz Bashir30-Sep-07 20:50 
AnswerRe: System.IO.File.Delete() Pin
yogesh_kumar_agarwal30-Sep-07 21:05
yogesh_kumar_agarwal30-Sep-07 21:05 
QuestionTime values in datagrid Pin
yogesh_kumar_agarwal30-Sep-07 20:25
yogesh_kumar_agarwal30-Sep-07 20:25 

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.