![]() |
Languages »
VB.NET »
General
Intermediate
License: The Code Project Open License (CPOL)
Panel with blend and bordercolorsBy Star VegaPanel with blend and bordercolors |
VB, Windows, .NET 2.0VS2005, Dev
|
||||||||||
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||
This class inherits the System.Windows.Forms.Panel. The AlteaPanel adds blend functionality and the possibility to choose the bordercolors. To view the custom bordercolors, you must set the BorderStyle enumeration to None, so the existing FixedSingle and Fixed3D can still be used.
The Borders will be drawn in the Overrides Sub OnPaint, and the Blending background in the Protected Overrides Sub PaintBackground.
It is a quite straightforward code, easy to read and to use. The next step will be adding text, so you can use it as a heading, eg Outlook. So if anyone has any suggestions to make this AlteaPanel better, please tell me!
| You must Sign In to use this message board. | |||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 12 Feb 2007 Editor: |
Copyright 2007 by Star Vega Everything else Copyright © CodeProject, 1999-2009 Web19 | Advertise on the Code Project |