Ejemplo n.º 1
0
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FORMViewer));
     this.crviewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crviewer
     //
     this.crviewer.ActiveViewIndex     = -1;
     this.crviewer.DisplayGroupTree    = false;
     this.crviewer.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.crviewer.Font                = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.crviewer.Location            = new System.Drawing.Point(0, 0);
     this.crviewer.Name                = "crviewer";
     this.crviewer.ReportSource        = null;
     this.crviewer.ShowCloseButton     = false;
     this.crviewer.ShowGroupTreeButton = false;
     this.crviewer.Size                = new System.Drawing.Size(632, 478);
     this.crviewer.TabIndex            = 0;
     //
     // FORMViewer
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(632, 478);
     this.Controls.Add(this.crviewer);
     this.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "FORMViewer";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Report Viewer";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.FORMViewer_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crvReport = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crvReport
     //
     this.crvReport.ActiveViewIndex = -1;
     this.crvReport.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crvReport.Cursor = System.Windows.Forms.Cursors.Default;
     this.crvReport.DisplayStatusBar = false;
     this.crvReport.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crvReport.Location = new System.Drawing.Point(0, 0);
     this.crvReport.Name = "crvReport";
     this.crvReport.Size = new System.Drawing.Size(894, 262);
     this.crvReport.TabIndex = 0;
     this.crvReport.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     //
     // frmBaoCaorpt
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(894, 262);
     this.Controls.Add(this.crvReport);
     this.Name = "frmBaoCaorpt";
     this.Text = "frmBaoCaorpt";
     this.ResumeLayout(false);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crReportViewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crReportViewer
     //
     this.crReportViewer.ActiveViewIndex = -1;
     this.crReportViewer.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crReportViewer.Cursor          = System.Windows.Forms.Cursors.Default;
     this.crReportViewer.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.crReportViewer.Location        = new System.Drawing.Point(0, 0);
     this.crReportViewer.Name            = "crReportViewer";
     this.crReportViewer.Size            = new System.Drawing.Size(1081, 733);
     this.crReportViewer.TabIndex        = 0;
     this.crReportViewer.ToolPanelView   = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     //
     // frm_ReportViewer
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1081, 733);
     this.Controls.Add(this.crReportViewer);
     this.KeyPreview    = true;
     this.Name          = "frm_ReportViewer";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Report View";
     this.Load         += new System.EventHandler(this.frm_ReportViewer_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location        = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name            = "crystalReportViewer1";
     this.crystalReportViewer1.ReportSource    = null;
     this.crystalReportViewer1.Size            = new System.Drawing.Size(640, 462);
     this.crystalReportViewer1.TabIndex        = 0;
     this.crystalReportViewer1.Load           += new System.EventHandler(this.crystalReportViewer1_Load);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(640, 462);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 public void InitializeComponent()
 {
     this.visorRPT = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // visorRPT
     //
     this.visorRPT.ActiveViewIndex = -1;
     this.visorRPT.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.visorRPT.Cursor          = System.Windows.Forms.Cursors.Default;
     this.visorRPT.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.visorRPT.Location        = new System.Drawing.Point(0, 0);
     this.visorRPT.Name            = "visorRPT";
     this.visorRPT.Size            = new System.Drawing.Size(737, 482);
     this.visorRPT.TabIndex        = 0;
     //
     // frmVerInformes
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(737, 482);
     this.Controls.Add(this.visorRPT);
     this.Name = "frmVerInformes";
     this.Text = "frmVerInformes";
     this.ResumeLayout(false);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.ShowGroupTreeButton = false;
     this.crystalReportViewer1.Size = new System.Drawing.Size(652, 432);
     this.crystalReportViewer1.TabIndex = 0;
     this.crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     //
     // frmReportViewer
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(652, 432);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name = "frmReportViewer";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "frmReportViewer";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.frmReportViewer_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crv = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crv
     //
     this.crv.ActiveViewIndex = -1;
     this.crv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crv.Cursor = System.Windows.Forms.Cursors.Default;
     this.crv.DisplayStatusBar = false;
     this.crv.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crv.Location = new System.Drawing.Point(0, 0);
     this.crv.Name = "crv";
     this.crv.SelectionFormula = "";
     this.crv.Size = new System.Drawing.Size(697, 402);
     this.crv.TabIndex = 0;
     this.crv.ViewTimeSelectionFormula = "";
     //
     // FormCRThongKeDatPhong
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.AliceBlue;
     this.ClientSize = new System.Drawing.Size(697, 402);
     this.Controls.Add(this.crv);
     this.Name = "FormCRThongKeDatPhong";
     this.Text = "FormCRThongKeDatPhong";
     this.Load += new System.EventHandler(this.FormCRThongKeDatPhong_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 8
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            if (Dt明細_S.Rows.Count == 0)
            {
                return;
            }

            string 項目 = 月份起.Text.Substring(0, 4) + "年" + 月份起.Text.Substring(4, 2) + "月" + " " + 科目 + " " + 科目名 + "_品項總表";

            費用查詢01 Reporter1 = new 費用查詢01();

            Reporter1.Database.Tables[0].SetDataSource(Dt明細_費用);

            Form ReportForm = new Form();

            CrystalDecisions.Windows.Forms.CrystalReportViewer CryReport = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
            CryReport.ReportSource = Reporter1;
            CryReport.Dock         = DockStyle.Fill;
            Reporter1.ParameterFields["項目"].CurrentValues.AddValue(項目);
            Reporter1.ParameterFields["列印人"].CurrentValues.AddValue(GonGinVariable.ApplicationUserName);
            Reporter1.ParameterFields["CompanyName"].CurrentValues.AddValue(GonGinVariable.公司名稱);
            ReportForm.Controls.Add(CryReport);
            ReportForm.WindowState = FormWindowState.Maximized;
            ReportForm.Show();
        }
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex          = -1;
     this.crystalReportViewer1.BorderStyle              = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Dock                     = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location                 = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name                     = "crystalReportViewer1";
     this.crystalReportViewer1.SelectionFormula         = "";
     this.crystalReportViewer1.Size                     = new System.Drawing.Size(471, 363);
     this.crystalReportViewer1.TabIndex                 = 0;
     this.crystalReportViewer1.ViewTimeSelectionFormula = "";
     //
     // Frm_Main
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(471, 363);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name          = "Frm_Main";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "在水晶报表中添加图表";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.Frm_Main_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fmRep));
     this.crv = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crv
     //
     this.crv.ActiveViewIndex = -1;
     this.crv.Anchor          = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.crv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crv.Cursor      = System.Windows.Forms.Cursors.Default;
     this.crv.Location    = new System.Drawing.Point(0, 0);
     this.crv.Name        = "crv";
     this.crv.Size        = new System.Drawing.Size(512, 272);
     this.crv.TabIndex    = 0;
     //
     // fmRep
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 273);
     this.Controls.Add(this.crv);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "fmRep";
     this.Text = "Statistic";
     this.ResumeLayout(false);
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex  = -1;
     this.crystalReportViewer1.Location         = new System.Drawing.Point(8, 8);
     this.crystalReportViewer1.Name             = "crystalReportViewer1";
     this.crystalReportViewer1.ReportSource     = null;
     this.crystalReportViewer1.Size             = new System.Drawing.Size(568, 392);
     this.crystalReportViewer1.TabIndex         = 0;
     this.crystalReportViewer1.Load            += new System.EventHandler(this.crystalReportViewer1_Load);
     this.crystalReportViewer1.HandleException += new CrystalDecisions.Windows.Forms.ExceptionEventHandler(this.crystalReportViewer1_HandleException);
     //
     // frmPreview
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(808, 542);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name  = "frmPreview";
     this.Text  = "Preview Report";
     this.Load += new System.EventHandler(this.frmPreview_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RepCRGeneralFrm));
     this.CRViewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // CRViewer
     //
     this.CRViewer.ActiveViewIndex = -1;
     this.CRViewer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.CRViewer.Cursor = System.Windows.Forms.Cursors.Default;
     this.CRViewer.Dock = System.Windows.Forms.DockStyle.Fill;
     this.CRViewer.Location = new System.Drawing.Point(0, 0);
     this.CRViewer.Name = "CRViewer";
     this.CRViewer.Size = new System.Drawing.Size(900, 712);
     this.CRViewer.TabIndex = 0;
     //
     // RepCRGeneralFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(900, 712);
     this.Controls.Add(this.CRViewer);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "RepCRGeneralFrm";
     this.Text = "تقرير";
     this.Load += new System.EventHandler(this.RepCRGeneralFrm_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 13
0
        private void imprimirOperacion()
        {
            double montoExento = (one.monto_exento) * factor;
            double montoBase   = (one.base_imponible_ta + one.base_imponible_tg + one.base_imponible_tr) * factor;
            double montoIva    = (one.monto_iva_ta + one.monto_iva_tg + one.monto_iva_tr) * factor;

            CrystalDecisions.Windows.Forms.CrystalReportViewer crView = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
            crVntOperacion repOperacion = new crVntOperacion();

            repOperacion.SetDataSource(_listaDetalle);
            repOperacion.SetParameterValue("empresaNombre", Globals.logEmpresa.nombre);
            repOperacion.SetParameterValue("empresaRif", Globals.logEmpresa.rif);
            repOperacion.SetParameterValue("titulo", _tipoOperacion.nombre);
            repOperacion.SetParameterValue("nroControl", one.nro_control);
            repOperacion.SetParameterValue("fecha", one.fecha);
            repOperacion.SetParameterValue("clienteNombre", _oneCliente.nombre);
            repOperacion.SetParameterValue("clienteRif", _oneCliente.rif);
            repOperacion.SetParameterValue("clienteDireccion", _oneCliente.direccion);
            repOperacion.SetParameterValue("clienteTelefono", _oneCliente.telefono);
            repOperacion.SetParameterValue("moneda", _oneCotizacion.moneda_descrip);
            repOperacion.SetParameterValue("montoExento", montoExento);
            repOperacion.SetParameterValue("montoBase", montoBase);
            repOperacion.SetParameterValue("montoIva", montoIva);
            repOperacion.SetParameterValue("montoTotal", one.total_moneda);
            repOperacion.PrintToPrinter(1, true, 1, 1);
        }
Ejemplo n.º 14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.ReportViewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.rptTKDGMuon1 = new Quanlythuvien.rptTKDGMuon();
     this.SuspendLayout();
     //
     // ReportViewer
     //
     this.ReportViewer.ActiveViewIndex  = -1;
     this.ReportViewer.DisplayGroupTree = false;
     this.ReportViewer.Location         = new System.Drawing.Point(0, 0);
     this.ReportViewer.Name             = "ReportViewer";
     this.ReportViewer.ReportSource     = null;
     this.ReportViewer.Size             = new System.Drawing.Size(800, 600);
     this.ReportViewer.TabIndex         = 0;
     //
     // rptTKDGMuon1
     //
     this.rptTKDGMuon1.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.DefaultPaperOrientation;
     this.rptTKDGMuon1.PrintOptions.PaperSize        = CrystalDecisions.Shared.PaperSize.DefaultPaperSize;
     this.rptTKDGMuon1.PrintOptions.PaperSource      = CrystalDecisions.Shared.PaperSource.Upper;
     this.rptTKDGMuon1.PrintOptions.PrinterDuplex    = CrystalDecisions.Shared.PrinterDuplex.Default;
     //
     // frmRptTKDGMuon
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 566);
     this.Controls.Add(this.ReportViewer);
     this.Name  = "frmRptTKDGMuon";
     this.Text  = "frmRptTKDGMuon";
     this.Load += new System.EventHandler(this.frmRptTKDGMuon_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewerChauffeurs = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.CrystalReportChauffeurs1 = new AT15_Ex2.CrystalReportChauffeurs();
     this.SuspendLayout();
     //
     // crystalReportViewerChauffeurs
     //
     this.crystalReportViewerChauffeurs.ActiveViewIndex = 0;
     this.crystalReportViewerChauffeurs.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewerChauffeurs.Cursor = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewerChauffeurs.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewerChauffeurs.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewerChauffeurs.Name = "crystalReportViewerChauffeurs";
     this.crystalReportViewerChauffeurs.ReportSource = this.CrystalReportChauffeurs1;
     this.crystalReportViewerChauffeurs.Size = new System.Drawing.Size(800, 450);
     this.crystalReportViewerChauffeurs.TabIndex = 0;
     //
     // ListeChauffeurs
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(800, 450);
     this.Controls.Add(this.crystalReportViewerChauffeurs);
     this.Name = "ListeChauffeurs";
     this.Text = "ListeChauffeurs";
     this.ResumeLayout(false);
 }
