Building Components

Where can I find the best tutorial on building MX 2004 components? I’ve looked and none seem any good…