示例#1
0
        private void _btnVerInfRectificatorio_Click(object sender, EventArgs e)
        {
            _btnVerInfRectificatorio.Enabled = false;
            RegFalla _regFalla = Sesion.Instancia.GetObjetoGlobal <RegFalla>("Principal.FallaActual");

            repSisfalla.PantallaReporte p = new repSisfalla.PantallaReporte();
            p.informeDesplegado("", "", 29, _regFalla.CodFalla.ToString(), _regFalla.CodFalla.ToString(), ((int)PK_D_COD_TIPOINFORME.RECTIFICATORIO).ToString(), _idUsuarioSeleccionado.ToString());
            p.Refresh();
            p.Show();
            _btnVerInfRectificatorio.Enabled = true;
        }
示例#2
0
        private void _btnVerInfPreliminar_Click(object sender, EventArgs e)
        {
            _btnVerInfPreliminar.Enabled = false;
            //DataRowView drView = (DataRowView)_dgvUsuarios.SelectedRows[0].DataBoundItem;
            RegFalla _regFalla = Sesion.Instancia.GetObjetoGlobal <RegFalla>("Principal.FallaActual");

            repSisfalla.PantallaReporte p = new repSisfalla.PantallaReporte();
            p.informeDesplegado("", "", 29, _regFalla.CodFalla.ToString(), _regFalla.CodFalla.ToString(), ((int)PK_D_COD_TIPOINFORME.PRELIMINAR).ToString(), _idUsuarioSeleccionado.ToString());
            p.Refresh();
            p.Show();
            _btnVerInfPreliminar.Enabled = true;
        }