public Initialize ( IComponent component ) : void | ||
component | IComponent | |
return | void |
public override void Initialize(IComponent component)
{
_twitter = component as Twitter;
if(_twitter == null)
throw new ArgumentException("Component must be a Twitter control", "component");
base.Initialize(component);
}