What's wrong with
?Code:Color color1; [DefaultValue(Color.LightBlue)] public Color GradientColor1 { get{ return color1;} set{ color1=value;} }
This gives me F:\My Project\c#\nebzie\swing\NPanel.cs(27): An attribute argument must be a constant expression, typeof expression or array creation expression.




Reply With Quote