private void alertasToolStripMenuItem_Click(object sender, EventArgs e) { Alertas.frmAlerta fAlerta = new Alertas.frmAlerta(); fAlerta.CodigoEstablecimiento = IdEstablecimientoSalud; fAlerta.CodigoObstetra = IdObstetra; fAlerta.MdiParent = this; fAlerta.Show(); }
private void frmMenu_Load(object sender, EventArgs e) { HabilitarPermisos(); Alertas.frmAlerta fAlerta = new Alertas.frmAlerta(); fAlerta.CodigoEstablecimiento = IdEstablecimientoSalud; fAlerta.CodigoObstetra = IdObstetra; fAlerta.MdiParent = this; fAlerta.Show(); }
private void reportesDeAlertasToolStripMenuItem_Click(object sender, EventArgs e) { Alertas.frmAlerta fAlerta = new Alertas.frmAlerta(); fAlerta.CodigoEstablecimiento = IdEstablecimientoSalud; fAlerta.CodigoObstetra = IdObstetra; if (oUtilitarios.verificarventanaabierta("frmAlerta")) { fAlerta.MdiParent = this; fAlerta.Show(); } }