private void BtnParametros_Click(object sender, EventArgs e) { try { FrmParametros frm = new FrmParametros(); frm.ShowDialog(); } catch (Exception ex) { _ = ex.Message; } }
private void parametrosToolStripMenuItem_Click(object sender, EventArgs e) { FrmParametros fp = new FrmParametros(); fp.MdiParent = this; fp.Show(); }
private void parametrosToolStripMenuItem_Click(object sender, EventArgs e) { var frmParametros = new FrmParametros(this); frmParametros.ShowDialog(); }