private void tipoServicioComedorToolStripMenuItem_Click(object sender, EventArgs e) { FrmTipoServicioComedor oFrmTipoServicioComedor = new FrmTipoServicioComedor(); oFrmTipoServicioComedor.MdiParent = this; oFrmTipoServicioComedor.Show(); }
public FrmTipoServicioComedorAdd(FrmTipoServicioComedor p_oFrm) : this() { this.oFrm = p_oFrm; txtCodigoLabel.Visible = true; txtOid.Visible = true; txtOid.ReadOnly = false; txtDescripcion.ReadOnly = false; this.mod = "C"; }
public FrmTipoServicioComedorAdd(FrmTipoServicioComedor p_oFrm, string p_cod, string mod) : this() { this.oFrm = p_oFrm; this.cod = p_cod; this.mod = mod; if (this.mod == "U") { txtCodigoLabel.Visible = true; txtOid.Visible = true; txtOid.ReadOnly = true; txtDescripcion.ReadOnly = false; } else { txtCodigoLabel.Visible = true; txtOid.Visible = true; txtOid.ReadOnly = true; txtDescripcion.ReadOnly = true; } }