C# codepublic event EventHandler SizeChanged;
private bool _IsSizeChange;
public bool IsSizeChange
{
get
{
if (_IsSizeChange && SizeChanged != null) SizeChanged(this, new EventArgs());
return _IsSizeChange;
}
set
{
...
}
}
你说的属性是设计器属性窗口里面的?