private void formatoToolStripMenuItem_Click(object sender, EventArgs e) { frmDM_Formato o = new frmDM_Formato(null); o.MdiParent = this; o.Show(); }
private void btnGoFormato_Click(object sender, EventArgs e) { eFORMATO o = new eFORMATO(); o.FOR_codigo = this.cmbFormato.SelectedValue != null?this.cmbFormato.SelectedValue.ToString() : ""; frmDM_Formato o2 = new frmDM_Formato(o); o2.MdiParent = this.MdiParent; o2.Show(); }