You may consult CMS.DocumentEngine.Web.UI Namespace:
- click on a control you need
- scroll down to events section.
On top of it you can check CMSAbstractWebPart class since all web parts inherit it (or their base class inherits from it). Methods from there (OnInit, OnLoad , OnPreRender, Render, etc) are available.