At runtime when the dgv is shown,then on clicking the header of a particular row of the dgv,i want to pop up a form...........how to do this?

please help

thank you