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

C#

 
AnswerRe: How to bind control’s properties to variables in C#? Pin
Not Active3-Feb-10 9:32
mentorNot Active3-Feb-10 9:32 
GeneralRe: How to bind control’s properties to variables in C#? Pin
PomaPomaPoma3-Feb-10 10:09
PomaPomaPoma3-Feb-10 10:09 
GeneralRe: How to bind control’s properties to variables in C#? Pin
Not Active3-Feb-10 10:17
mentorNot Active3-Feb-10 10:17 
QuestionC# code clean up and improvement Pin
eeffoc423-Feb-10 5:20
eeffoc423-Feb-10 5:20 
AnswerRe: C# code clean up and improvement Pin
Luc Pattyn3-Feb-10 5:26
sitebuilderLuc Pattyn3-Feb-10 5:26 
GeneralRe: C# code clean up and improvement [modified] Pin
eeffoc423-Feb-10 5:50
eeffoc423-Feb-10 5:50 
GeneralRe: C# code clean up and improvement Pin
Luc Pattyn3-Feb-10 6:26
sitebuilderLuc Pattyn3-Feb-10 6:26 
GeneralRe: C# code clean up and improvement Pin
eeffoc423-Feb-10 9:17
eeffoc423-Feb-10 9:17 
1. Not sure how to approach this. Confused | :confused:
2. Not entirely sure how to do this, will need to read your article.
3. Thanks Smile | :)
4. This was done for a few reasons,
>1. I was having problems formatting the output and
>2. I had recently finished reading the chapter on stacks….
Guess its time to go back and readdress the <string> again more especially the list<string>
5. I will need to look into the Dispose() method and will add this to the code.
6. I have moved the ValidateHostInput(hostname) to the top as suggested.
7. I do have a method that handles exceptions for bad inputs but I don’t think that this is what you are referring to.
//Check to see if anything was typed into the input field
private bool ValidateHostInput(string userInput)
{
    if (userInput.Length == 0)
    {
        MessageBox.Show("You must enter a Host Name \n or IP Address", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error);
        return false;
    }
    return true;
}

8. This was just an oversight on my part and has been corrected.
9. Yes, this would be nice to include. Yet another thing I will need to look into…

Thank you very much for great feedback
Only question now is what part to start on first?
GeneralRe: C# code clean up and improvement Pin
Luc Pattyn3-Feb-10 9:54
sitebuilderLuc Pattyn3-Feb-10 9:54 
AnswerRe: C# code clean up and improvement Pin
Md. Marufuzzaman3-Feb-10 6:27
professionalMd. Marufuzzaman3-Feb-10 6:27 
Questionasalamalikum! Pin
ayeshazahoor3-Feb-10 4:43
ayeshazahoor3-Feb-10 4:43 
Questionhello every one Pin
japrasath3-Feb-10 4:03
japrasath3-Feb-10 4:03 
AnswerRe: hello every one Pin
tonyonlinux3-Feb-10 4:13
tonyonlinux3-Feb-10 4:13 
AnswerRe: hello every one Pin
Not Active3-Feb-10 4:33
mentorNot Active3-Feb-10 4:33 
AnswerRe: hello every one Pin
Abhinav S3-Feb-10 5:47
Abhinav S3-Feb-10 5:47 
AnswerRe: hello every one Pin
Wamuti3-Feb-10 9:07
Wamuti3-Feb-10 9:07 
QuestionInserting a record into a Multi-table database using linq to sql in c# [modified] Pin
tonyonlinux3-Feb-10 3:58
tonyonlinux3-Feb-10 3:58 
AnswerRe: Inserting a record into a Multi-table database using linq to sql in c# Pin
Not Active3-Feb-10 4:35
mentorNot Active3-Feb-10 4:35 
QuestionForms Slowness Pin
Syed Shahid Hussain3-Feb-10 3:09
Syed Shahid Hussain3-Feb-10 3:09 
AnswerRe: Forms Slowness Pin
OriginalGriff3-Feb-10 3:19
mveOriginalGriff3-Feb-10 3:19 
GeneralRe: Forms Slowness Pin
Syed Shahid Hussain3-Feb-10 3:28
Syed Shahid Hussain3-Feb-10 3:28 
GeneralRe: Forms Slowness Pin
OriginalGriff3-Feb-10 3:39
mveOriginalGriff3-Feb-10 3:39 
GeneralRe: Forms Slowness Pin
Syed Shahid Hussain3-Feb-10 3:48
Syed Shahid Hussain3-Feb-10 3:48 
GeneralRe: Forms Slowness Pin
Luc Pattyn3-Feb-10 3:51
sitebuilderLuc Pattyn3-Feb-10 3:51 
GeneralRe: Forms Slowness Pin
OriginalGriff3-Feb-10 3:59
mveOriginalGriff3-Feb-10 3:59 

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.