Tab control previvous forms to close
Hi iam using tabcontrol and linked up all individual foms to the MDI PARENT tab control when i open a two or more FORM in MDI parent my previous form is showing , so when a new form open my previous forms has to be closed can anyone help
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Manoj BhoirRank #599 · 4K pointsPosted May 19, 2015, 9:10 PM EDT
private void CloseAllActiveForms() { Form[] childArray = this.MdiChildren; foreach (Form childForm in childArray) { childForm.close(); } }1 short reply
Nagesh Boddeti16 pointsPosted May 20, 2015, 11:59 PM EDT