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??