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

C#

 
QuestionWhy is my .mdb connection not working? Pin
Anonymous2-Oct-05 9:38
Anonymous2-Oct-05 9:38 
AnswerRe: Why is my .mdb connection not working? Pin
Mahesh Kumar V K2-Oct-05 21:39
Mahesh Kumar V K2-Oct-05 21:39 
QuestionGet External Ip Pin
ventomito2-Oct-05 8:37
ventomito2-Oct-05 8:37 
Questionmost efficient way to draw triangle Pin
...---...2-Oct-05 6:04
...---...2-Oct-05 6:04 
AnswerRe: most efficient way to draw triangle Pin
Dave Kreskowiak2-Oct-05 7:12
mveDave Kreskowiak2-Oct-05 7:12 
GeneralRe: most efficient way to draw triangle Pin
...---...2-Oct-05 8:20
...---...2-Oct-05 8:20 
GeneralRe: most efficient way to draw triangle Pin
Dave Kreskowiak2-Oct-05 8:47
mveDave Kreskowiak2-Oct-05 8:47 
GeneralRe: most efficient way to draw triangle Pin
...---...2-Oct-05 9:24
...---...2-Oct-05 9:24 
Wow. I had no idea.... thanks. Not to get too greedy here, but is it possible to use it for the
technique here? Or will I have to re-write most of it.... thanks again

/////////////////////////////////////////////////////////////////////////////////////////////////////


public Pen[] activePen = new Pen[] { new Pen( Color.Blue, 2 ), new Pen( Color.Green, 2 ), new Pen(Color.Red, 2) };

private int _penIndex = -1;

/////////////////////////////////////////////////////////////////////////////////////////////////////////

private Pen GetNextPen()
{
_penIndex = (_penIndex + 1) % 3;
return activePen[_penIndex];
}

//////////////////////////////////////////////////////////////////////////////////////////////////////


g.DrawLine(GetNextPen(), 250, 250, x, y );

/////////////////////////////////////////////////////////////////////////////////////////////
GeneralRe: most efficient way to draw triangle Pin
Robert Rohde2-Oct-05 19:29
Robert Rohde2-Oct-05 19:29 
QuestionOleDbType cast to BaseType .Net Pin
Gedrain2-Oct-05 3:24
Gedrain2-Oct-05 3:24 
AnswerRe: OleDbType cast to BaseType .Net Pin
Dave Kreskowiak2-Oct-05 7:17
mveDave Kreskowiak2-Oct-05 7:17 
GeneralRe: OleDbType cast to BaseType .Net Pin
Gedrain2-Oct-05 7:21
Gedrain2-Oct-05 7:21 
GeneralRe: OleDbType cast to BaseType .Net Pin
Dave Kreskowiak2-Oct-05 8:29
mveDave Kreskowiak2-Oct-05 8:29 
GeneralRe: OleDbType cast to BaseType .Net Pin
Gedrain2-Oct-05 8:36
Gedrain2-Oct-05 8:36 
GeneralRe: OleDbType cast to BaseType .Net Pin
Dave Kreskowiak2-Oct-05 8:50
mveDave Kreskowiak2-Oct-05 8:50 
QuestionHelp!! monitor bandwidth usage Pin
dunbshy2-Oct-05 3:03
dunbshy2-Oct-05 3:03 
AnswerRe: Help!! monitor bandwidth usage Pin
Dave Kreskowiak2-Oct-05 7:09
mveDave Kreskowiak2-Oct-05 7:09 
GeneralRe: Help!! monitor bandwidth usage Pin
dunbshy2-Oct-05 7:26
dunbshy2-Oct-05 7:26 
GeneralRe: Help!! monitor bandwidth usage Pin
Dave Kreskowiak2-Oct-05 8:45
mveDave Kreskowiak2-Oct-05 8:45 
GeneralRe: Help!! monitor bandwidth usage Pin
dunbshy2-Oct-05 22:51
dunbshy2-Oct-05 22:51 
GeneralRe: Help!! monitor bandwidth usage Pin
Dave Kreskowiak6-Oct-05 11:54
mveDave Kreskowiak6-Oct-05 11:54 
QuestionRoulette Help!!! Pin
ArsNeo2-Oct-05 1:48
ArsNeo2-Oct-05 1:48 
AnswerRe: Roulette Help!!! Pin
Dave Kreskowiak2-Oct-05 2:21
mveDave Kreskowiak2-Oct-05 2:21 
GeneralRe: Roulette Help!!! Pin
ArsNeo2-Oct-05 6:47
ArsNeo2-Oct-05 6:47 
GeneralRe: Roulette Help!!! Pin
Dave Kreskowiak2-Oct-05 7:04
mveDave Kreskowiak2-Oct-05 7:04 

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.