如何设置属性默认值系统默认图像?

时间:2014-11-13 06:17:40

标签: c# image default

我无法找到c#winform默认错误图片或空图片地址

如何找到c#winform defalut null image?

[System.ComponentModel.Browsable(true),
    System.ComponentModel.Category("Default"),
    System.ComponentModel.Description("Set thr first custom background Image"),
    ***System.ComponentModel.DefaultValue(typeof(Image),"null")]***
    // Property for the background image to be drawn behind the button text. 
    public Image BackgroundImageBefore
    {
        get
        {
            return this.backgroundImage;
        }
        set
        {
            this.backgroundImage = value;
        }
    }

'

0 个答案:

没有答案