Accept Button and Cancel Button in a Panel in Windows Forms .NET

879 Views Asked by At

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?

0

There are 0 best solutions below