Button Properties Dialog Box
Button Script Object
Scripting with Design-Time Controls and Script Objects