Ejemplo n.º 16
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crvPatients = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.btnQuit     = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // crvPatients
     //
     this.crvPatients.ActiveViewIndex = -1;
     this.crvPatients.Name            = "crvPatients";
     this.crvPatients.ReportSource    = null;
     this.crvPatients.Size            = new System.Drawing.Size(288, 224);
     this.crvPatients.TabIndex        = 0;
     //
     // btnQuit
     //
     this.btnQuit.Location = new System.Drawing.Point(208, 240);
     this.btnQuit.Name     = "btnQuit";
     this.btnQuit.TabIndex = 1;
     this.btnQuit.Text     = "QUIT";
     //
     // PatientList
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btnQuit,
         this.crvPatients
     });
     this.Name  = "PatientList";
     this.Text  = "PatientList";
     this.Load += new System.EventHandler(this.PatientList_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.EnableDrillDown = false;
     this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.Size = new System.Drawing.Size(1148, 651);
     this.crystalReportViewer1.TabIndex = 0;
     this.crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     //
     // frmVisualRelatorios
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1148, 651);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name = "frmVisualRelatorios";
     this.Text = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.SelectionFormula = "";
     this.crystalReportViewer1.Size = new System.Drawing.Size(292, 266);
     this.crystalReportViewer1.TabIndex = 0;
     this.crystalReportViewer1.ViewTimeSelectionFormula = "";
     //
     // Frm_Preview
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(292, 266);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name = "Frm_Preview";
     this.Text = "Preview";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.ResumeLayout(false);
 }
