Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Wednesday, January 07, 2009

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > Visual Studio 2005 > Windows Froms 2.0 > Controls
Search:
What's New - What's Hot


Element Behaviors in Internet Explorer 5.5        
Total Hits: 9  |  Today: 0 Author: Dino Esposito       Rating:  
Read Reviews | Write Review |   Your Rating: 

Behaviors were introduced with Microsoft® Internet Explorer 5.0 to provide easy separation of script from content. Before the advent of behaviors, DHTML scriptlets were the only way to encapsulate scripting code into manageable elements if you wanted to make your code more object oriented. For a primer on DHTML scriptlets, refer to the Cutting Edge column in the January 1998 issue of Microsoft Internet Developer. I also covered behaviors in the April 1999 issue....

Visual Studio TabStrip        
Total Hits: 28  |  Today: 0 Author: Jared James Sullivan       Rating:  
Read Reviews | Write Review |   Your Rating: 

I have replicated Visual Studios verticle TabStrip control, from the ground up. This lightweight control doesn't have containers which you can dump controls onto, as I have created control to be used with forms instead of conatiners. Enjoy this 173 code liner....

Visual Studio 2005, HTC Memory Problems, and More        
Total Hits: 4  |  Today: 0 Author: Nancy Michell       Rating:  
Read Reviews | Write Review |   Your Rating: 

