Click here to Skip to main content
15,911,786 members
Home / Discussions / C#
   

C#

 
AnswerRe: Map network drive from remote machine(server) to local machine Pin
Zoltan Balazs16-Jun-08 4:11
Zoltan Balazs16-Jun-08 4:11 
GeneralRe: Map network drive from remote machine(server) to local machine Pin
chakran16-Jun-08 4:40
chakran16-Jun-08 4:40 
GeneralRe: Map network drive from remote machine(server) to local machine Pin
Zoltan Balazs16-Jun-08 4:56
Zoltan Balazs16-Jun-08 4:56 
GeneralRe: Map network drive from remote machine(server) to local machine Pin
chakran16-Jun-08 19:31
chakran16-Jun-08 19:31 
QuestionEnable/disable buttons according to txt file Pin
Casper Hansen16-Jun-08 3:00
Casper Hansen16-Jun-08 3:00 
AnswerRe: Enable/disable buttons according to txt file Pin
Christian Graus16-Jun-08 3:02
protectorChristian Graus16-Jun-08 3:02 
GeneralRe: Enable/disable buttons according to txt file Pin
Casper Hansen19-Jun-08 1:07
Casper Hansen19-Jun-08 1:07 
AnswerRe: Enable/disable buttons according to txt file Pin
Casper Hansen21-Jun-08 1:36
Casper Hansen21-Jun-08 1:36 
// Current lines left in the array
// Adding + 1 so it wont take the current line
linesLeft = currentLineNumber + 1;

// Looping through the rest of the lines from my array.Count
for (int i = linesLeft; i < MonsterSetBaseDataArray.Count; i++)
{
    // Check if the line is valid
    // CheckIf will return true or false (bool)
    checkIf(Convert.ToString(MonsterSetBaseDataArray[i]));

    // If the data is valid
    if (checkIfStatus == true)
    {
        // Stop the for
        break;
    }

}


Here is what I got so far on my next / forward button

I thought of doing it like this:
If one of the remaining lines in the array is valid, the button will not be disabled, but if there is no valid lines left the button will be disabled.

I just couldn figure out the last part

Any ideas on this?

I know how to disable the button, but I dont know when to do it.

I disable my button like this:
nxtButton.Enabled = false;

Hope you can help, because im beginning to get desperate..
QuestionWhy i always received mail sent by c# code in spam not inbox???? Pin
malak nour16-Jun-08 2:54
malak nour16-Jun-08 2:54 
AnswerRe: Why i always received mail sent by c# code in spam not inbox???? Pin
Christian Graus16-Jun-08 3:01
protectorChristian Graus16-Jun-08 3:01 
AnswerRe: Why i always received mail sent by c# code in spam not inbox???? Pin
Simon P Stevens16-Jun-08 3:03
Simon P Stevens16-Jun-08 3:03 
QuestionHow to Write PlugIn for our Applications in C# 2.0 ? Pin
hdv21216-Jun-08 2:43
hdv21216-Jun-08 2:43 
AnswerRe: How to Write PlugIn for our Applications in C# 2.0 ? Pin
Christian Graus16-Jun-08 2:46
protectorChristian Graus16-Jun-08 2:46 
GeneralRe: How to Write PlugIn for our Applications in C# 2.0 ? Pin
ali35416-Jun-08 13:33
ali35416-Jun-08 13:33 
AnswerRe: How to Write PlugIn for our Applications in C# 2.0 ? Pin
Simon P Stevens16-Jun-08 2:55
Simon P Stevens16-Jun-08 2:55 
GeneralRe: How to Write PlugIn for our Applications in C# 2.0 ? Pin
ali35416-Jun-08 13:34
ali35416-Jun-08 13:34 
Questionwhy constructor ??? Pin
tasumisra16-Jun-08 2:14
tasumisra16-Jun-08 2:14 
AnswerRe: why constructor ??? Pin
Christian Graus16-Jun-08 2:30
protectorChristian Graus16-Jun-08 2:30 
GeneralRe: why constructor ??? Pin
tasumisra16-Jun-08 3:03
tasumisra16-Jun-08 3:03 
GeneralRe: why constructor ??? Pin
Christian Graus16-Jun-08 3:08
protectorChristian Graus16-Jun-08 3:08 
GeneralRe: why constructor ??? Pin
darkelv16-Jun-08 5:14
darkelv16-Jun-08 5:14 
Questionmake active x component Pin
justintimberlake16-Jun-08 2:05
justintimberlake16-Jun-08 2:05 
AnswerRe: make active x component Pin
Christian Graus16-Jun-08 2:31
protectorChristian Graus16-Jun-08 2:31 
QuestionApplication of nunit for the method that does not return value Pin
sowmya k16-Jun-08 1:58
sowmya k16-Jun-08 1:58 
AnswerRe: Application of nunit for the method that does not return value Pin
N a v a n e e t h16-Jun-08 2:12
N a v a n e e t h16-Jun-08 2:12 

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.