Ejemplo n.º 19
0
 private void InitializeComponent()
 {
     this.crvMain = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     //crvMain
     //
     this.crvMain.ActiveViewIndex = -1;
     this.crvMain.Anchor          = (System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.crvMain.Location        = new System.Drawing.Point(0, 0);
     this.crvMain.Name            = "crvMain";
     this.crvMain.ReportSource    = null;
     this.crvMain.Size            = new System.Drawing.Size(980, 372);
     this.crvMain.TabIndex        = 0;
     //
     //frmReport
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(980, 374);
     this.Controls.Add(this.crvMain);
     this.Name          = "frmReport";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "frmReport";
     this.ResumeLayout(false);
 }
Ejemplo n.º 20
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.button1 = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.Location        = new System.Drawing.Point(8, 40);
     this.crystalReportViewer1.Name            = "crystalReportViewer1";
     this.crystalReportViewer1.ReportSource    = null;
     this.crystalReportViewer1.Size            = new System.Drawing.Size(840, 456);
     this.crystalReportViewer1.TabIndex        = 0;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(24, 8);
     this.button1.Name     = "button1";
     this.button1.TabIndex = 1;
     this.button1.Text     = "button1";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(856, 509);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name = "Form1";
     this.Text = "Form1";
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crvAsistencias = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crvAsistencias
     //
     this.crvAsistencias.ActiveViewIndex = -1;
     this.crvAsistencias.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crvAsistencias.DisplayGroupTree = false;
     this.crvAsistencias.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crvAsistencias.Location = new System.Drawing.Point(0, 0);
     this.crvAsistencias.Name = "crvAsistencias";
     this.crvAsistencias.SelectionFormula = "";
     this.crvAsistencias.Size = new System.Drawing.Size(591, 394);
     this.crvAsistencias.TabIndex = 0;
     this.crvAsistencias.ViewTimeSelectionFormula = "";
     //
     // frmVistaReporteAsistencias
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(591, 394);
     this.Controls.Add(this.crvAsistencias);
     this.Name = "frmVistaReporteAsistencias";
     this.Text = "frmVistaReporteAsistencias";
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Rptpordonador));
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.ShowGroupTreeButton = false;
     this.crystalReportViewer1.Size = new System.Drawing.Size(796, 347);
     this.crystalReportViewer1.TabIndex = 1;
     this.crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     this.crystalReportViewer1.Load += new System.EventHandler(this.crystalReportViewer1_Load);
     //
     // Rptpordonador
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(796, 347);
     this.Controls.Add(this.crystalReportViewer1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "Rptpordonador";
     this.Text = "Reporte por Donador";
     this.Load += new System.EventHandler(this.Rptpordonador_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 23
0
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ReportsForm));
     this.CrystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     //CrystalReportViewer1
     //
     this.CrystalReportViewer1.ActiveViewIndex = - 1;
     this.CrystalReportViewer1.Anchor = (System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right);
     this.CrystalReportViewer1.Location = new System.Drawing.Point(8, 8);
     this.CrystalReportViewer1.Name = "CrystalReportViewer1";
     this.CrystalReportViewer1.ReportSource = null;
     this.CrystalReportViewer1.Size = new System.Drawing.Size(1000, 520);
     this.CrystalReportViewer1.TabIndex = 0;
     //
     //frmReports
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(1012, 533);
     this.Controls.Add(this.CrystalReportViewer1);
     this.Icon = (System.Drawing.Icon) resources.GetObject("$this.Icon");
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "frmReports";
     this.ShowInTaskbar = false;
     this.Text = "Backflow Testing Reporting";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.ResumeLayout(false);
 }
Ejemplo n.º 24
0
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.rptDAD_cons1         = new PrototipoSeguridad.rptDAD_cons();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = 0;
     this.crystalReportViewer1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Cursor          = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location        = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name            = "crystalReportViewer1";
     this.crystalReportViewer1.ReportSource    = this.rptDAD_cons1;
     this.crystalReportViewer1.Size            = new System.Drawing.Size(284, 261);
     this.crystalReportViewer1.TabIndex        = 0;
     //
     // ReporteDAD_idcons
     //
     this.ClientSize = new System.Drawing.Size(284, 261);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name = "ReporteDAD_idcons";
     this.ResumeLayout(false);
 }
Ejemplo n.º 25
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(fmRep));
     this.crv = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crv
     //
     this.crv.ActiveViewIndex = -1;
     this.crv.Anchor          = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.crv.DisplayGroupTree = false;
     this.crv.Location         = new System.Drawing.Point(0, 0);
     this.crv.Name             = "crv";
     this.crv.ReportSource     = null;
     this.crv.Size             = new System.Drawing.Size(512, 272);
     this.crv.TabIndex         = 0;
     //
     // fmRep
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 273);
     this.Controls.Add(this.crv);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "fmRep";
     this.Text = "Статистика";
     this.ResumeLayout(false);
 }
Ejemplo n.º 26
0
        private void InitializeComponent()
        {
            this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
            this.SuspendLayout();
            // 
            // crystalReportViewer1
            // 
            this.crystalReportViewer1.ActiveViewIndex = -1;
            this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
            this.crystalReportViewer1.Name = "crystalReportViewer1";
            this.crystalReportViewer1.SelectionFormula = "";
            this.crystalReportViewer1.Size = new System.Drawing.Size(884, 662);
            this.crystalReportViewer1.TabIndex = 0;
            this.crystalReportViewer1.ViewTimeSelectionFormula = "";
            // 
            // ReportForm
            // 
            this.ClientSize = new System.Drawing.Size(884, 662);
            this.Controls.Add(this.crystalReportViewer1);
            this.Name = "ReportForm";
            this.ResumeLayout(false);

        }
Ejemplo n.º 27
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmReporte));
     this.crvQueja = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crvQueja
     //
     this.crvQueja.ActiveViewIndex  = -1;
     this.crvQueja.DisplayGroupTree = false;
     this.crvQueja.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.crvQueja.Name             = "crvQueja";
     this.crvQueja.ReportSource     = null;
     this.crvQueja.Size             = new System.Drawing.Size(640, 518);
     this.crvQueja.TabIndex         = 15;
     //
     // frmReporte
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(640, 518);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.crvQueja
     });
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name        = "frmReporte";
     this.Text        = "Seguimiento Queja - Vista Previa";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.ResumeLayout(false);
 }
Ejemplo n.º 28
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex     = -1;
     this.crystalReportViewer1.DisplayGroupTree    = false;
     this.crystalReportViewer1.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location            = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name                = "crystalReportViewer1";
     this.crystalReportViewer1.ReportSource        = null;
     this.crystalReportViewer1.ShowCloseButton     = false;
     this.crystalReportViewer1.ShowGroupTreeButton = false;
     this.crystalReportViewer1.Size                = new System.Drawing.Size(536, 417);
     this.crystalReportViewer1.TabIndex            = 0;
     //
     // frmCharegeItemReport
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(536, 417);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name          = "frmCharegeItemReport";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "收费项目明细报表";
     this.ResumeLayout(false);
 }
Ejemplo n.º 29
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPrintPreview));
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.SelectionFormula = "";
     this.crystalReportViewer1.Size = new System.Drawing.Size(284, 262);
     this.crystalReportViewer1.TabIndex = 0;
     this.crystalReportViewer1.ViewTimeSelectionFormula = "";
     //
     // frmPrintPreview
     //
     this.ClientSize = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.crystalReportViewer1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "frmPrintPreview";
     this.ResumeLayout(false);
 }
