private void bunifuImageButton5_Click(object sender, EventArgs e) { if (inven == null) { inven = new InventoryList(); inven.RefreshDgv += new InventoryList.DoEvent(resetInv); inven.Show(this); } else { inven.WindowState = FormWindowState.Normal; inven.Focus(); } }