Accessing non-static combbox property in the static method.

Posted by Harikrishna on Stack Overflow See other posts from Stack Overflow or by Harikrishna
Published on 2010-04-02T06:12:17Z Indexed on 2010/04/02 6:13 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

I have one combobox on the window form and I have one method which is declared with static like private static DataTable ParseTable(HtmlNode table) Now I want to use combobox in that method for using combobox property but I can not access any property of combobox or combobox itself.If I made the combobox declaration as static then it can be accessed in that static method.But any alternative way to access combbox property in that static method because I don't want to make combobox declaration as static.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET