public static void UnhideForm() { if (thisForm != null) { thisForm.RetrievePurchaseOrders(); thisForm.Show(); } }
private void toolStripButton3_Click(object sender, EventArgs e) { foreach (Form item in Application.OpenForms) { if (item is SearchPO) { item.Activate(); return; } } SearchPO Pos = new SearchPO { MdiParent = this }; Pos.Show(); }