private void btnProveedor_Click(object sender, EventArgs e) { if (!this.MdiChildren.Contains(proveedor2)) { proveedor2 = new proveedor(); proveedor2.MdiParent = this; proveedor2.Show(); } else { proveedor2.Activate(); } }