Click here to Skip to main content
15,906,626 members
Home / Discussions / C#
   

C#

 
AnswerRe: Interact Pin
Colin Angus Mackay18-Dec-05 5:11
Colin Angus Mackay18-Dec-05 5:11 
GeneralRe: Interact Pin
nc3b19-Dec-05 7:19
nc3b19-Dec-05 7:19 
QuestionAn object reference is required for the nonstatic field, method, or property Pin
ESTAN18-Dec-05 1:48
ESTAN18-Dec-05 1:48 
AnswerRe: An object reference is required for the nonstatic field, method, or property Pin
S. Senthil Kumar18-Dec-05 2:03
S. Senthil Kumar18-Dec-05 2:03 
GeneralRe: An object reference is required for the nonstatic field, method, or property Pin
ESTAN18-Dec-05 2:06
ESTAN18-Dec-05 2:06 
GeneralRe: An object reference is required for the nonstatic field, method, or property Pin
S. Senthil Kumar18-Dec-05 2:11
S. Senthil Kumar18-Dec-05 2:11 
GeneralRe: An object reference is required for the nonstatic field, method, or property Pin
ESTAN18-Dec-05 2:14
ESTAN18-Dec-05 2:14 
GeneralRe: An object reference is required for the nonstatic field, method, or property Pin
S. Senthil Kumar18-Dec-05 2:22
S. Senthil Kumar18-Dec-05 2:22 
I guess you're new to C# programming? The static[^] keyword is used to indicate that a member variable belongs to the type itself, rather than to every instance of the type.

In your case, you'd need to change
Label toolStripStatusLabel1;

to
static Label toolStripStatusLabel1;


Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: An object reference is required for the nonstatic field, method, or property Pin
ESTAN18-Dec-05 2:48
ESTAN18-Dec-05 2:48 
GeneralRe: An object reference is required for the nonstatic field, method, or property Pin
S. Senthil Kumar18-Dec-05 2:52
S. Senthil Kumar18-Dec-05 2:52 
AnswerRe: An object reference is required for the nonstatic field, method, or property Pin
ESTAN18-Dec-05 3:06
ESTAN18-Dec-05 3:06 
GeneralRe: An object reference is required for the nonstatic field, method, or property Pin
Guffa18-Dec-05 2:07
Guffa18-Dec-05 2:07 
GeneralRe: An object reference is required for the nonstatic field, method, or property Pin
S. Senthil Kumar18-Dec-05 2:10
S. Senthil Kumar18-Dec-05 2:10 
AnswerRe: An object reference is required for the nonstatic field, method, or property Pin
Guffa18-Dec-05 2:12
Guffa18-Dec-05 2:12 
Question.NET Framework installation Pin
mehrdadc4818-Dec-05 1:42
mehrdadc4818-Dec-05 1:42 
Questionsend structure through socket? Pin
pakFari17-Dec-05 23:42
pakFari17-Dec-05 23:42 
AnswerRe: send structure through socket? Pin
Gilad Kapelushnik17-Dec-05 23:47
Gilad Kapelushnik17-Dec-05 23:47 
AnswerRe: send structure through socket? Pin
tarasn19-Dec-05 23:16
tarasn19-Dec-05 23:16 
Questiondelegate Pin
fmardani17-Dec-05 22:25
fmardani17-Dec-05 22:25 
AnswerRe: delegate Pin
Colin Angus Mackay17-Dec-05 23:44
Colin Angus Mackay17-Dec-05 23:44 
QuestionEmail via Outlook ? Pin
Christian Graus17-Dec-05 21:56
protectorChristian Graus17-Dec-05 21:56 
AnswerRe: Email via Outlook ? Pin
S. Senthil Kumar18-Dec-05 2:07
S. Senthil Kumar18-Dec-05 2:07 
GeneralRe: Email via Outlook ? Pin
ekynox18-Dec-05 9:33
ekynox18-Dec-05 9:33 
AnswerRe: Email via Outlook ? Pin
Michael P Butler18-Dec-05 3:12
Michael P Butler18-Dec-05 3:12 
AnswerRe: Email via Outlook ? Pin
Kevin McFarlane18-Dec-05 5:26
Kevin McFarlane18-Dec-05 5:26 

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.