Ejemplo n.º 30
0
 private void InitializeComponent()
 {
     this.crystalReportViewer2 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer2
     //
     this.crystalReportViewer2.ActiveViewIndex          = -1;
     this.crystalReportViewer2.BorderStyle              = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer2.DisplayGroupTree         = false;
     this.crystalReportViewer2.Dock                     = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer2.Location                 = new System.Drawing.Point(0, 0);
     this.crystalReportViewer2.Name                     = "crystalReportViewer2";
     this.crystalReportViewer2.SelectionFormula         = "";
     this.crystalReportViewer2.Size                     = new System.Drawing.Size(758, 631);
     this.crystalReportViewer2.TabIndex                 = 0;
     this.crystalReportViewer2.ViewTimeSelectionFormula = "";
     //
     // DispatcheredStoreReport
     //
     this.Controls.Add(this.crystalReportViewer2);
     this.Name = "DispatcheredStoreReport";
     this.Size = new System.Drawing.Size(758, 631);
     this.ResumeLayout(false);
 }
Ejemplo n.º 31
0
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.ReporteProductos1    = new capaPresentacion.Formularios.ReporteProductos();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = 0;
     this.crystalReportViewer1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Cursor          = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location        = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name            = "crystalReportViewer1";
     this.crystalReportViewer1.ReportSource    = this.ReporteProductos1;
     this.crystalReportViewer1.Size            = new System.Drawing.Size(1234, 611);
     this.crystalReportViewer1.TabIndex        = 0;
     //
     // frmReporteProducto
     //
     this.ClientSize = new System.Drawing.Size(1234, 611);
     this.Controls.Add(this.crystalReportViewer1);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "frmReporteProducto";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.ResumeLayout(false);
 }
Ejemplo n.º 32
0
        public void ShowReport(CrystalDecisions.Windows.Forms.CrystalReportViewer obj, string sql, string repname)
        {
            CrystalDecisions.CrystalReports.Engine.ReportDocument objReport = new CrystalDecisions.CrystalReports.Engine.ReportDocument();

            CrystalDecisions.Shared.TableLogOnInfo ConInfo = new CrystalDecisions.Shared.TableLogOnInfo();
            try
            {
                objReport.Load(repname);


                foreach (CrystalDecisions.CrystalReports.Engine.Table tbCurrent in objReport.Database.Tables)
                {
                    ConInfo = tbCurrent.LogOnInfo;
                    ConInfo.ConnectionInfo.ServerName   = ConfigurationManager.AppSettings["ReportProvider"];
                    ConInfo.ConnectionInfo.UserID       = ConfigurationManager.AppSettings["User ID"];
                    ConInfo.ConnectionInfo.Password     = ConfigurationManager.AppSettings["Password"];
                    ConInfo.ConnectionInfo.DatabaseName = ConfigurationManager.AppSettings["Database Name"];

                    tbCurrent.ApplyLogOnInfo(ConInfo);
                }

                DataSet objds = Select(sql);
                objReport.SetDataSource(objds.Tables[0]);
                obj.ReportSource = objReport;
            }
            catch
            {
                //return null;
            }
            finally
            {
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Reporte));
     this.crystalReportViewer2 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer2
     //
     this.crystalReportViewer2.ActiveViewIndex = -1;
     this.crystalReportViewer2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer2.Cursor = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer2.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer2.Name = "crystalReportViewer2";
     this.crystalReportViewer2.ShowGroupTreeButton = false;
     this.crystalReportViewer2.ShowParameterPanelButton = false;
     this.crystalReportViewer2.Size = new System.Drawing.Size(792, 373);
     this.crystalReportViewer2.TabIndex = 0;
     this.crystalReportViewer2.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     //
     // Reporte
     //
     this.ClientSize = new System.Drawing.Size(792, 373);
     this.Controls.Add(this.crystalReportViewer2);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "Reporte";
     this.Load += new System.EventHandler(this.Reporte_Load_1);
     this.ResumeLayout(false);
 }
Ejemplo n.º 34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_crvRept = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // m_crvRept
     //
     this.m_crvRept.ActiveViewIndex     = -1;
     this.m_crvRept.DisplayGroupTree    = false;
     this.m_crvRept.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.m_crvRept.Name                = "m_crvRept";
     this.m_crvRept.ReportSource        = null;
     this.m_crvRept.ShowCloseButton     = false;
     this.m_crvRept.ShowExportButton    = false;
     this.m_crvRept.ShowGroupTreeButton = false;
     this.m_crvRept.Size                = new System.Drawing.Size(1016, 729);
     this.m_crvRept.TabIndex            = 0;
     //
     // frmCryReptView
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 16);
     this.BackColor         = System.Drawing.Color.FromArgb(((System.Byte)(51)), ((System.Byte)(102)), ((System.Byte)(153)));
     this.ClientSize        = new System.Drawing.Size(1016, 729);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.m_crvRept
     });
     this.Font        = new System.Drawing.Font("SimSun", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.ForeColor   = System.Drawing.Color.White;
     this.Name        = "frmCryReptView";
     this.Text        = "±¨±í´òÓ¡";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.ResumeLayout(false);
 }
Ejemplo n.º 35
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmShowPrint));
     this.cryReportViewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // cryReportViewer
     //
     this.cryReportViewer.ActiveViewIndex          = -1;
     this.cryReportViewer.BorderStyle              = System.Windows.Forms.BorderStyle.FixedSingle;
     this.cryReportViewer.DisplayGroupTree         = false;
     this.cryReportViewer.Dock                     = System.Windows.Forms.DockStyle.Fill;
     this.cryReportViewer.Location                 = new System.Drawing.Point(0, 0);
     this.cryReportViewer.Name                     = "cryReportViewer";
     this.cryReportViewer.SelectionFormula         = "";
     this.cryReportViewer.Size                     = new System.Drawing.Size(480, 413);
     this.cryReportViewer.TabIndex                 = 0;
     this.cryReportViewer.ViewTimeSelectionFormula = "";
     //
     // FrmShowPrint
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(480, 413);
     this.Controls.Add(this.cryReportViewer);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name        = "FrmShowPrint";
     this.Text        = "打印预览";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.ResumeLayout(false);
 }
Ejemplo n.º 36
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer
     //
     this.crystalReportViewer.ActiveViewIndex          = -1;
     this.crystalReportViewer.BorderStyle              = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer.Cursor                   = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer.Dock                     = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer.Font                     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.crystalReportViewer.Location                 = new System.Drawing.Point(0, 0);
     this.crystalReportViewer.Name                     = "crystalReportViewer";
     this.crystalReportViewer.ShowCloseButton          = false;
     this.crystalReportViewer.ShowGroupTreeButton      = false;
     this.crystalReportViewer.ShowParameterPanelButton = false;
     this.crystalReportViewer.Size                     = new System.Drawing.Size(942, 623);
     this.crystalReportViewer.TabIndex                 = 0;
     this.crystalReportViewer.ToolPanelView            = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     //
     // ReportForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(942, 623);
     this.Controls.Add(this.crystalReportViewer);
     this.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name          = "ReportForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Report";
     this.ResumeLayout(false);
 }
Ejemplo n.º 37
0
        private void initReportTemp(TrasenFrame.Forms.UcReportView reportView)
        {
            cryRepViw = reportView.CryRepViw_Uc;
            tbMain    = reportView.tbMain_Uc;
            if (printReportInfo != null && printReportInfo.Length > 0)
            {
                reportView.sqlStr_Uc = printReportInfo;
            }
            reportView.IsExecSuccessChanged += new EventHandler(ucReportView1_IsExecSuccessChanged);
            User CurrentUser = null;

            if (FrmMdiMain.CurrentUser == null)
            {
                CurrentUser = new User();
            }
            else
            {
                CurrentUser = FrmMdiMain.CurrentUser;
            }
            if (CurrentUser.IsAdministrator || new SystemCfg(21).Config == "0")
            {
                cryRepViw.ShowCloseButton     = true;
                cryRepViw.ShowExportButton    = true;
                cryRepViw.ShowRefreshButton   = true;
                cryRepViw.ShowGroupTreeButton = true;
            }
        }
