Scripting with Design-Time Controls and Script Objects
Writing Script for Script Objects