I need more information to answer this, but here's how one would get the handle of a control that has been clicked.
var clickMe = new Panel();
parent.Controls.Add(clickMe);
clickMe.MouseClick += (sender, e) => MessageBox.Show("The control's handle is " + (sender as Control).Handle);