Suppose, I have a Form "Form1" and a button "btn1" on it in an application

on click event of btn1 I Wrote

MessageBox.Show(self.Name);



Now I inherite "Form2" from "Form1".

and on click event of btn1 I Wrote

MessageBox.Show("Hello");


Now when I press button of Form2 it fires both events.
How to restrict firing event of form1?