There can be multiple targets for the same action, but usually only one delegate.
The target-action mechanism is (semantically, not strictly) bound to predefined control events such as "value changed", "touch up", etc. Delegate methods can be anything.
Delegate methods can have arbitrary arguments.Action methods always have the same arguments (sender and event, both optional).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.