An inspection of the Font class will reveal that every public property is read-only. This means to change a font’s size, you need to create a new Font object with all the same properties of your current font but with the new size. Here is a handy method to do just that:
When you show a .NET Form, by default the form will appear in the Windows Start bar and in the list of open windows shown when the user presses Alt+Tab.
This multi-part article answers common questions about assemblies, the basic building blocks of .NET applications. This Part 4 covers shared assemblies and the Global Assembly Cache.
There is a very handy .NET class called ControlPaint in the System.Windows.Forms namespace that enables you to draw your own controls and control elements using the standard Windows style and theme. Buried in this rich class are four methods that enable you to lighten and darken colors:
This multi-part article answers common questions about assemblies, the basic building blocks of .NET applications. This Part 3 discusses assembly security using strong names, signing and public-private key pairs.
This multi-part article answers common questions about assemblies, the basic building blocks of .NET applications. This Part 2 discusses assembly attributes.
Frequently asked questions, some assembly required.
This multi-part article answers common questions about assemblies–the basic building blocks of .NET applications. Some developers may never need to understand assemblies. But if you create shared components, use DLLs or deliver a suite of applications, then it’s essential to understand what .NET assemblies are and how they work.
Sometimes you need to know which version of an assembly was loaded by your .NET application. The following code snippet makes it easy:
Developers for the Microsoft .NET platform are blessed to have three high-quality .NET magazines available to them: CoDe Component Developer Magazine, MSDN Magazine, and Visual Studio Magazine.
Why would a tech savvy software developer want to read a paper magazine when so much information is available online? Well, some of us “old timers” still appreciate the fresh smell and slick feel of a high-gloss monthly. Also, magazine articles are often produced by professional writers who explain subjects in greater clarity and detail than one may find on the Web. And there are times when a developer may not be connected, such as when riding the train, sitting in a meeting, or eating lunch.
Microsoft has released a beta version of the next major release of Visual Studio and the .NET framework.
Visual Studio “Orcas” will enable developers to write programs that can run on Windows Vista, Longhorn Server, Office 2007 and the Web. The .NET Framework v3.5 will provide better support for Web 2.0 and AJAX applications. Microsoft has been planning to release Orcas this year, but a corporate VP recently told ZDNet that it may not happen until 2008.