In Visual Studio® 2005, when I create a new Visual C# Project from the File menu, I don't see the template ASP.NET Web Application in the template window. If I choose to create a new Web site following the menu path Files | New | Website | General C# and I choose the template ASP.NET Web site, I'm missing many files such as Webform1.aspx.cs, Global.asax, Web.config, AssemblyInfo.cs, and so forth. Why is this happening?
In Visual Studio 2005 the project model has changed quite a bit (for the b...

Inside Vista Sidebar        
Total Hits: 19  |  Today: 0 Author: Lionel LASKE       Rating:  
Read Reviews | Write Review |   Your Rating: 

Vista Sidebar Gadget allows you to bring on the Vista desktop all sorts of information you need: RSS feed, weather, stock value... You can easily write your own gadget with a little HTML and JavaScript code. However, because of lack of a development environment, writing a gadget could be somewhat frustrating. Sometimes you don't know why your gadget doesn't work as you want it to. Writing this article, I've decided to explore how the Vista Sidebar works internally so I could have a better unders...

XP Style CBitmapButton (CHoverBitmapButton)        
Total Hits: 20  |  Today: 0 Author: Rail Jon Rogut       Rating:  
Read Reviews | Write Review |   Your Rating: 

I was in the middle of updating a program that I’d developed under NT and Win2K and I’d used CBitmapButton throughout the program. When porting over a new version of the program to run under XP, I noticed that my "old" bitmap buttons in VC7 weren’t style aware, and made the app look a tad dated. A search on the web brought my attention to a couple of other examples of hover buttons, but none which took my investment with CBitmapButton into consideration. I wanted a CBitmapButton derived class...

Extend The 2007 Office System With Your Own Ribbon Tabs And Controls        
Total Hits: 59  |  Today: 0 Author: Eric Faller       Rating:  
Read Reviews | Write Review |   Your Rating: 

If you've seen the 2007 Microsoft Office system, you will have noticed that the new Microsoft® Office user interface is radically different from that of previous Office releases. So you probably won't be surprised to hear that the extensibility model behind the UI is also completely new.

Much like the old toolbars and menus it extended, the CommandBars object model (available since Office 97) was difficult to use effectively. The new model is known as RibbonX and claims many of the same a...

Routing with Windows Communication Foundation : Part 2 - Extending web.config        
Total Hits: 20  |  Today: 0 Author: Paul Reeder       Rating:  
Read Reviews | Write Review |   Your Rating: 

Sometimes in .NET programming, the general appSettings section of configuration is not enough to meet your needs. Fortunately, the .NET Framework provides a rich interface to create custom configuration sections for use in an application's configuration....

Add a custom template to Visual Studio .NET 2003        
Total Hits: 20  |  Today: 0 Author: S K P       Rating:  
Read Reviews | Write Review |   Your Rating: 

I have always wondered if there is a way to change or rather remove the default contents of the 'New Item' presented by VS.NET 2003 IDE, when I create a new file for my Microsoft .NET project. I knew that it should be somehow possible to do it, but will it take me to install a new plug-in or make more of Google to do it.

I tried to check some sources for this purpose and resulted myself in experimenting with the information in the Visual Studio .NET 2003 Help Documentation. All the inform...

Windows PowerShell        
Total Hits: 11  |  Today: 0 Author: Doug Finke       Rating:  
Read Reviews | Write Review |   Your Rating: 

Microsoft PowerShell is an operating environment for commands -- cmdlets, functions, filters, scripts, aliases, and executables. PowerShell is based on the .NET Framework, which means that out of the box your existing investment in .NET components is preserved. An additional benefit is PowerShell's extensibility. PowerShell "Snap-ins" let you seamlessly integrate existing .NET components. By eliminating the IDE, PowerShell offers new feedback loops by removing the compile, link, and go steps....

Moveable \ Resizable Runtime Hover Buttons with ToolTips        
Total Hits: 30  |  Today: 0 Author: Fred Ackers       Rating:  
Read Reviews | Write Review |   Your Rating: 

I orginally found CHoverButton by Nick Albers and liked the HoverButton idea, however it did not have enough versatility for what I wanted. There was a good start with the MouseHover\Leave code though. I wanted to be able move and resize the buttons at runtime. I also wanted to be able to stretch the bitmaps as well as load the hover images from a horizontal or veritcal layout. I also needed the buttons to draw as regular buttons just in case no bitmaps where loaded. Thus CHoverButtonEx is creat...

HyperButtonEx: An All-in-One Button Class        
Total Hits: 24  |  Today: 0 Author: Douglas R. Keesler       Rating:  
Read Reviews | Write Review |   Your Rating: 

This update contains minor tweaks/fixes mostly related to transparency and image backgrounds (faster performance, less flicker on fast redraws).

It also fixes the GDI asserts in debug mode.

The main enhancement I've added is the capability to specify border/shadow color for flat/rounded rectangle buttons. I've simply added a COLORREF variable to the IsFlat() function protocol. You would simply call myButton.IsFlat(TRUE, 13, RGB(0,0,0)); -- It is backwards compatible, in that if you...

Image Button Control        
Total Hits: 30  |  Today: 0 Author: HAMZADAYI       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below....

CGroup - A Powerful Group Control        
Total Hits: 32  |  Today: 0 Author: David Msika       Rating:  
Read Reviews | Write Review |   Your Rating: 

CGroup is a CButton-derived class. The group becomes a roll-up control with many features and options. Any controls confined within the group area will hide when the group is "closed" and show when it's "open". If more than one CGroup object share the same parent window, they will attract themselves vertically (this option can be disabled). Furthermore, many aspects of the control are fully customizable (see the Methods section for more information)....

Auto-logout within a Windows Application        
Total Hits: 129  |  Today: 0 Author: chiznatworth       Rating:  
Read Reviews | Write Review |   Your Rating: 

Please remember that this code has not been super heavily tested and may contain bugs. Also, I am a bit of a newbie when it comes to programming with Windows messages, so please don't be overly harsh....

Seven Segment LCD Control        
Total Hits: 48  |  Today: 0 Author: PeterGlen       Rating:  
Read Reviews | Write Review |   Your Rating: 

This control is a seven segment LCD like in digital clocks or embedded systems....

Creating a Five-Star Rating Control        
Total Hits: 27  |  Today: 0 Author: Duncan Mackenzie       Rating:  
Read Reviews | Write Review |   Your Rating: 

I have to admit it; most of my Windows® Forms controls are an attempt to copy something that already exists. In my October 2004 column I showed you how to create a progress bar that mimicked the one shown during the Windows XP setup routine, and this month I'm at it again. This time, the object of my desire is the cool five-star rating control in Windows Media® Player (see Figure 1)....

Craft A Rich UI For Your .NET App With Enhanced Windows Forms Support        
Total Hits: 182  |  Today: 0 Author: Chris Sells and Michael Weinhardt       Rating:  
Read Reviews | Write Review |   Your Rating: 

Windows Forms 2.0 is far richer than any Windows application development platform that preceded it. You'll find improvements across the board, with a more dense and fully featured Microsoft® .NET Framework, tighter Visual Studio® integration with many new additional designers, a unified data binding model, and, the icing on the cake, ClickOnce for Web-style deployment....

Connect Multiple UI Elements to a Single Command Object        
Total Hits: 18  |  Today: 0 Author: MarkLTX       Rating:  
Read Reviews | Write Review |   Your Rating: 

It's very common to have both a menu item and a toolbar buttton that perform the same action when clicked. Sometimes there is even a third or fourth control (say a button and a context menu item) that do the same thing. These controls need to be enabled and disabled together. The code in this article allows each such control to be connected to a UICommand object by setting a property in the Visual Studio designer. The UICommand object has an Enabled property that enables or disables all of the a...

.NET port of Joe's AutoRepeat Button class        
Total Hits: 18  |  Today: 0 Author: Nishant Sivakumar       Rating:  
Read Reviews | Write Review |   Your Rating: 

This is my attempt at porting Joseph M Newcomer's AutoRepeat Button Class to .NET. I was quite enthusiastic about doing this specially since I am a big fan of Joe and also because I had never created a .NET control of my own. This is actually my first crack at doing this....

Best Practices for Windows Forms Applications        
Total Hits: 22  |  Today: 0 Author: Ken Spencer       Rating:  
Read Reviews | Write Review |   Your Rating: 

Q I'm just about to begin development of my first .NET Windows® Forms application. What are the guidelines I should follow to make my application scalable and efficient?

A There are several best practices you can follow. Many of the guidelines apply to most development while others are specific to Windows Forms because of the technologies available. Here are some of the most important ones....


1  2  3  Next >> 


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net