using system;using system.windows.forms;using system.drawing;using system.drawing.drawing2d;using system.componentmodel;
#region gradientcolorone properties [ defaultvalue(typeof(color),"white"), description("the first gradient color."), category("appearance"), ] 【程序编程相关:如何做好一个项目(一) 】
namespace wzsbmain{ /// <summary> /// summary description for labelgradient. /// </summary> public class wzsbmainlabel : system.windows.forms.label { #region implementtation member fields protected color gradientcolorone = color.white; protected color gradientcolortwo = color.blue; protected lineargradientmode lgm = lineargradientmode.forwarddiagonal; protected border3dstyle b3dstyle = border3dstyle.bump; #endregion 【推荐阅读:C#技术内幕 学习笔记 】
... 下一页