I have a few buttons that i add dynamically to a panel at the bottom of an MDI form. each button indicates which form is opened. when a form is opened a button gets added to the panel. when the form is closed the button is deleted.
when i click the button I want the respective form to get focus. i dont know how to achieve this.
Thanks in advance