public void RegisterScript(XControl c, PropertyInfo property) { c.AddScript(this.GetScript(c, property)); }