How to ensure a DataGridView entirely invisible before I show other MDI forms in the same area?

46 Views Asked by At

so I have a winform app to show some data.I have a DataGridView in the form,and I need to make it invisible after I click a button,and then begin show some MDI forms in the datagridview area.

dataGridView.Visible = false;
showAllMDIForms();

but all the mdi forms will pop out befor the DataGridView become invisible. So how can I ensure the datagridview is entairly invisible??

0

There are 0 best solutions below