I am working in Windows Forms. I have a Form which has two panels. Both panels have OK and Cancel buttons. I want them to behave as Accept and Cancel button (Similar to Form's AcceptButton and CancelButton), for their respective panel(container).
So basically I want AcceptButton and CancelButton sort of functionality for the Panel. How should I implement this?