Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: Extract Text from RTF File Pin
jayvardhanpatil6-Feb-06 18:07
jayvardhanpatil6-Feb-06 18:07 
QuestionLooping XMLNode Pin
dbenisch6-Feb-06 12:07
dbenisch6-Feb-06 12:07 
AnswerRe: Looping XMLNode Pin
Guffa6-Feb-06 12:51
Guffa6-Feb-06 12:51 
QuestionSet Tooltip to Coordinate Area of Form Pin
jgallen236-Feb-06 11:48
jgallen236-Feb-06 11:48 
AnswerRe: Set Tooltip to Coordinate Area of Form Pin
jgallen236-Feb-06 12:06
jgallen236-Feb-06 12:06 
QuestionAny Advise?? Service Messages Pin
Chris Cornelius6-Feb-06 10:54
Chris Cornelius6-Feb-06 10:54 
QuestionDataGridView Control .NET 2.0 Pin
usernamed6-Feb-06 9:29
usernamed6-Feb-06 9:29 
AnswerRe: DataGridView Control .NET 2.0 Pin
hpetriffer6-Feb-06 20:20
hpetriffer6-Feb-06 20:20 
AnswerRe: DataGridView Control .NET 2.0 Pin
albCode6-Feb-06 21:08
albCode6-Feb-06 21:08 
QuestionThread-safe Access to Form Controls Pin
LighthouseJ6-Feb-06 8:51
LighthouseJ6-Feb-06 8:51 
AnswerRe: Thread-safe Access to Form Controls Pin
Judah Gabriel Himango6-Feb-06 11:23
sponsorJudah Gabriel Himango6-Feb-06 11:23 
GeneralRe: Thread-safe Access to Form Controls Pin
LighthouseJ6-Feb-06 12:21
LighthouseJ6-Feb-06 12:21 
GeneralRe: Thread-safe Access to Form Controls Pin
LighthouseJ6-Feb-06 15:46
LighthouseJ6-Feb-06 15:46 
GeneralRe: Thread-safe Access to Form Controls Pin
Judah Gabriel Himango6-Feb-06 16:09
sponsorJudah Gabriel Himango6-Feb-06 16:09 
GeneralRe: Thread-safe Access to Form Controls Pin
LighthouseJ6-Feb-06 16:44
LighthouseJ6-Feb-06 16:44 
Questionexport text/reports in XLS, HTML, PDF, DBF, XML... format Pin
MihaiChioariu6-Feb-06 8:23
MihaiChioariu6-Feb-06 8:23 
Questionweather report service Pin
balkang6-Feb-06 8:09
balkang6-Feb-06 8:09 
AnswerRe: weather report service Pin
usernamed6-Feb-06 9:38
usernamed6-Feb-06 9:38 
QuestionDrawLine question Pin
QzRz6-Feb-06 7:23
QzRz6-Feb-06 7:23 
Hi...

I have a Panel, and want to add a line on it. But i want the line to be drawn over time, using a timer.
But i don't know how to do that, I have drawn the first part of the line using this code:

private void panel1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
e.Graphics.DrawLine(new Pen(Color.Black), new Point(0,0), new Point(15,15));
}

This gives me a line from the top corner. But then the timer make the first tick i want it to continue draw the line, so the next pont will be from (15,15) to (30,30) and so on as the timer counts.

Can anyone tell me how to do, and/or give me some articles about drawing with C#?

Thanks
QzRz


AnswerRe: DrawLine question Pin
Guffa6-Feb-06 7:55
Guffa6-Feb-06 7:55 
QuestionHow to generate 16digit Random number using C# Pin
n_satisha6-Feb-06 7:21
n_satisha6-Feb-06 7:21 
AnswerRe: How to generate 16digit Random number using C# Pin
Colin Angus Mackay6-Feb-06 7:41
Colin Angus Mackay6-Feb-06 7:41 
GeneralRe: How to generate 16digit Random number using C# Pin
leppie6-Feb-06 7:52
leppie6-Feb-06 7:52 
AnswerRe: How to generate 16digit Random number using C# Pin
Guffa6-Feb-06 8:02
Guffa6-Feb-06 8:02 
AnswerRe: How to generate 16digit Random number using C# Pin
Sebastian Schneider6-Feb-06 10:41
Sebastian Schneider6-Feb-06 10:41 

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.