c# - Winforms user control class accessible by all application -
i'm creating winforms application needs control class manage app components.
i thinking class inherits component
, glued in main form of application.
how access control class point of application? correct way this?
or should change mind architecture?
you create static class
or single instance class
, use allover application.
note: static class should inherit system.object
using way not possible inherit component
if require derive component
can go single instance approach.
check out singleton implementation
hope helps
Comments
Post a Comment