Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need GUI help, to child or not child? Pin
Luc Pattyn19-Jun-07 6:16
sitebuilderLuc Pattyn19-Jun-07 6:16 
QuestionRe: Need GUI help, to child or not child? Pin
Skcheng19-Jun-07 6:59
Skcheng19-Jun-07 6:59 
AnswerRe: Need GUI help, to child or not child? Pin
Luc Pattyn19-Jun-07 7:39
sitebuilderLuc Pattyn19-Jun-07 7:39 
GeneralRe: Need GUI help, to child or not child? Pin
Skcheng19-Jun-07 8:11
Skcheng19-Jun-07 8:11 
AnswerRe: Need GUI help, to child or not child? Pin
Jon Hulatt19-Jun-07 10:18
Jon Hulatt19-Jun-07 10:18 
Questionattach serial command to button [modified] Pin
dirtylarry19-Jun-07 6:06
dirtylarry19-Jun-07 6:06 
AnswerRe: attach serial command to button Pin
dirtylarry20-Jun-07 12:57
dirtylarry20-Jun-07 12:57 
Questionno value returned Pin
arkiboys19-Jun-07 6:05
arkiboys19-Jun-07 6:05 
Hi,
Please see the function below.
When this function is called, it successfully finds the accurate value and assigns it to intFinalBaseIndexID i.e. return intFinalBaseIndexID; .
after the line i.e. return intFinalBaseIndexID; I am not sure why the function FinalBaseIndexID(dsCurves, intBaseIndexID, intBaseParentIndexID);//find the next Base... is called again? and so the function FinalBaseIndexID returns 0

Thanks

static int FinalBaseIndexID(DataSet dsCurves, int intIndexID, int intParentIndexID)
{
int intFinalBaseIndexID = 0;
//find the Base Index...
for (int intCurve = 0; intCurve < dsCurves.Tables.Count; intCurve++)
{
int intBaseIndexID = int.Parse(dsCurves.Tables[intCurve].Rows[0]["IndexID"].ToString());
int intBaseParentIndexID = int.Parse(dsCurves.Tables[intCurve].Rows[0]["ParentIndexID"].ToString());

if (intBaseIndexID == intParentIndexID)
{ //Base...
if (intBaseParentIndexID > 0)
{
FinalBaseIndexID(dsCurves, intBaseIndexID, intBaseParentIndexID);//find the next Base...
}
else
{
//Final Base...
intFinalBaseIndexID = intBaseIndexID;
}
}

if (intFinalBaseIndexID > 0)
{
break;
}
}

return intFinalBaseIndexID;
}
AnswerRe: no value returned Pin
Jimmanuel19-Jun-07 6:54
Jimmanuel19-Jun-07 6:54 
GeneralSorted collection with alternate sort key Pin
Brady Kelly19-Jun-07 5:24
Brady Kelly19-Jun-07 5:24 
GeneralRe: Sorted collection with alternate sort key Pin
originSH19-Jun-07 5:44
originSH19-Jun-07 5:44 
QuestionGrey Scale Image error?? Pin
Software_Specialist19-Jun-07 5:04
Software_Specialist19-Jun-07 5:04 
AnswerRe: Grey Scale Image error?? Pin
Giorgi Dalakishvili19-Jun-07 5:20
mentorGiorgi Dalakishvili19-Jun-07 5:20 
GeneralRe: Grey Scale Image error?? Pin
Software_Specialist19-Jun-07 5:30
Software_Specialist19-Jun-07 5:30 
GeneralRe: Grey Scale Image error?? Pin
Luc Pattyn19-Jun-07 5:40
sitebuilderLuc Pattyn19-Jun-07 5:40 
GeneralRe: Grey Scale Image error?? Pin
Software_Specialist19-Jun-07 5:57
Software_Specialist19-Jun-07 5:57 
GeneralRe: Grey Scale Image error?? Pin
Luc Pattyn19-Jun-07 6:08
sitebuilderLuc Pattyn19-Jun-07 6:08 
GeneralRe: Grey Scale Image error?? Pin
Software_Specialist21-Jun-07 4:46
Software_Specialist21-Jun-07 4:46 
GeneralRe: Grey Scale Image error?? Pin
Luc Pattyn21-Jun-07 5:02
sitebuilderLuc Pattyn21-Jun-07 5:02 
GeneralRe: Grey Scale Image error?? Pin
Software_Specialist21-Jun-07 5:07
Software_Specialist21-Jun-07 5:07 
GeneralRe: Grey Scale Image error?? Pin
Luc Pattyn21-Jun-07 5:22
sitebuilderLuc Pattyn21-Jun-07 5:22 
GeneralRe: Grey Scale Image error?? Pin
Software_Specialist21-Jun-07 5:30
Software_Specialist21-Jun-07 5:30 
GeneralRe: Grey Scale Image error?? Pin
Luc Pattyn21-Jun-07 5:48
sitebuilderLuc Pattyn21-Jun-07 5:48 
GeneralRe: Grey Scale Image error?? Pin
Software_Specialist21-Jun-07 6:26
Software_Specialist21-Jun-07 6:26 
GeneralRe: Grey Scale Image error?? Pin
Amar Chaudhary19-Jun-07 6:25
Amar Chaudhary19-Jun-07 6: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.