Hello pro's, i created a label (label1) and a button (button1) at design time. When the button is clicked, the text of the label changes to ''button1 disposed", button1 is disposed and a dynamic button is generated. The event handler for the dynamically generated button is supposed to do what button1 did but in the event handler procedure for the dynamic button, it says that label1 is not declared. Pls i seriously need help.

Here...