Click here to Skip to main content
12,751,904 members (28,831 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0
Hi Sir,

Sir Please help me for that, I am trying to access controls to static
methods . And I am trying to access non static method to static method .I tried but not working properly.
Please sir reply soon.Thanks in advance.
Posted 25-Nov-12 20:52pm
Updated 26-Nov-12 23:50pm
What is "call a control"? Control is not a function, procedure, method, subroutine, operator, not a property...
"Not working properly" is not informative. Please explain properly.
kareem salem 27-Nov-12 13:38pm
thank you for your interest,I deleted that stupid solution, I just want to say that it's not good oop thinking
Sergey Alexandrovich Kryukov 27-Nov-12 17:41pm
Great. I agree it's bad OOP thinking, if you are talking about the question.
I just want to say that in fact the Control classes themselves use every attribute of decent OOP approach: late binding, polymorphism and nearly everything else...
But there are many ways to spoil good OOP approaches...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170217.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100