assinging a inherited method to a new button

Is it possible to assign a method from an inherited form to a newly (SM) created button? If so, how ?

I guess I found the solution. Just get the method object from the original form.