private void Button11_Click(object sender, EventArgs e) { ConsultarElemento consultarElemento = new ConsultarElemento(); consultarElemento.Size = new Size((int)(Screen.PrimaryScreen.Bounds.Width * 0.85), (int)(Screen.PrimaryScreen.Bounds.Height * 0.87)); consultarElemento.TopLevel = false; consultarElemento.AutoScroll = true; pPanelBig.Controls.Add(consultarElemento); consultarElemento.Show(); }
private void elementoToolStripMenuItem1_Click(object sender, EventArgs e) { ConsultarElemento form10 = new ConsultarElemento(); form10.Show(); }