Ejemplo n.º 38
0
        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
            this.SuspendLayout();
            // 
            // crystalReportViewer1
            // 
            this.crystalReportViewer1.ActiveViewIndex = -1;
            this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
            this.crystalReportViewer1.Name = "crystalReportViewer1";
            this.crystalReportViewer1.SelectionFormula = "";
            this.crystalReportViewer1.Size = new System.Drawing.Size(471, 363);
            this.crystalReportViewer1.TabIndex = 0;
            this.crystalReportViewer1.ViewTimeSelectionFormula = "";
            // 
            // Frm_Main
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(471, 363);
            this.Controls.Add(this.crystalReportViewer1);
            this.Name = "Frm_Main";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "在水晶报表中添加图表";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.Frm_Main_Load);
            this.ResumeLayout(false);

        }
Ejemplo n.º 39
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.HistoryCrystalReportViewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // HistoryCrystalReportViewer
     //
     this.HistoryCrystalReportViewer.ActiveViewIndex = -1;
     this.HistoryCrystalReportViewer.Dock = System.Windows.Forms.DockStyle.Fill;
     this.HistoryCrystalReportViewer.Name = "HistoryCrystalReportViewer";
     this.HistoryCrystalReportViewer.ReportSource = null;
     this.HistoryCrystalReportViewer.Size = new System.Drawing.Size(896, 502);
     this.HistoryCrystalReportViewer.TabIndex = 0;
     //
     // ReportHistoryForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(896, 502);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                   this.HistoryCrystalReportViewer});
     this.Name = "ReportHistoryForm";
     this.Text = "Report History";
     this.Load += new System.EventHandler(this.frmReportHistory_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 40
0
 public void addTrinhKy_OnFormLoad()
 {
     //Ham nay XuanDT them vao
     try {
         //doan gan cac bien: doan nay co the phai thay doi ten bien cho phu hop
         mv_oRptDoc  = RptDoc;
         mv_oViewDoc = this.crptViewer;
         //ket thuc doan gan bien
         mv_oRptFieldObj = mv_oRptDoc.ReportDefinition.ReportObjects["Field150181"] as FieldObject;
         mv_oNguoiKy     = new cls_SignInfor(mv_oRptDoc.ToString(), "");
         //chkPrint_CheckedChanged(chkPrint, New System.EventArgs)
         if (mv_oNguoiKy._TonTai)
         {
             mv_oNguoiKy.setValueToRPT(ref mv_oRptFieldObj);
             if (mv_bSetContent)
             {
                 mv_oRptDoc.DataDefinition.FormulaFields["Formula_1"].Text = Strings.Chr(34) + mv_oNguoiKy.mv_NOI_DUNG.Replace("&NHANVIEN", globalVariables.gv_sStaffName).Replace("#$X$#", Strings.Chr(34) + "&Chr(13)&" + Strings.Chr(34)) + Strings.Chr(34);
             }
             else
             {
                 mv_oRptDoc.DataDefinition.FormulaFields["Formula_1"].Text = "";
             }
             mv_oViewDoc.ReportSource = RptDoc;
         }
         else
         {
             mv_oNguoiKy = new cls_SignInfor(mv_oRptFieldObj, "", RptDoc.ToString(), mv_oRptDoc.DataDefinition.FormulaFields["Formula_1"].Text);
         }
     }
     catch (Exception ex) {
         mv_oRptText = null;
         //an nut tuy chon di
         this.cmdTrinhKy.Visible = false;
     }
 }
Ejemplo n.º 41
0
        private void imprimirOperacion()
        {
            double montoExento = (one.monto_exento) * factor;
            double montoBase   = (one.base_imponible_ta + one.base_imponible_tg + one.base_imponible_tr) * factor;
            double montoIva    = (one.monto_iva_ta + one.monto_iva_tg + one.monto_iva_tr) * factor;

            CrystalDecisions.Windows.Forms.CrystalReportViewer crView = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
            crVntOperacion repOperacion = new crVntOperacion();

            repOperacion.SetDataSource(_listaDetalle);
            repOperacion.SetParameterValue("empresaNombre", Globals.logEmpresa.nombre);
            repOperacion.SetParameterValue("empresaRif", Globals.logEmpresa.rif);
            repOperacion.SetParameterValue("titulo", lblTitle.Text);
            repOperacion.SetParameterValue("nroControl", one.nro_control);
            repOperacion.SetParameterValue("fecha", one.fecha);
            repOperacion.SetParameterValue("clienteNombre", _oneCliente.nombre);
            repOperacion.SetParameterValue("clienteRif", _oneCliente.rif);
            repOperacion.SetParameterValue("clienteDireccion", _oneCliente.direccion);
            repOperacion.SetParameterValue("clienteTelefono", _oneCliente.telefono);
            repOperacion.SetParameterValue("moneda", cmbCotizacion.Text);
            repOperacion.SetParameterValue("montoExento", montoExento);
            repOperacion.SetParameterValue("montoBase", montoBase);
            repOperacion.SetParameterValue("montoIva", montoIva);
            repOperacion.SetParameterValue("montoTotal", one.total_moneda);
            crView.ReportSource = repOperacion;

            Form f = new Reportes.frmReportViewer(crView);

            ConfigUI.LaunchChildForm(f, Globals.appParentWindow);
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crvNotaCredito = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crvNotaCredito
     //
     this.crvNotaCredito.ActiveViewIndex = -1;
     this.crvNotaCredito.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crvNotaCredito.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crvNotaCredito.Location = new System.Drawing.Point(0, 0);
     this.crvNotaCredito.Name = "crvNotaCredito";
     this.crvNotaCredito.SelectionFormula = "";
     this.crvNotaCredito.Size = new System.Drawing.Size(606, 533);
     this.crvNotaCredito.TabIndex = 0;
     this.crvNotaCredito.ViewTimeSelectionFormula = "";
     //
     // frmDocumentoNotaCredito
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(606, 533);
     this.Controls.Add(this.crvNotaCredito);
     this.Name = "frmDocumentoNotaCredito";
     this.Text = "frmDocumentoNotaCredito";
     this.ResumeLayout(false);
 }
Ejemplo n.º 43
0
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.Reporte_Cotizacion1  = new Citas_1._0.Reporte_Cotizacion();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = 0;
     this.crystalReportViewer1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Cursor          = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location        = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name            = "crystalReportViewer1";
     this.crystalReportViewer1.ReportSource    = this.Reporte_Cotizacion1;
     this.crystalReportViewer1.Size            = new System.Drawing.Size(908, 464);
     this.crystalReportViewer1.TabIndex        = 0;
     //
     // ReporteCrystal
     //
     this.ClientSize = new System.Drawing.Size(908, 464);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name = "ReporteCrystal";
     this.ResumeLayout(false);
 }
