private void perfilToolStripMenuItem_Click(object sender, EventArgs e) { frmDM_Perfil o = new frmDM_Perfil(null); o.MdiParent = this; o.Show(); }
private void btnGoPerfil_Click(object sender, EventArgs e) { ePERFIL o = new ePERFIL(); o.PER_codigo = this.cmbPerfil.SelectedValue != null?this.cmbPerfil.SelectedValue.ToString() : ""; frmDM_Perfil o2 = new frmDM_Perfil(o); o2.MdiParent = this.MdiParent; o2.Show(); }