Click here to Skip to main content
15,899,313 members
Home / Discussions / C#
   

C#

 
AnswerRe: iterating through tabpages in a tabcontrol Pin
Martin#10-Dec-06 23:40
Martin#10-Dec-06 23:40 
GeneralRe: iterating through tabpages in a tabcontrol Pin
karam chandrabose11-Dec-06 0:44
karam chandrabose11-Dec-06 0:44 
AnswerRe: iterating through tabpages in a tabcontrol Pin
Robert Rohde11-Dec-06 0:45
Robert Rohde11-Dec-06 0:45 
GeneralRe: iterating through tabpages in a tabcontrol Pin
Yustme11-Dec-06 2:02
Yustme11-Dec-06 2:02 
AnswerRe: iterating through tabpages in a tabcontrol Pin
quiteSmart11-Dec-06 1:13
quiteSmart11-Dec-06 1:13 
Question[Message Deleted] Pin
rs200610-Dec-06 23:16
rs200610-Dec-06 23:16 
AnswerRe: How to control the controls of another form from current form Pin
Martin#10-Dec-06 23:53
Martin#10-Dec-06 23:53 
AnswerRe: How to control the controls of another form from current form Pin
Colin Angus Mackay11-Dec-06 0:18
Colin Angus Mackay11-Dec-06 0:18 
rs2006 wrote:
But I couldn't see the red line,I don't know why.


You were given a solution before. It didn't completely work but it got you further than your code above - Why did you revert to code that you know does not work in any situation when you had code that does work in some situations? Doing this is a slap in the face to anyone that tried to help you the first time round.

What you need is some way to keep the lines you draw on the form there permanently. You can do this by having the form respond to an OnPaint event and have it redraw the line every time the form gets damaged.

An alternative solution is to create a control that represents the line and have that draw itself when instructed.


Upcoming Scottish Developers events:
* Glasgow: Tell us what you want to see in 2007


My: Website | Blog | Photos

AnswerRe: How to control the controls of another form from current form Pin
quiteSmart11-Dec-06 1:09
quiteSmart11-Dec-06 1:09 
GeneralRe: How to control the controls of another form from current form Pin
Colin Angus Mackay11-Dec-06 2:06
Colin Angus Mackay11-Dec-06 2:06 
GeneralRe: How to control the controls of another form from current form Pin
Pete O'Hanlon11-Dec-06 2:17
mvePete O'Hanlon11-Dec-06 2:17 
JokeRe: How to control the controls of another form from current form Pin
quiteSmart11-Dec-06 2:26
quiteSmart11-Dec-06 2:26 
GeneralRe: How to control the controls of another form from current form Pin
quiteSmart11-Dec-06 2:23
quiteSmart11-Dec-06 2:23 
GeneralRe: How to control the controls of another form from current form Pin
Colin Angus Mackay11-Dec-06 7:32
Colin Angus Mackay11-Dec-06 7:32 
QuestionCombo Box question [modified] Pin
Muntyness10-Dec-06 23:05
Muntyness10-Dec-06 23:05 
AnswerRe: Combo Box question Pin
Martin#11-Dec-06 0:14
Martin#11-Dec-06 0:14 
GeneralRe: Combo Box question Pin
Muntyness11-Dec-06 0:43
Muntyness11-Dec-06 0:43 
AnswerRe: Combo Box question Pin
Martin#11-Dec-06 0:57
Martin#11-Dec-06 0:57 
GeneralRe: Combo Box question Pin
Muntyness11-Dec-06 1:16
Muntyness11-Dec-06 1:16 
GeneralRe: Combo Box question Pin
Muntyness11-Dec-06 6:26
Muntyness11-Dec-06 6:26 
GeneralRe: Combo Box question Pin
Martin#11-Dec-06 9:49
Martin#11-Dec-06 9:49 
GeneralRe: Combo Box question [modified] Pin
Muntyness12-Dec-06 3:19
Muntyness12-Dec-06 3:19 
GeneralRe: Combo Box question Pin
Martin#12-Dec-06 5:43
Martin#12-Dec-06 5:43 
GeneralRe: Combo Box question Pin
Muntyness12-Dec-06 8:48
Muntyness12-Dec-06 8:48 
QuestionRow Count Problem while reading file using OLDEB connection pls help me Pin
dhanabalanr10-Dec-06 23:00
dhanabalanr10-Dec-06 23:00 

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.