Elegant Ribbon supports the concept known as command-oriented interface,
when user-interface controls are separated from the code that
implements user actions. You have a global pool of command objects,
which you can easily generate using Elegant Ribbon's Commands Designer
and you have controls. You can now link commands and controls and place
your custom logic into command object code. This approach has several
advantages and enables you to develop large-scale applications with
rich user interface. Read more about this in Using Commands.
You can however use the standard Windows Forms approach by placing your custom logic into the handlers of control events.