Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Audit Info Logic Location Best Practice
Message
 
To
21/10/2004 08:09:55
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00953023
Message ID:
00953607
Views:
14
Joe,

>Not sure how to do that as SystemInformation is found in the System.Windows.Forms and OakLeaf.MM.Main.Windows.Forms namespaces. It is my understanding that in order to use that library, my class must inherit from one of those namespaces. I am rather new to this but is my understanding correct or is there a different implementation of your suggestion that I can employ?

You're on the right track, but you don't "inherit" from those namespaces...you simply reference those namespaces with the "using" (C#) or "Imports" (VB .NET) statements. That said, you really don't want to reference classes in the Windows Forms namespaces if you can avoid it, because this requires you to include the assembly in your business object project too.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform