Having a class that has a method, like this:
class Window { public void Display(Button button) { // ... } }
is it possible
It's not possible (also see Monkeypatching For Humans) - maybe with DLR and method_missing.
method_missing