Build World-Ready Apps Using Complex Scripts In Windows Forms ControlsThis article discusses:The TextRenderer and Graphics classesUsing IDeviceContextPrinting with TextRendererMigrating from Graphics to TextRendererThis article uses the following technologies:Windows Forms, .NET Framework 2.0, GDI+Code download available at:TextRendering.exe(154 KB)Browse the Code Online Developing world-ready software is one of the requirements software companies must meet if they want [...]
Tag Archives: Forms
Text Rendering: Build World-Ready Apps Using Complex Scripts In Windows Forms Controls
ASP.NET MVC: Building Web Apps without Web Forms
Building Web Apps without Web FormsThis article is based on a prerelease version of the ASP.NET MVC Framework. Details herein are subject to change. This article discusses: Model View Controller pattern Creating controllers and views Building forms and posting back Controller factories and other extensibility points This article uses the following technologies: ASP.NET Code download [...]
Cutting Edge: Exploring ASP.NET 4.0—Web Forms and Beyond
ASP.NET is a stable and mature platform for building rich and powerful Web applications, so it’s hard to imagine a new set of compelling features being added to it. But last fall, with the release of Service Pack 1 for ASP.NET 3.5, Microsoft refined the platform’s built-in AJAX support and enhanced its productivity by shipping [...]
Cutting Edge: ASP.NET Forms
Forms are an essential piece of ASP.NET—the ASP.NET Web programming model itself wouldn’t be possible without forms. The use of forms is not constrained in pure HTML, but it is subject to some restrictions in ASP.NET. In ASP.NET pages, a single form can post to itself, and the model provides for generalized control state management [...]
Cutting Edge: Comparing Web Forms And ASP.NET MVC
Comparing Web Forms And ASP.NET MVCI first saw Microsoft ASP.NET in action in 1999, when it was tentatively named ASP+. At that time, building a Web application on the Microsoft platform was a matter of assembling a bunch of Active Server Pages (ASP). In a typical ASP page, you find HTML literals interspersed with code [...]
Spice It Up: Sprinkle Some Pizzazz on Your Plain Vanilla Windows Forms Apps
Sprinkle Some Pizzazz on Your Plain Vanilla Windows Forms AppsThis article discusses: Designing eye-catching windowsBuilding “toast” pop-upsAdding color and transparency to formsHow transparency and translucency workThis article uses the following technologies: .NET, Windows FormsCode download available at: WindowsForms.exe (864 KB) Browse the Code Online The Microsoft® .NET Framework makes it very easy to create Windows®-based [...]
Mix And Match: Integrate Windows Forms Into Your MFC Applications Through C++ Interop
Integrate Windows Forms Into Your MFC Applications Through C++ InteropThis article discusses: How C++ interop worksWhen to use C++ interop in your projectsUsing Windows Forms controls in MFC appsMoving from Windows Forms to WPF viewsThis article uses the following technologies: C++, MFC, .NET Framework, Windows Presentation FoundationAlthough the Microsoft .NET Framework was first made public [...]
Cutting Edge: Build Providers for Windows Forms
Build Providers for Windows FormsCode download available at:CuttingEdge0602.exe(185 KB)Browse the Code OnlineIn ASP.NET and Windows Forms projects, some file types are treated differently than others. For example, ASPX and ASCX files are dynamically parsed and compiled to an assembly on the fly. The contents of an XML Schema Definition (XSD) file are used to create [...]
.NET Framework 2.0: Craft a Rich UI for Your .NET App with Enhanced Windows Forms Support
[ Editor's Update - 1/20/2006: This article refers to a beta version of Visual Studio 2005. An updated version of the article, reflecting features found in the final release of Visual Studio 2005, can be found at Smart Clients: Craft A Rich UI For Your .NET App With Enhanced Windows Forms Support.] Craft a Rich [...]