Ejemplo n.º 44
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.Size = new System.Drawing.Size(278, 244);
     this.crystalReportViewer1.TabIndex = 0;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(278, 244);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name = "Form1";
     this.Text = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 45
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.viewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // viewer
     //
     this.viewer.ActiveViewIndex = -1;
     this.viewer.Dock = System.Windows.Forms.DockStyle.Fill;
     this.viewer.Location = new System.Drawing.Point(0, 0);
     this.viewer.Name = "viewer";
     this.viewer.ReportSource = null;
     this.viewer.Size = new System.Drawing.Size(896, 469);
     this.viewer.TabIndex = 0;
     //
     // GenericCrystalViewer
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(896, 469);
     this.Controls.Add(this.viewer);
     this.Name = "GenericCrystalViewer";
     this.Text = "GenericCrystalViewer";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.ResumeLayout(false);
 }
Ejemplo n.º 46
0
 private void InitializeComponent()
 {
     components = new System.ComponentModel.Container();
     _crvEDIPerformanceAudit        = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     _crvEDIPerformanceAudit.Load  += new EventHandler(crvEDIPerformanceAudit_Load);
     BindingSourceContainers_In_Out = new BindingSource(components);
     ((System.ComponentModel.ISupportInitialize)BindingSourceContainers_In_Out).BeginInit();
     SuspendLayout();
     //
     // crvEDIPerformanceAudit
     //
     _crvEDIPerformanceAudit.ActiveViewIndex = -1;
     _crvEDIPerformanceAudit.BorderStyle     = BorderStyle.FixedSingle;
     _crvEDIPerformanceAudit.Cursor          = Cursors.Default;
     _crvEDIPerformanceAudit.Dock            = DockStyle.Fill;
     _crvEDIPerformanceAudit.Location        = new Point(0, 0);
     _crvEDIPerformanceAudit.Name            = "_crvEDIPerformanceAudit";
     _crvEDIPerformanceAudit.Size            = new Size(800, 450);
     _crvEDIPerformanceAudit.TabIndex        = 0;
     //
     // frmEDIPerformanceAuditReport
     //
     AutoScaleDimensions = new SizeF(6.0f, 13.0f);
     AutoScaleMode       = AutoScaleMode.Font;
     ClientSize          = new Size(800, 450);
     Controls.Add(_crvEDIPerformanceAudit);
     Name          = "frmEDIPerformanceAuditReport";
     StartPosition = FormStartPosition.CenterScreen;
     Text          = "frmEDIPerformanceAuditReport";
     WindowState   = FormWindowState.Maximized;
     ((System.ComponentModel.ISupportInitialize)BindingSourceContainers_In_Out).EndInit();
     ResumeLayout(false);
 }
Ejemplo n.º 47
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.Size = new System.Drawing.Size(916, 505);
     this.crystalReportViewer1.TabIndex = 0;
     //
     // ViewReports
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(916, 505);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name = "ViewReports";
     this.Text = "ViewReports";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.ViewReports_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
         this._panel2_LeftControlPanel.SuspendLayout();
         this.panel_TopPanel.SuspendLayout();
         ((System.ComponentModel.ISupportInitialize)(this.pictureBox_RightLogo)).BeginInit();
         ((System.ComponentModel.ISupportInitialize)(this.pictureBox_LeftLogo)).BeginInit();
         this.SuspendLayout();
         //
         // label_SubName
         //
         this.label_SubName.Location = new System.Drawing.Point(498, 66);
         this.label_SubName.Size = new System.Drawing.Size(150, 28);
         this.label_SubName.Text = "Crystal Report";
         //
         // button_DisplaySelectedObject
         //
         this.button_DisplaySelectedObject.Visible = true;
         this.button_DisplaySelectedObject.Click += new System.EventHandler(this.button_DisplaySelectedObject_Click_1);
         //
         // crystalReportViewer1
         //
         this.crystalReportViewer1.ActiveViewIndex = -1;
         this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
         this.crystalReportViewer1.CachedPageNumberPerDoc = 10;
         this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
         this.crystalReportViewer1.DisplayStatusBar = false;
         this.crystalReportViewer1.DisplayToolbar = false;
         this.crystalReportViewer1.Location = new System.Drawing.Point(167, 138);
         this.crystalReportViewer1.Name = "crystalReportViewer1";
         this.crystalReportViewer1.ReuseParameterValuesOnRefresh = true;
         this.crystalReportViewer1.ShowLogo = false;
         this.crystalReportViewer1.Size = new System.Drawing.Size(901, 606);
         this.crystalReportViewer1.TabIndex = 2;
         this.crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
         this.crystalReportViewer1.Load += new System.EventHandler(this.crystalReportViewer1_Load);
         //
         // CrystalReport
         //
         this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
         this.ClientSize = new System.Drawing.Size(1072, 742);
         this.Controls.Add(this.crystalReportViewer1);
         this.Name = "CrystalReport";
         this.Controls.SetChildIndex(this.crystalReportViewer1, 0);
         this.Controls.SetChildIndex(this.panel_TopPanel, 0);
         this.Controls.SetChildIndex(this._panel2_LeftControlPanel, 0);
         this._panel2_LeftControlPanel.ResumeLayout(false);
         this.panel_TopPanel.ResumeLayout(false);
         this.panel_TopPanel.PerformLayout();
         ((System.ComponentModel.ISupportInitialize)(this.pictureBox_RightLogo)).EndInit();
         ((System.ComponentModel.ISupportInitialize)(this.pictureBox_LeftLogo)).EndInit();
         this.ResumeLayout(false);
 }
Ejemplo n.º 49
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.FReportOfCassette = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.btnRefresh = new System.Windows.Forms.Button();
     this.btnClose = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // FReportOfCassette
     //
     this.FReportOfCassette.ActiveViewIndex = -1;
     this.FReportOfCassette.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.FReportOfCassette.DisplayGroupTree = false;
     this.FReportOfCassette.Dock = System.Windows.Forms.DockStyle.Fill;
     this.FReportOfCassette.Location = new System.Drawing.Point(0, 0);
     this.FReportOfCassette.Name = "FReportOfCassette";
     this.FReportOfCassette.SelectionFormula = "";
     this.FReportOfCassette.Size = new System.Drawing.Size(1021, 480);
     this.FReportOfCassette.TabIndex = 0;
     this.FReportOfCassette.ViewTimeSelectionFormula = "";
     //
     // btnRefresh
     //
     this.btnRefresh.Location = new System.Drawing.Point(440, 1);
     this.btnRefresh.Name = "btnRefresh";
     this.btnRefresh.Size = new System.Drawing.Size(56, 24);
     this.btnRefresh.TabIndex = 8;
     this.btnRefresh.Text = "Refresh";
     this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
     //
     // btnClose
     //
     this.btnClose.Location = new System.Drawing.Point(378, 1);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(56, 24);
     this.btnClose.TabIndex = 7;
     this.btnClose.Text = "Close";
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // ReportNoteOfCassette
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(1021, 480);
     this.Controls.Add(this.btnRefresh);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.FReportOfCassette);
     this.Name = "ReportNoteOfCassette";
     this.Text = "Report Notes Of Cassette [10]";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.ReportNoteOfCassette_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 50
