Kevin
Tue Jul 31 07:15:06 CDT 2007
The shown event of the form should only be raised the first time the form is
displayed. what makes you think the event is being raised again?
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
<mahesh.nimbalkar@gmail.com> wrote in message
news:1185812454.513623.103950@k79g2000hse.googlegroups.com...
> Hi,
>
> I have a form with DataGridView on it. Also I have hooked for Shown
> event of Form. Now when I click DataGridView header to sort column,
> Shown event of Form also gets called.
>
> I just want not to call Shown event of Form when header is clicked on
> DataGridView.
>
> Any idea how to do this?
>
> Thanks,
> Mahesh
>