Issue with network programming in C#  
Author Message
Priyadharshini.S





PostPosted: Visual C# Language, Issue with network programming in C# Top

Hello,

I am working on the TCP/IP application using C#. I have downloaded the source

code from CodeProject.com. I have loaded the application in my Visual Studio .NET

While I try to run the application i get the following error:

'System.Windows.Forms.Command' is inaccessible due to its protection level.

When I put this and searched in the google, i could not get the solution. Can

anyone help me to solve the issue.

Thanks in advance,

S.Priyadharshini



Visual C#3  
 
 
Paul Louth





PostPosted: Visual C# Language, Issue with network programming in C# Top

'System.Windows.Forms.Command' is a member variable on your Form. It is marked at private or protected, when it should be marked as public or protected. public if it's required by an external piece of code, or protected if it's required by a sub-class.