0
        public static CrystalDecisions.Windows.Forms.CrystalReportViewer ViewReport(string reportName, List<KeyValuePair<string, object>> Param_Values)
        {
            ReportDocument _reportDocument = new ReportDocument();
            CrystalDecisions.Windows.Forms.CrystalReportViewer crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
            crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
            TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
            TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
            ConnectionInfo crConnectionInfo = new ConnectionInfo();
            Tables crTables;
            // load report      

            _reportDocument.Load(AppDomain.CurrentDomain.BaseDirectory.ToString() + "\\Reports\\" + reportName);
            // set report Connection info
            string[] LoginData = ConfigurationManager.ConnectionStrings["Local"].ConnectionString.ToString().Split(';');
            if (!string.IsNullOrEmpty(LoginData[3].ToString()) && LoginData[3].ToString() != "")
                crConnectionInfo.Password = LoginData[3].Split('=')[1].ToString();

            crConnectionInfo.UserID = LoginData[2].Split('=')[1].ToString();
            crConnectionInfo.DatabaseName = LoginData[1].Split('=')[1];
            crConnectionInfo.ServerName = LoginData[0].Split('=')[1];
            crTables = _reportDocument.Database.Tables;
            foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in crTables)
            {
                crtableLogoninfo = CrTable.LogOnInfo;
                crtableLogoninfo.ConnectionInfo = crConnectionInfo;
                CrTable.ApplyLogOnInfo(crtableLogoninfo);
            }
            _reportDocument.Refresh();
            // set report Parameter          
            if (Param_Values != null)
            {
                foreach (KeyValuePair<string, object> Param_Value in Param_Values)
                {
                    // _reportDocument.SetParameterValue("SalesHeaderID",Param_Value.Value);
                    _reportDocument.SetParameterValue((string)Param_Value.Key, (object)Param_Value.Value);
                }
            }
            crystalReportViewer1.ReportSource = _reportDocument;
            crystalReportViewer1.Refresh();
            
            crystalReportViewer1.Name = "crystalReportViewer1";

            return crystalReportViewer1;

        }
