コード例 #1
0
 private void mostrar()
 {
     this.Configura();
     this.Activo = 1;
     this.tomaTab();
     this.Botones(true);
     this.dataListado.DataSource = NbdiPRVpProveedor.Mostrar();
     OcultarColumnas();
     lblTotal.Text = "Total de Registros: " + Convert.ToString(dataListado.Rows.Count);
     if (dataListado.Rows.Count == 0)
     {
         BotonesSinReg(false);
     }
     else
     {
         BotonesSinReg(true);
         this.toolStripAgregar.Enabled = true;
     }
     this.dataListado.Select();
     this.dataListado.Focus();
 }
コード例 #2
0
        private void BotonImprimir()
        {
            FrmReportes rptalu = new FrmReportes("Reportes\\Rpt_PRVProveedor.rdlc", NbdiPRVpProveedor.Mostrar(), "ip");

            rptalu.ShowDialog();
        }