public Size Size { get { return this.Size; } } 我这样写好象不对的吧,体统给我一个警告. 'RuntimeFormDesigner.FlashButton.Size' hides inherited member 'System.Windows.Forms.Control.Size'. Use the new keyword if hiding was intended.
这个警告是说你隐藏了基类的Size属性,让你加个new关键字。 new public Size Size { get { return this.Size; } }
{
get
{
return this.Size;
}
}
我这样写好象不对的吧,体统给我一个警告.
'RuntimeFormDesigner.FlashButton.Size' hides inherited member 'System.Windows.Forms.Control.Size'. Use the new keyword if hiding was intended.
new public Size Size
{
get
{
return this.Size;
}
}