Ejemplo n.º 51
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.button1 = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.SelectionFormula = "";
     this.crystalReportViewer1.Size = new System.Drawing.Size(573, 483);
     this.crystalReportViewer1.TabIndex = 0;
     this.crystalReportViewer1.ViewTimeSelectionFormula = "";
     this.crystalReportViewer1.Load += new System.EventHandler(this.crystalReportViewer1_Load);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(154, 54);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 1;
     this.button1.Text = "button1";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // MyReport
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(573, 483);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name = "MyReport";
     this.Text = "MyReport";
     this.Load += new System.EventHandler(this.MyReport_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 52
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crvReport = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.printDialog1 = new System.Windows.Forms.PrintDialog();
     this.printDocument1 = new System.Drawing.Printing.PrintDocument();
     this.SuspendLayout();
     //
     // crvReport
     //
     this.crvReport.ActiveViewIndex = -1;
     this.crvReport.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crvReport.Cursor = System.Windows.Forms.Cursors.Default;
     this.crvReport.DisplayStatusBar = false;
     this.crvReport.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crvReport.Location = new System.Drawing.Point(0, 0);
     this.crvReport.Name = "crvReport";
     this.crvReport.Size = new System.Drawing.Size(894, 512);
     this.crvReport.TabIndex = 0;
     this.crvReport.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     //
     // printDialog1
     //
     this.printDialog1.UseEXDialog = true;
     //
     // frmBaoCaorpt
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(894, 512);
     this.Controls.Add(this.crvReport);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Name = "frmBaoCaorpt";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.Text = " ";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.frmBaoCaorpt_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 53
0
        public void CreafReportes(string nombreReporte, String sCadena, String sTitulo,DataTable dtabla)
        {
            string titulo = sTitulo;
            string cadena = sCadena;

            //  Crea el documento del Reporte
            CrystalDecisions.CrystalReports.Engine.ReportDocument reporte = creaReporte(nombreReporte);
            DataSet1 dtSet = new DataSet1();
            dtSet.Tables.Add(dtabla);

            reporte.SetDataSource(dtSet.Tables[1]);
            //=====  Crea formulario cFReporte
            System.Windows.Forms.Form cFReporte = new System.Windows.Forms.Form();
            cFReporte.BackColor = Color.LightSteelBlue;
            cFReporte.WindowState = FormWindowState.Maximized;
            cFReporte.MaximizeBox = false;
            cFReporte.MinimizeBox = false;

            //  Crea el Report Viewer
            CrystalDecisions.Windows.Forms.CrystalReportViewer CRVrpt = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
            CRVrpt.Size = new System.Drawing.Size(830, 501);
            CRVrpt.Location = new System.Drawing.Point(0, 0);
            CRVrpt.Dock = System.Windows.Forms.DockStyle.Fill;
            CRVrpt.ShowCloseButton = true;
            CRVrpt.ShowExportButton = true;
            CRVrpt.ShowGotoPageButton = true;
            CRVrpt.ShowPageNavigateButtons = true;
            CRVrpt.ShowPrintButton = true;
            CRVrpt.ShowRefreshButton = true;
            CRVrpt.ShowZoomButton = true;
            CRVrpt.ShowGroupTreeButton = true;
            CRVrpt.DisplayGroupTree = true;
            CRVrpt.DisplayStatusBar = true;
            CRVrpt.DisplayToolbar = true;
            CRVrpt.ReportSource = reporte;

            cFReporte.Controls.Add(CRVrpt);
            cFReporte.Show();
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReporteExp));
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.ShowGroupTreeButton = false;
     this.crystalReportViewer1.ShowParameterPanelButton = false;
     this.crystalReportViewer1.ShowRefreshButton = false;
     this.crystalReportViewer1.Size = new System.Drawing.Size(895, 501);
     this.crystalReportViewer1.TabIndex = 0;
     this.crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     this.crystalReportViewer1.Load += new System.EventHandler(this.crystalReportViewer1_Load);
     //
     // Reporte
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(895, 501);
     this.Controls.Add(this.crystalReportViewer1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "Reporte";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Reporte";
     this.Load += new System.EventHandler(this.Reporte_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.Report = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // Report
     //
     this.Report.ActiveViewIndex = -1;
     this.Report.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Report.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Report.Location = new System.Drawing.Point(0, 0);
     this.Report.Name = "Report";
     this.Report.SelectionFormula = "";
     this.Report.Size = new System.Drawing.Size(755, 354);
     this.Report.TabIndex = 0;
     this.Report.ViewTimeSelectionFormula = "";
     //
     // Frm_Sis_ReportesView
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.SystemColors.Control;
     this.ClientSize = new System.Drawing.Size(755, 354);
     this.Controls.Add(this.Report);
     this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ForeColor = System.Drawing.SystemColors.ControlText;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Name = "Frm_Sis_ReportesView";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = " Reporte";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.FrmReportesView_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.rptViewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // rptViewer
     //
     this.rptViewer.ActiveViewIndex = -1;
     this.rptViewer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.rptViewer.Cursor = System.Windows.Forms.Cursors.Default;
     this.rptViewer.Dock = System.Windows.Forms.DockStyle.Fill;
     this.rptViewer.Location = new System.Drawing.Point(0, 0);
     this.rptViewer.Name = "rptViewer";
     this.rptViewer.Size = new System.Drawing.Size(616, 414);
     this.rptViewer.TabIndex = 0;
     //
     // frmReport
     //
     this.ClientSize = new System.Drawing.Size(616, 414);
     this.Controls.Add(this.rptViewer);
     this.Name = "frmReport";
     this.Load += new System.EventHandler(this.frmReport_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 57
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = -1;
     this.crystalReportViewer1.Location = new System.Drawing.Point(8, 8);
     this.crystalReportViewer1.Name = "crystalReportViewer1";
     this.crystalReportViewer1.ReportSource = null;
     this.crystalReportViewer1.Size = new System.Drawing.Size(400, 296);
     this.crystalReportViewer1.TabIndex = 0;
     //
     // frmReport
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize = new System.Drawing.Size(416, 314);
     this.Controls.Add(this.crystalReportViewer1);
     this.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name = "frmReport";
     this.Text = "Report";
     this.ResumeLayout(false);
 }
Ejemplo n.º 58
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label3 = new System.Windows.Forms.Label();
     this.cb_tipo = new System.Windows.Forms.ComboBox();
     this.btn_gr = new DevComponents.DotNetBar.ButtonX();
     this.crv = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.SuspendLayout();
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(18, 21);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(84, 13);
     this.label3.TabIndex = 38;
     this.label3.Text = "Tipo de Reporte";
     //
     // cb_tipo
     //
     this.cb_tipo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cb_tipo.FormattingEnabled = true;
     this.cb_tipo.Items.AddRange(new object[] {
     "Texto",
     "Gráfica",
     "Ambos"});
     this.cb_tipo.Location = new System.Drawing.Point(108, 18);
     this.cb_tipo.Name = "cb_tipo";
     this.cb_tipo.Size = new System.Drawing.Size(139, 21);
     this.cb_tipo.TabIndex = 37;
     //
     // btn_gr
     //
     this.btn_gr.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btn_gr.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btn_gr.Location = new System.Drawing.Point(849, 18);
     this.btn_gr.Name = "btn_gr";
     this.btn_gr.Size = new System.Drawing.Size(123, 30);
     this.btn_gr.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btn_gr.TabIndex = 36;
     this.btn_gr.Text = "Generar reporte";
     this.btn_gr.Click += new System.EventHandler(this.btn_gr_Click);
     //
     // crv
     //
     this.crv.ActiveViewIndex = -1;
     this.crv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crv.Cursor = System.Windows.Forms.Cursors.Default;
     this.crv.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.crv.Location = new System.Drawing.Point(15, 61);
     this.crv.Name = "crv";
     this.crv.Size = new System.Drawing.Size(957, 625);
     this.crv.TabIndex = 39;
     this.crv.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     //
     // FPorcentaje_MPA
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(987, 701);
     this.Controls.Add(this.crv);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.cb_tipo);
     this.Controls.Add(this.btn_gr);
     this.Name = "FPorcentaje_MPA";
     this.Padding = new System.Windows.Forms.Padding(15);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Porcentaje de materia prima en almacén";
     this.Load += new System.EventHandler(this.FPorcentaje_MPA_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.crystalReportViewer2 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
     this.label3 = new System.Windows.Forms.Label();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.label2 = new System.Windows.Forms.Label();
     this.button1 = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // crystalReportViewer2
     //
     this.crystalReportViewer2.ActiveViewIndex = -1;
     this.crystalReportViewer2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer2.Cursor = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer2.Location = new System.Drawing.Point(0, 0);
     this.crystalReportViewer2.Name = "crystalReportViewer2";
     this.crystalReportViewer2.SelectionFormula = "";
     this.crystalReportViewer2.Size = new System.Drawing.Size(996, 466);
     this.crystalReportViewer2.TabIndex = 0;
     this.crystalReportViewer2.ViewTimeSelectionFormula = "";
     //
     // dateTimePicker2
     //
     this.dateTimePicker2.CustomFormat = "dd/MM/yyyy";
     this.dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker2.Location = new System.Drawing.Point(637, 4);
     this.dateTimePicker2.Name = "dateTimePicker2";
     this.dateTimePicker2.Size = new System.Drawing.Size(102, 23);
     this.dateTimePicker2.TabIndex = 36;
     //
     // label3
     //
     this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label3.Location = new System.Drawing.Point(602, 3);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(29, 24);
     this.label3.TabIndex = 35;
     this.label3.Text = "to";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.CustomFormat = "dd/MM/yyyy";
     this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker1.Location = new System.Drawing.Point(494, 3);
     this.dateTimePicker1.Name = "dateTimePicker1";
     this.dateTimePicker1.Size = new System.Drawing.Size(102, 23);
     this.dateTimePicker1.TabIndex = 34;
     //
     // label2
     //
     this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label2.Location = new System.Drawing.Point(433, 3);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(55, 24);
     this.label2.TabIndex = 33;
     this.label2.Text = "Date";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(745, 4);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(61, 24);
     this.button1.TabIndex = 31;
     this.button1.Text = "Show";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // DebitVoucherDatetoDateReport
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(996, 466);
     this.Controls.Add(this.dateTimePicker2);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.dateTimePicker1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.crystalReportViewer2);
     this.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.Name = "DebitVoucherDatetoDateReport";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Debit Voucher Date to Date Report";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.DebitVoucherDatetoDateReport_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 60
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.BarraSis = new System.Windows.Forms.ToolStrip();
     this.bImprimir = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.bCerrar = new System.Windows.Forms.ToolStripButton();
     this.Report = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.BarraSis.SuspendLayout();
     this.SuspendLayout();
     //
     // BarraSis
     //
     this.BarraSis.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.bImprimir,
     this.toolStripSeparator2,
     this.bCerrar});
     this.BarraSis.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
     this.BarraSis.Location = new System.Drawing.Point(0, 0);
     this.BarraSis.Name = "BarraSis";
     this.BarraSis.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
     this.BarraSis.Size = new System.Drawing.Size(814, 23);
     this.BarraSis.TabIndex = 169;
     //
     // bImprimir
     //
     this.bImprimir.Image = global::SisCtd.Properties.Resources.Toolbar_Print;
     this.bImprimir.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.bImprimir.Name = "bImprimir";
     this.bImprimir.Size = new System.Drawing.Size(65, 20);
     this.bImprimir.Text = "&Imprimir";
     this.bImprimir.ToolTipText = "Imprimir";
     this.bImprimir.Click += new System.EventHandler(this.bImprimir_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23);
     //
     // bCerrar
     //
     this.bCerrar.Image = global::SisCtd.Properties.Resources.Toolbar_Close;
     this.bCerrar.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.bCerrar.Name = "bCerrar";
     this.bCerrar.Size = new System.Drawing.Size(58, 20);
     this.bCerrar.Text = "&Cerrar";
     this.bCerrar.Click += new System.EventHandler(this.bCerrar_Click);
     //
     // Report
     //
     this.Report.ActiveViewIndex = -1;
     this.Report.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Report.DisplayGroupTree = false;
     this.Report.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Report.Location = new System.Drawing.Point(0, 23);
     this.Report.Name = "Report";
     this.Report.SelectionFormula = "";
     this.Report.ShowCloseButton = false;
     this.Report.ShowExportButton = false;
     this.Report.ShowGotoPageButton = false;
     this.Report.ShowGroupTreeButton = false;
     this.Report.ShowPrintButton = false;
     this.Report.Size = new System.Drawing.Size(814, 457);
     this.Report.TabIndex = 170;
     this.Report.ViewTimeSelectionFormula = "";
     //
     // Frm_Sis_Formatos
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.SystemColors.Control;
     this.ClientSize = new System.Drawing.Size(814, 480);
     this.Controls.Add(this.Report);
     this.Controls.Add(this.BarraSis);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.KeyPreview = true;
     this.Name = "Frm_Sis_Formatos";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     this.Text = " Formatos";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.FrmFormatos_KeyPress);
     this.BarraSis.ResumeLayout(false);
     this.BarraSis.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }