Hello
I've made tho following function in a form to avoid to open severall instance a child form dialog
It works fine but I do'nt know how to check if the user ave close the form from itself!
Because in such situation FrmZTour remain not null and I got an error !
// **************************************************************************************************
private void ShowForm(DataTable dtDagChauff)
{
if (FrmZTour == null )
{
FrmZTour = new FrmDgvZoomTour();
FrmZTour.SelectTour += new FrmDgvZoomTour.SelectTourHandler(DgvTourSelected);
FrmZTour.Show(this);
}
FrmZTour.FillDgv(dtDagChauff);
}