Click here to Skip to main content
16,006,452 members
Home / Discussions / C#
   

C#

 
Generalgarbage collector Pin
sianatia10-Jan-05 21:28
sianatia10-Jan-05 21:28 
GeneralRe: garbage collector Pin
Colin Angus Mackay11-Jan-05 0:20
Colin Angus Mackay11-Jan-05 0:20 
Generalrtf help Pin
Mohammad Daba'an10-Jan-05 21:27
Mohammad Daba'an10-Jan-05 21:27 
GeneralException messages in multilingual environment Pin
Ami Bar10-Jan-05 21:12
Ami Bar10-Jan-05 21:12 
GeneralCrystal Report Image Parameter (C#) Pin
Craig G Fraser10-Jan-05 20:42
Craig G Fraser10-Jan-05 20:42 
GeneralStreaming Pin
RockRock10-Jan-05 19:30
RockRock10-Jan-05 19:30 
GeneralRe: Streaming Pin
Heath Stewart10-Jan-05 19:46
protectorHeath Stewart10-Jan-05 19:46 
GeneralPen Color Change Pin
ninja260510-Jan-05 18:57
ninja260510-Jan-05 18:57 
I am drawing lines of different colors based on a criteria. I have an If Else loop and when the panel paint event is called it selects the color specified in the else statement by default. Kinda overrides the color in the if statement. So all the lines turn out be blue. Here is the code:

foreach(Line l in Lines)
{
if(locallink!=null)
{
char charfileindex1='#';
int charfileindexlen1=locallink.Split(charfileindex1).Length;
string[] ss=new string[charfileindexlen1];
ss=locallink.Split(charfileindex1);
for(int i=0; i {
//int index=ss[i].IndexOf(dragimage);
if(checklinks(ss[i].ToString())> 0)
{
//draws red line
DrawAssocLine(l);
label4.Text="Red"+k.ToString();
k++;
}
else
{
//draws blue line
DrawLine(l);
label5.Text="Blue"+m.ToString();
m++;
}

}

}

}
Region r = getRegionByLine(line,p);
thumbnailpanel.Invalidate(r);
thumbnailpanel.Update();
r.Dispose();

GeneralRe: Pen Color Change Pin
Heath Stewart10-Jan-05 20:23
protectorHeath Stewart10-Jan-05 20:23 
GeneralRe: Pen Color Change Pin
Robert Rohde10-Jan-05 20:26
Robert Rohde10-Jan-05 20:26 
QuestionMemory Leak in C# SDI App? Pin
pcJuice10-Jan-05 15:22
pcJuice10-Jan-05 15:22 
AnswerRe: Memory Leak in C# SDI App? Pin
Victor Campos10-Jan-05 18:18
Victor Campos10-Jan-05 18:18 
GeneralRe: Memory Leak in C# SDI App? Pin
Heath Stewart10-Jan-05 19:26
protectorHeath Stewart10-Jan-05 19:26 
GeneralRe: Memory Leak in C# SDI App? Pin
turbochimp11-Jan-05 2:22
turbochimp11-Jan-05 2:22 
GeneralRe: Memory Leak in C# SDI App? Pin
Heath Stewart11-Jan-05 4:50
protectorHeath Stewart11-Jan-05 4:50 
GeneralRe: Memory Leak in C# SDI App? Pin
turbochimp11-Jan-05 14:50
turbochimp11-Jan-05 14:50 
GeneralRe: Memory Leak in C# SDI App? Pin
pcJuice11-Jan-05 13:53
pcJuice11-Jan-05 13:53 
GeneralRunning a C# application from a network drive Pin
laptop_0110-Jan-05 15:09
laptop_0110-Jan-05 15:09 
GeneralRe: Running a C# application from a network drive Pin
turbochimp10-Jan-05 16:38
turbochimp10-Jan-05 16:38 
GeneralRe: Running a C# application from a network drive Pin
Heath Stewart10-Jan-05 19:31
protectorHeath Stewart10-Jan-05 19:31 
GeneralRe: Running a C# application from a network drive Pin
Heath Stewart10-Jan-05 19:35
protectorHeath Stewart10-Jan-05 19:35 
GeneralCharacter conversion in .NET Pin
Paul Selormey10-Jan-05 15:08
Paul Selormey10-Jan-05 15:08 
GeneralRe: Character conversion in .NET Pin
Heath Stewart10-Jan-05 19:42
protectorHeath Stewart10-Jan-05 19:42 
GeneralRe: Character conversion in .NET Pin
Paul Selormey10-Jan-05 21:58
Paul Selormey10-Jan-05 21:58 
GeneralRe: Character conversion in .NET Pin
Heath Stewart11-Jan-05 4:55
protectorHeath Stewart11-Jan-05 4:55 

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.