/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; reportDataSource1.Name = "DataSet1"; reportDataSource1.Value = null; this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1); this.reportViewer1.LocalReport.ReportEmbeddedResource = "Report.Report6.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(833, 431); this.reportViewer1.TabIndex = 0; // // Form6 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(833, 431); this.Controls.Add(this.reportViewer1); this.Name = "Form6"; this.Text = "Form6"; this.Load += new System.EventHandler(this.Form6_Load); this.ResumeLayout(false); }
public SSRSPrintPreview(SSRSCommon.ReportExecutionService.ReportExecutionService rep_exec_svc, SSRSCommon.ReportService2005.ReportingService2005 rep_svc, string surl, string rpath, SSRSCommon.RDLMetaData rdlmetadata) { InitializeComponent(); this.rep_exec_svc = rep_exec_svc; this.rep_svc = rep_svc; this.ReportServerURL = surl; this.ReportPath = rpath; this.rdlmd = rdlmetadata; this.rep_viewer_ctrl = new Microsoft.Reporting.WinForms.ReportViewer(); this.rep_viewer_ctrl.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote; var report = this.rep_viewer_ctrl.ServerReport; report.ReportServerUrl = new System.Uri( this.ReportServerURL ); report.ReportPath = this.ReportPath; this.rep_viewer_ctrl.RefreshReport(); // get the metafiles // In this sample we are getting only the first metafile preparemetafiles(); this.UpdateUI(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(957, 467); this.reportViewer1.TabIndex = 0; // // Form4 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(957, 467); this.Controls.Add(this.reportViewer1); this.Name = "Form4"; this.Text = "Form4"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form4_FormClosed); this.Load += new System.EventHandler(this.Form4_Load); this.ResumeLayout(false); }
public SSRSPrintPreview(SSRSCommon.ReportExecutionService.ReportExecutionService rep_exec_svc, SSRSCommon.ReportService2005.ReportingService2005 rep_svc, string surl, string rpath, SSRSCommon.RDLMetaData rdlmetadata) { InitializeComponent(); this.rep_exec_svc = rep_exec_svc; this.rep_svc = rep_svc; this.ReportServerURL = surl; this.ReportPath = rpath; this.rdlmd = rdlmetadata; this.rep_viewer_ctrl = new Microsoft.Reporting.WinForms.ReportViewer(); this.rep_viewer_ctrl.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote; var report = this.rep_viewer_ctrl.ServerReport; report.ReportServerUrl = new System.Uri(this.ReportServerURL); report.ReportPath = this.ReportPath; this.rep_viewer_ctrl.RefreshReport(); // get the metafiles // In this sample we are getting only the first metafile preparemetafiles(); this.UpdateUI(); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.ServerReport.ReportServerUrl = new System.Uri("http://172.20.28.17/reportserver", System.UriKind.Absolute); this.reportViewer1.Size = new System.Drawing.Size(892, 626); this.reportViewer1.TabIndex = 0; // // frmReportServicePreview // this.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134))); this.Appearance.Options.UseFont = true; this.ClientSize = new System.Drawing.Size(892, 626); this.Controls.Add(this.reportViewer1); this.MinimizeBox = false; this.Name = "frmReportServicePreview"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "frmReportServicePreview"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Shown += new System.EventHandler(this.frmReportServicePreview_Shown); this.Closing += new System.ComponentModel.CancelEventHandler(this.frmReportServicePreview_Closing); 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(FCarnes)); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(824, 610); this.reportViewer1.TabIndex = 0; // // FCarnes // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(824, 610); this.Controls.Add(this.reportViewer1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FCarnes"; this.Text = "Histórico de Carnês"; this.Load += new System.EventHandler(this.FCarnes_Load); this.ResumeLayout(false); }
private void Calibradoimpresion_Load(object sender, EventArgs e) { frm = new Reportes.Calibracion(); frm.Show(); RV = frm.reportViewer1; frm.reportViewer1.RenderingComplete += reportViewer1_RenderingComplete; if (System.IO.File.Exists(path)) { System.IO.StreamReader SR = new System.IO.StreamReader(path); txtMS.Text = separatevaluefromparameter(SR.ReadLine()).ToString(); txtMI.Text = separatevaluefromparameter(SR.ReadLine()).ToString(); SR.Close(); } else { System.IO.File.Create(path).Close(); System.IO.StreamWriter SW = System.IO.File.AppendText(path); SW.WriteLine("MarginTop:0,0"); SW.WriteLine("MarginLeft:0,0"); txtMI.Text = "0,0"; txtMS.Text = "0,0"; SW.Close(); } }
public static void SaveToExcel(Microsoft.Reporting.WinForms.ReportViewer reportviewer, string outputfilename) { string deviceinfo = null; string mimetype = null; string encoding = null; string filenamextension = null; string[] streams; Microsoft.Reporting.WinForms.Warning[] warnings; string format = "Excel"; var bytes = reportviewer.LocalReport.Render( format, deviceinfo, out mimetype, out encoding, out filenamextension, out streams, out warnings); using (var fs = new System.IO.FileStream(outputfilename, System.IO.FileMode.Create)) { fs.Write(bytes, 0, bytes.Length); fs.Close(); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(788, 379); this.reportViewer1.TabIndex = 0; // // InVe // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(788, 379); this.Controls.Add(this.reportViewer1); this.Name = "InVe"; this.Text = "InVe"; this.TopMost = true; this.Load += new System.EventHandler(this.InVe_Load); this.ResumeLayout(false); }
private void Calibradoimpresion_Load(object sender, EventArgs e) { frm = new Reportes.Calibracion(); frm.Show(); RV = frm.reportViewer1; frm.reportViewer1.RenderingComplete += reportViewer1_RenderingComplete; if (System.IO.File.Exists(path)) { System.IO.StreamReader SR = new System.IO.StreamReader(path); txtMS.Text = separatevaluefromparameter( SR.ReadLine()).ToString(); txtMI.Text = separatevaluefromparameter(SR.ReadLine()).ToString(); SR.Close(); } else { System.IO.File.Create(path).Close(); System.IO.StreamWriter SW = System.IO.File.AppendText(path); SW.WriteLine("MarginTop:0,0"); SW.WriteLine("MarginLeft:0,0"); txtMI.Text="0,0"; txtMS.Text = "0,0"; SW.Close(); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.RVGeneral = new Microsoft.Reporting.WinForms.ReportViewer(); this.SuspendLayout(); // // RVGeneral // this.RVGeneral.Dock = System.Windows.Forms.DockStyle.Fill; this.RVGeneral.Location = new System.Drawing.Point(0, 0); this.RVGeneral.Name = "RVGeneral"; this.RVGeneral.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote; this.RVGeneral.Size = new System.Drawing.Size(884, 562); this.RVGeneral.TabIndex = 0; // // RepGeneralFrm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(884, 562); this.Controls.Add(this.RVGeneral); this.Name = "RepGeneralFrm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Tag = ""; this.Text = "تقرير"; this.Load += new System.EventHandler(this.RepGeneralFrm_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.components = new System.ComponentModel.Container(); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.ShippersBindingSource = new System.Windows.Forms.BindingSource(this.components); this.AFIDBDataSet = new AFIPO.AFIDBDataSet(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.ShippersTableAdapter = new AFIPO.AFIDBDataSetTableAdapters.ShippersTableAdapter(); this.shippersListBindingSource = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.ShippersBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.AFIDBDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.shippersListBindingSource)).BeginInit(); this.SuspendLayout(); // // ShippersBindingSource // this.ShippersBindingSource.DataMember = "Shippers"; this.ShippersBindingSource.DataSource = this.AFIDBDataSet; // // AFIDBDataSet // this.AFIDBDataSet.DataSetName = "AFIDBDataSet"; this.AFIDBDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // reportViewer1 // reportDataSource1.Name = "AFIDBDataSet_Shippers"; reportDataSource1.Value = this.ShippersBindingSource; this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1); this.reportViewer1.LocalReport.ReportEmbeddedResource = "AFIPO.Shippers.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(1, -4); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(860, 753); this.reportViewer1.TabIndex = 0; this.reportViewer1.Load += new System.EventHandler(this.reportViewer1_Load_1); // // ShippersTableAdapter // this.ShippersTableAdapter.ClearBeforeFill = true; // // shippersListBindingSource // this.shippersListBindingSource.DataSource = typeof(AFIObjects.ShippersList); // // ShippersReportForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(861, 748); this.Controls.Add(this.reportViewer1); this.Name = "Form12"; this.Text = "Shippers Report"; this.Load += new System.EventHandler(this.Form2_Load); ((System.ComponentModel.ISupportInitialize)(this.ShippersBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.AFIDBDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.shippersListBindingSource)).EndInit(); this.ResumeLayout(false); }
public void LoadReportJournal(Microsoft.Reporting.WinForms.ReportViewer viewer, DateTime begin, DateTime end) { try { InitializeConnexion(); using (IDbCommand cmd = ImplementConnection.Instance.Conn.CreateCommand()) { cmd.CommandText = "sp_journal_operation"; cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add(Parametres.Instance.AjouterParametre(cmd, "@date_debut", 30, DbType.DateTime, begin)); cmd.Parameters.Add(Parametres.Instance.AjouterParametre(cmd, "@date_fin", 30, DbType.DateTime, end)); adapter = new SqlDataAdapter((SqlCommand)cmd); dataset = new DataSet(); adapter.Fill(dataset, "DataSetJournal"); viewer.LocalReport.DataSources.Clear(); viewer.LocalReport.DataSources.Add(new Microsoft.Reporting.WinForms.ReportDataSource("DataSetJournal", dataset.Tables[0])); viewer.LocalReport.ReportEmbeddedResource = "GestionComptabiliteHP.Reports.RptJournal.rdlc"; //viewer.RefreshReport(); } } catch (InvalidOperationException ex) { MessageBox.Show("Error when Selecting data, " + ex.Message, "Selecting data", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } catch (SqlException ex) { MessageBox.Show("Error when Selecting data, " + ex.Message, "Selecting data", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } catch (Exception ex) { MessageBox.Show("Error when Selecting data, " + ex.Message, "Selecting data", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } finally { if (ImplementConnection.Instance.Conn != null) { if (ImplementConnection.Instance.Conn.State == System.Data.ConnectionState.Open) { ImplementConnection.Instance.Conn.Close(); } } if (adapter != null) { adapter.Dispose(); } if (dataset != null) { dataset.Dispose(); } } }
public Form1() { InitializeComponent(); reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); reportViewer1.Dock = DockStyle.Fill; reportViewer1.LocalReport.ReportPath = "Report1.rdlc"; this.reportViewer1.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout); this.Controls.Add(reportViewer1); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.RelatoriosBindingSource = new System.Windows.Forms.BindingSource(this.components); this.BD_VIDEO_SYSTEM_ULTIMATEDataSet = new Video_System_Ultimate.BD_VIDEO_SYSTEM_ULTIMATEDataSet(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.RelatoriosTableAdapter = new Video_System_Ultimate.BD_VIDEO_SYSTEM_ULTIMATEDataSetTableAdapters.RelatoriosTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.RelatoriosBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BD_VIDEO_SYSTEM_ULTIMATEDataSet)).BeginInit(); this.SuspendLayout(); // // RelatoriosBindingSource // this.RelatoriosBindingSource.DataMember = "Relatorios"; this.RelatoriosBindingSource.DataSource = this.BD_VIDEO_SYSTEM_ULTIMATEDataSet; // // BD_VIDEO_SYSTEM_ULTIMATEDataSet // this.BD_VIDEO_SYSTEM_ULTIMATEDataSet.DataSetName = "BD_VIDEO_SYSTEM_ULTIMATEDataSet"; this.BD_VIDEO_SYSTEM_ULTIMATEDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // reportViewer1 // this.reportViewer1.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange; this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; reportDataSource1.Name = "RelHistFilme"; reportDataSource1.Value = this.RelatoriosBindingSource; this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1); this.reportViewer1.LocalReport.ReportEmbeddedResource = "Video_System_Ultimate.Report2.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(402, 325); this.reportViewer1.TabIndex = 0; // // RelatoriosTableAdapter // this.RelatoriosTableAdapter.ClearBeforeFill = true; // // RelHistFilme // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(402, 325); this.Controls.Add(this.reportViewer1); this.Name = "RelHistFilme"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Relatório de Histórico de Filmes"; this.TopMost = true; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.RelHistFilme_Load); ((System.ComponentModel.ISupportInitialize)(this.RelatoriosBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BD_VIDEO_SYSTEM_ULTIMATEDataSet)).EndInit(); 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.components = new System.ComponentModel.Container(); this.sistemaBDDataSet = new Reports.SistemaBDDataSet(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.vendaProduto1BindingSource = new System.Windows.Forms.BindingSource(this.components); this.vendaProduto1TableAdapter = new Reports.SistemaBDDataSetTableAdapters.VendaProduto1TableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.sistemaBDDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.vendaProduto1BindingSource)).BeginInit(); this.SuspendLayout(); // // sistemaBDDataSet // this.sistemaBDDataSet.DataSetName = "SistemaBDDataSet"; this.sistemaBDDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.LocalReport.ReportEmbeddedResource = "Reports.nota_venda.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.ShowBackButton = false; this.reportViewer1.ShowExportButton = false; this.reportViewer1.ShowFindControls = false; this.reportViewer1.ShowPageNavigationControls = false; this.reportViewer1.ShowRefreshButton = false; this.reportViewer1.ShowStopButton = false; this.reportViewer1.ShowZoomControl = false; this.reportViewer1.Size = new System.Drawing.Size(852, 566); this.reportViewer1.TabIndex = 0; // // vendaProduto1BindingSource // this.vendaProduto1BindingSource.DataMember = "VendaProduto1"; this.vendaProduto1BindingSource.DataSource = this.sistemaBDDataSet; // // vendaProduto1TableAdapter // this.vendaProduto1TableAdapter.ClearBeforeFill = true; // // nota_venda // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(852, 566); this.Controls.Add(this.reportViewer1); this.Name = "nota_venda"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Imprimir"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.sistemaBDDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.vendaProduto1BindingSource)).EndInit(); this.ResumeLayout(false); }
public void SetInit(Data.Transit transit, Microsoft.Reporting.WinForms.ReportViewer reportViewer, string title, bool IsShowDateFrom, bool IsShowDateTo) { dtpDateFrom.Visibility = IsShowDateFrom ? Visibility.Visible : System.Windows.Visibility.Collapsed; dtpDateTo.Visibility = IsShowDateTo ? Visibility.Visible : System.Windows.Visibility.Collapsed; gridContent.ColumnDefinitions[0].Width = IsShowDateFrom ? gridContent.ColumnDefinitions[0].Width : new GridLength(0); gridContent.ColumnDefinitions[1].Width = IsShowDateTo ? gridContent.ColumnDefinitions[0].Width : new GridLength(0); mReportViewer = reportViewer; Title = title; mTransit = transit; }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.msViewer = new Microsoft.Reporting.WinForms.ReportViewer(); this.MessageRecordBindingSource = new System.Windows.Forms.BindingSource(this.components); this.ViolationRecordBindingSource = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.MessageRecordBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ViolationRecordBindingSource)).BeginInit(); this.SuspendLayout(); // // msViewer // this.msViewer.Dock = System.Windows.Forms.DockStyle.Fill; this.msViewer.LocalReport.ReportEmbeddedResource = "Workshare.Reports.Viewer.MessageReport.rdlc"; this.msViewer.Location = new System.Drawing.Point(0, 0); this.msViewer.Name = "msViewer"; this.msViewer.ShowBackButton = false; this.msViewer.ShowContextMenu = false; this.msViewer.ShowCredentialPrompts = false; this.msViewer.ShowDocumentMapButton = false; this.msViewer.ShowParameterPrompts = false; this.msViewer.ShowPromptAreaButton = false; this.msViewer.ShowRefreshButton = false; this.msViewer.ShowStopButton = false; this.msViewer.Size = new System.Drawing.Size(744, 521); this.msViewer.TabIndex = 0; // // MessageRecordBindingSource // this.MessageRecordBindingSource.DataSource = typeof(Workshare.Reports.Viewer.MessageRecord); // // ViolationRecordBindingSource // this.ViolationRecordBindingSource.DataSource = typeof(Workshare.Reports.Viewer.ViolationRecord); // // ReportViewer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(744, 521); this.Controls.Add(this.msViewer); this.Name = "ReportViewer"; this.ShowIcon = false; this.ShowInTaskbar = false; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.Text = "ReportViewer"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnClosing); this.Load += new System.EventHandler(this.OnLoad); ((System.ComponentModel.ISupportInitialize)(this.MessageRecordBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ViolationRecordBindingSource)).EndInit(); 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.components = new System.ComponentModel.Container(); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.DO_ANDataSet = new lan.DO_ANDataSet(); this.nuocBindingSource = new System.Windows.Forms.BindingSource(this.components); this.nuocTableAdapter = new lan.DO_ANDataSetTableAdapters.nuocTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.DO_ANDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nuocBindingSource)).BeginInit(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; reportDataSource1.Name = "DataSet1"; reportDataSource1.Value = this.nuocBindingSource; this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1); this.reportViewer1.LocalReport.ReportEmbeddedResource = "lan.2.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(851, 387); this.reportViewer1.TabIndex = 0; // // DO_ANDataSet // this.DO_ANDataSet.DataSetName = "DO_ANDataSet"; this.DO_ANDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // nuocBindingSource // this.nuocBindingSource.DataMember = "nuoc"; this.nuocBindingSource.DataSource = this.DO_ANDataSet; // // nuocTableAdapter // this.nuocTableAdapter.ClearBeforeFill = true; // // bill_nuoc // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(851, 387); this.Controls.Add(this.reportViewer1); this.Name = "bill_nuoc"; this.Text = "bill_nuoc"; this.Load += new System.EventHandler(this.bill_nuoc_Load); ((System.ComponentModel.ISupportInitialize)(this.DO_ANDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nuocBindingSource)).EndInit(); 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.components = new System.ComponentModel.Container(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.zavrsniDataSet1 = new Zavrsni_rad.ZavrsniDataSet(); this.trkacTableAdapter1 = new Zavrsni_rad.ZavrsniDataSetTableAdapters.TrkacTableAdapter(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.zavrsniDataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.LocalReport.ReportEmbeddedResource = "Zavrsni_rad.Trkaci.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(0, 1); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.ServerReport.BearerToken = null; this.reportViewer1.Size = new System.Drawing.Size(835, 636); this.reportViewer1.TabIndex = 0; // // zavrsniDataSet1 // this.zavrsniDataSet1.DataSetName = "ZavrsniDataSet"; this.zavrsniDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // trkacTableAdapter1 // this.trkacTableAdapter1.ClearBeforeFill = true; // // bindingSource1 // this.bindingSource1.DataSource = this.zavrsniDataSet1; this.bindingSource1.Position = 0; // // ReportForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(834, 636); this.Controls.Add(this.reportViewer1); this.Name = "ReportForm"; this.ShowIcon = false; this.Text = "Izvješće"; this.Load += new System.EventHandler(this.ReportForm_Load); ((System.ComponentModel.ISupportInitialize)(this.zavrsniDataSet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "ReportViewer"; this.reportViewer1.Size = new System.Drawing.Size(396, 246); this.reportViewer1.TabIndex = 0; // // ThanhToanReport // this.ClientSize = new System.Drawing.Size(739, 337); this.Name = "ThanhToanReport"; 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(frmBatteryAssignReport)); this.btnCancel = new System.Windows.Forms.Button(); this.btnOK = new System.Windows.Forms.Button(); this.rsViewer = new Microsoft.Reporting.WinForms.ReportViewer(); this.SuspendLayout(); // // btnCancel // this.btnCancel.BackColor = System.Drawing.Color.WhiteSmoke; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.ForeColor = System.Drawing.Color.Navy; this.btnCancel.Location = new System.Drawing.Point(72, 256); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(64, 23); this.btnCancel.TabIndex = 153; this.btnCancel.Text = "&Cancel"; this.btnCancel.UseVisualStyleBackColor = false; // // btnOK // this.btnOK.BackColor = System.Drawing.Color.WhiteSmoke; this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Enabled = false; this.btnOK.ForeColor = System.Drawing.Color.Navy; this.btnOK.Location = new System.Drawing.Point(8, 256); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(64, 23); this.btnOK.TabIndex = 152; this.btnOK.Text = "O&K"; this.btnOK.UseVisualStyleBackColor = false; // // rsViewer // this.rsViewer.Dock = System.Windows.Forms.DockStyle.Fill; this.rsViewer.Location = new System.Drawing.Point(0, 0); this.rsViewer.Name = "rsViewer"; this.rsViewer.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote; this.rsViewer.ServerReport.DisplayName = "Battery Assignments"; this.rsViewer.ServerReport.ReportPath = "/Terminals/Mobile Devices Battery Assignments"; this.rsViewer.ServerReport.ReportServerUrl = new System.Uri("http://rgxsqlrpts05/reportserver", System.UriKind.Absolute); this.rsViewer.ServerReport.Timeout = 60000; this.rsViewer.Size = new System.Drawing.Size(472, 233); this.rsViewer.TabIndex = 0; // // frmBatteryAssignReport // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(472, 233); this.Controls.Add(this.rsViewer); 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.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmBatteryAssignReport"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Sample Report"; this.Load += new System.EventHandler(this.OnFormLoad); this.ResumeLayout(false); }
public static List <System.Drawing.Imaging.Metafile> RenderMetafilesForReport( SSRSCommon.ReportService2005.ReportingService2005 rep_svc, SSRSCommon.ReportExecutionService.ReportExecutionService rep_exec_svc, string reportpath, EMFRenderPrefs userprintprefs, int FirstNPages) { var exec_header = new SSRSCommon.ReportExecutionService.ExecutionHeader(); rep_exec_svc.ExecutionHeaderValue = exec_header; string historyid = null; Console.WriteLine("Loading Report"); var exec_info = rep_exec_svc.LoadReport(reportpath, historyid); //rs2.SetExecutionParameters(parameters, "en-us"); var session_id = rep_exec_svc.ExecutionHeaderValue.ExecutionID; Console.WriteLine("Session ID: {0}", rep_exec_svc.ExecutionHeaderValue.ExecutionID); var streams = new List <System.IO.Stream>(); var metafiles = new List <System.Drawing.Imaging.Metafile>(); string render_format = "IMAGE"; int cur_page_count = 0; try { // Create the Viewer and Bind it to the Server Report Console.WriteLine("Creating the ReportViewer Control"); var viewer = new Microsoft.Reporting.WinForms.ReportViewer(); viewer.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote; var server_report = viewer.ServerReport; Console.WriteLine("Server Report DisplayName: {0}", server_report.DisplayName); Console.WriteLine("Server Report ReportPath: {0}", server_report.ReportPath); Console.WriteLine("Server Report ReportServerUrl: {0}", server_report.ReportServerUrl); Console.WriteLine("Server Report Timeout: {0}", server_report.Timeout); viewer.ServerReport.ReportServerUrl = new Uri(get_correct_url(rep_svc.Url)); viewer.ServerReport.ReportPath = reportpath; Console.WriteLine("Report Viewer ProcessingMode: {0}", viewer.ProcessingMode); Console.WriteLine("Report Viewer ReportServerUrl: {0}", viewer.ServerReport.ReportServerUrl); Console.WriteLine("Report Viewer ReportPath: {0}", viewer.ServerReport.ReportPath); // Setup URL Parameters Console.WriteLine("Creating the URL Parameters"); var url_params = new System.Collections.Specialized.NameValueCollection(); url_params.Add("rs:PersistStreams", "True"); // Create DeviceInfo XML var devinfo = new SSRSCommon.DeviceInfo(); devinfo.OutputFormat = "EMF"; // force it to emf devinfo.Toolbar = false; devinfo.PrintDpiX = emf_render_dpi.Width; devinfo.PrintDpiY = emf_render_dpi.Height; // Finished with DeviceInfo XML string device_info = devinfo.ToString(); Console.WriteLine("DeviceInfo: {0}", device_info); // render first stream Console.WriteLine("Starting Rendering First Stream"); string rendered_mimetype; string rendered_extension; var rendered_stream = server_report.Render( render_format, device_info, url_params, out rendered_mimetype, out rendered_extension); Console.WriteLine("Finished Rendering First Stream"); streams.Add(rendered_stream); cur_page_count++; // Handle the addtional streams Console.WriteLine("Retrieving Additional Streams"); url_params.Remove("rs:PersistStreams"); url_params.Add("rs:GetNextStream", "True"); do { // Check to see if user only wanted the first N pages of the report if (FirstNPages > 0) { if (cur_page_count >= FirstNPages) { break; } } // ------------ Console.WriteLine("Starting Rendering Additional Stream"); rendered_stream = server_report.Render( render_format, device_info, url_params, out rendered_mimetype, out rendered_extension); if (rendered_stream.Length != 0) { Console.WriteLine("Storing stream"); streams.Add(rendered_stream); } else { Console.WriteLine("Received stream of length zero"); } Console.WriteLine("Finished Rendering Additional Stream"); cur_page_count++; } while (rendered_stream.Length > 0); Console.WriteLine("Finished Retrieving Additional Streams"); } catch (System.Web.Services.Protocols.SoapException err) { Console.WriteLine("Caught SoapException"); Console.WriteLine("Message: {0}", err.Message); throw err; } finally { // Convert each stream into a metafile foreach (var stream in streams) { try { Console.WriteLine("Stream type: {0}", stream.GetType()); Console.WriteLine("Converting to metafile"); var memstream = (System.IO.MemoryStream)stream; Console.WriteLine("memstream size: {0}", memstream.Length); var metafile = new System.Drawing.Imaging.Metafile(memstream); metafiles.Add(metafile); Console.WriteLine("metafile size: {0}", metafile.Size); } finally { // Get rid of the steams stream.Close(); stream.Dispose(); } } streams = null; } return(metafiles); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource4 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.DataTable1BindingSource = new System.Windows.Forms.BindingSource(this.components); this.DataSet1 = new Maya_KP.DataSet1(); this.TableBindingSource = new System.Windows.Forms.BindingSource(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.mtbMain = new MaterialSkin.Controls.MaterialTabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.lbl_pembuat_komitmen = new System.Windows.Forms.Label(); this.mlvSpd = new MaterialSkin.Controls.MaterialListView(); this.columnHeader9 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader10 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.panel3 = new System.Windows.Forms.Panel(); this.flowLayoutPanel3 = new System.Windows.Forms.FlowLayoutPanel(); this.txtSearchSpd = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.flowLayoutPanel4 = new System.Windows.Forms.FlowLayoutPanel(); this.btnAddSpd = new MaterialSkin.Controls.MaterialRaisedButton(); this.btnRefSpd = new MaterialSkin.Controls.MaterialRaisedButton(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.mlvPegawai = new MaterialSkin.Controls.MaterialListView(); this.pNo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.pId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.pNama = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.pNip = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.pBidang = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.pSeksi = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.pJabatan = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.pPangkat = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.panel2 = new System.Windows.Forms.Panel(); this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); this.txtCariPegawai = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.btnInputPegawai = new MaterialSkin.Controls.MaterialRaisedButton(); this.btnRef = new MaterialSkin.Controls.MaterialRaisedButton(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.lblnips = new System.Windows.Forms.Label(); this.lblkomitmen = new System.Windows.Forms.Label(); this.materialLabel1 = new MaterialSkin.Controls.MaterialLabel(); this.tbnomor = new System.Windows.Forms.TextBox(); this.nm3 = new System.Windows.Forms.Label(); this.tgl3 = new System.Windows.Forms.Label(); this.ket3 = new System.Windows.Forms.Label(); this.nm2 = new System.Windows.Forms.Label(); this.tgl2 = new System.Windows.Forms.Label(); this.ket2 = new System.Windows.Forms.Label(); this.ket1 = new System.Windows.Forms.Label(); this.tgl1 = new System.Windows.Forms.Label(); this.nm1 = new System.Windows.Forms.Label(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.materialRaisedButton1 = new MaterialSkin.Controls.MaterialRaisedButton(); this.Pengeluaran_ = new MaterialSkin.Controls.MaterialListView(); this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader12 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader13 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader14 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader15 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader16 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader17 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader18 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader19 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader20 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.materialTabSelector1 = new MaterialSkin.Controls.MaterialTabSelector(); this.DataTable1TableAdapter = new Maya_KP.DataSet1TableAdapters.DataTable1TableAdapter(); this.dataSet11 = new Maya_KP.DataSet1(); this.dataSet12 = new Maya_KP.DataSet1(); this.lblnip_komitmen = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.DataTable1BindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TableBindingSource)).BeginInit(); this.panel1.SuspendLayout(); this.mtbMain.SuspendLayout(); this.tabPage1.SuspendLayout(); this.panel3.SuspendLayout(); this.flowLayoutPanel3.SuspendLayout(); this.flowLayoutPanel4.SuspendLayout(); this.tabPage2.SuspendLayout(); this.panel2.SuspendLayout(); this.flowLayoutPanel2.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.tabPage3.SuspendLayout(); this.tabPage4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet12)).BeginInit(); this.SuspendLayout(); // // DataTable1BindingSource // this.DataTable1BindingSource.DataMember = "DataTable1"; this.DataTable1BindingSource.DataSource = this.DataSet1; // // DataSet1 // this.DataSet1.DataSetName = "DataSet1"; this.DataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // TableBindingSource // this.TableBindingSource.DataMember = "Table"; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Window; this.panel1.Controls.Add(this.mtbMain); this.panel1.Controls.Add(this.materialTabSelector1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1110, 547); this.panel1.TabIndex = 0; // // mtbMain // this.mtbMain.Controls.Add(this.tabPage1); this.mtbMain.Controls.Add(this.tabPage2); this.mtbMain.Controls.Add(this.tabPage3); this.mtbMain.Controls.Add(this.tabPage4); this.mtbMain.Depth = 0; this.mtbMain.Dock = System.Windows.Forms.DockStyle.Fill; this.mtbMain.Location = new System.Drawing.Point(0, 45); this.mtbMain.MouseState = MaterialSkin.MouseState.HOVER; this.mtbMain.Name = "mtbMain"; this.mtbMain.SelectedIndex = 0; this.mtbMain.Size = new System.Drawing.Size(1110, 502); this.mtbMain.TabIndex = 1; this.mtbMain.SelectedIndexChanged += new System.EventHandler(this.mtbMain_SelectedIndexChanged); // // tabPage1 // this.tabPage1.Controls.Add(this.lblnip_komitmen); this.tabPage1.Controls.Add(this.lbl_pembuat_komitmen); this.tabPage1.Controls.Add(this.mlvSpd); this.tabPage1.Controls.Add(this.panel3); this.tabPage1.Location = new System.Drawing.Point(4, 31); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(1102, 467); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "DATA SPD"; this.tabPage1.UseVisualStyleBackColor = true; // // lbl_pembuat_komitmen // this.lbl_pembuat_komitmen.AutoSize = true; this.lbl_pembuat_komitmen.Location = new System.Drawing.Point(924, 212); this.lbl_pembuat_komitmen.Name = "lbl_pembuat_komitmen"; this.lbl_pembuat_komitmen.Size = new System.Drawing.Size(92, 24); this.lbl_pembuat_komitmen.TabIndex = 9; this.lbl_pembuat_komitmen.Text = "komitmen"; // // mlvSpd // this.mlvSpd.BackgroundImageTiled = true; this.mlvSpd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.mlvSpd.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader9, this.columnHeader10, this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5, this.columnHeader6, this.columnHeader7}); this.mlvSpd.Depth = 0; this.mlvSpd.Dock = System.Windows.Forms.DockStyle.Fill; this.mlvSpd.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F); this.mlvSpd.FullRowSelect = true; this.mlvSpd.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.mlvSpd.HideSelection = false; this.mlvSpd.Location = new System.Drawing.Point(3, 71); this.mlvSpd.MouseLocation = new System.Drawing.Point(-1, -1); this.mlvSpd.MouseState = MaterialSkin.MouseState.OUT; this.mlvSpd.Name = "mlvSpd"; this.mlvSpd.OwnerDraw = true; this.mlvSpd.Size = new System.Drawing.Size(1096, 393); this.mlvSpd.TabIndex = 8; this.mlvSpd.UseCompatibleStateImageBehavior = false; this.mlvSpd.View = System.Windows.Forms.View.Details; this.mlvSpd.DoubleClick += new System.EventHandler(this.mlvSpd_DoubleClick); // // columnHeader9 // this.columnHeader9.Text = "No"; // // columnHeader10 // this.columnHeader10.Text = "Id"; this.columnHeader10.Width = 0; // // columnHeader1 // this.columnHeader1.Text = "Kode"; this.columnHeader1.Width = 100; // // columnHeader2 // this.columnHeader2.Text = "Nama Pegawai"; this.columnHeader2.Width = 230; // // columnHeader3 // this.columnHeader3.Text = "Nip"; this.columnHeader3.Width = 170; // // columnHeader4 // this.columnHeader4.Text = "Tempat Tujuan"; this.columnHeader4.Width = 210; // // columnHeader5 // this.columnHeader5.Text = "Nama Pejabat"; this.columnHeader5.Width = 230; // // columnHeader6 // this.columnHeader6.Text = "Jabatan"; this.columnHeader6.Width = 200; // // columnHeader7 // this.columnHeader7.Text = "Tanggal Berangkat"; this.columnHeader7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.columnHeader7.Width = 160; // // panel3 // this.panel3.AutoSize = true; this.panel3.Controls.Add(this.flowLayoutPanel3); this.panel3.Controls.Add(this.flowLayoutPanel4); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(3, 3); this.panel3.Margin = new System.Windows.Forms.Padding(0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1096, 68); this.panel3.TabIndex = 7; // // flowLayoutPanel3 // this.flowLayoutPanel3.Controls.Add(this.txtSearchSpd); this.flowLayoutPanel3.Controls.Add(this.label2); this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Right; this.flowLayoutPanel3.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.flowLayoutPanel3.Location = new System.Drawing.Point(518, 0); this.flowLayoutPanel3.Name = "flowLayoutPanel3"; this.flowLayoutPanel3.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); this.flowLayoutPanel3.Size = new System.Drawing.Size(578, 68); this.flowLayoutPanel3.TabIndex = 6; // // txtSearchSpd // this.txtSearchSpd.Location = new System.Drawing.Point(328, 23); this.txtSearchSpd.Name = "txtSearchSpd"; this.txtSearchSpd.Size = new System.Drawing.Size(227, 28); this.txtSearchSpd.TabIndex = 1; this.txtSearchSpd.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSearchSpd_KeyUp); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(46, 26); this.label2.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(275, 24); this.label2.TabIndex = 0; this.label2.Text = "Cari Nama/Nip/Tempat Tujuan: "; // // flowLayoutPanel4 // this.flowLayoutPanel4.AutoSize = true; this.flowLayoutPanel4.Controls.Add(this.btnAddSpd); this.flowLayoutPanel4.Controls.Add(this.btnRefSpd); this.flowLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel4.Location = new System.Drawing.Point(0, 0); this.flowLayoutPanel4.Margin = new System.Windows.Forms.Padding(0, 3, 90, 3); this.flowLayoutPanel4.Name = "flowLayoutPanel4"; this.flowLayoutPanel4.Padding = new System.Windows.Forms.Padding(10); this.flowLayoutPanel4.Size = new System.Drawing.Size(1096, 68); this.flowLayoutPanel4.TabIndex = 5; // // btnAddSpd // this.btnAddSpd.AutoSize = true; this.btnAddSpd.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.btnAddSpd.Depth = 0; this.btnAddSpd.Icon = global::Maya_KP.Properties.Resources.baseline_add_circle_white_18dp; this.btnAddSpd.Location = new System.Drawing.Point(14, 16); this.btnAddSpd.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.btnAddSpd.MouseState = MaterialSkin.MouseState.HOVER; this.btnAddSpd.Name = "btnAddSpd"; this.btnAddSpd.Primary = true; this.btnAddSpd.Size = new System.Drawing.Size(121, 36); this.btnAddSpd.TabIndex = 4; this.btnAddSpd.Text = "TAMBAH"; this.btnAddSpd.UseVisualStyleBackColor = true; this.btnAddSpd.Click += new System.EventHandler(this.btnAddSpd_Click); // // btnRefSpd // this.btnRefSpd.AutoSize = true; this.btnRefSpd.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.btnRefSpd.Depth = 0; this.btnRefSpd.Icon = global::Maya_KP.Properties.Resources.baseline_autorenew_white_18dp; this.btnRefSpd.Location = new System.Drawing.Point(143, 16); this.btnRefSpd.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.btnRefSpd.MouseState = MaterialSkin.MouseState.HOVER; this.btnRefSpd.Name = "btnRefSpd"; this.btnRefSpd.Primary = true; this.btnRefSpd.Size = new System.Drawing.Size(44, 36); this.btnRefSpd.TabIndex = 3; this.btnRefSpd.UseVisualStyleBackColor = true; this.btnRefSpd.Click += new System.EventHandler(this.btnRefSpd_Click); // // tabPage2 // this.tabPage2.Controls.Add(this.mlvPegawai); this.tabPage2.Controls.Add(this.panel2); this.tabPage2.Location = new System.Drawing.Point(4, 31); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(1102, 467); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "DATA PEGAWAI"; this.tabPage2.UseVisualStyleBackColor = true; // // mlvPegawai // this.mlvPegawai.BackgroundImageTiled = true; this.mlvPegawai.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.mlvPegawai.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.pNo, this.pId, this.pNama, this.pNip, this.pBidang, this.pSeksi, this.pJabatan, this.pPangkat}); this.mlvPegawai.Depth = 0; this.mlvPegawai.Dock = System.Windows.Forms.DockStyle.Fill; this.mlvPegawai.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F); this.mlvPegawai.FullRowSelect = true; this.mlvPegawai.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.mlvPegawai.HideSelection = false; this.mlvPegawai.Location = new System.Drawing.Point(3, 71); this.mlvPegawai.MouseLocation = new System.Drawing.Point(-1, -1); this.mlvPegawai.MouseState = MaterialSkin.MouseState.OUT; this.mlvPegawai.Name = "mlvPegawai"; this.mlvPegawai.OwnerDraw = true; this.mlvPegawai.Size = new System.Drawing.Size(1096, 393); this.mlvPegawai.TabIndex = 7; this.mlvPegawai.UseCompatibleStateImageBehavior = false; this.mlvPegawai.View = System.Windows.Forms.View.Details; this.mlvPegawai.DoubleClick += new System.EventHandler(this.mlvPegawai_DoubleClick); // // pNo // this.pNo.Text = "No"; // // pId // this.pId.Text = "Id"; this.pId.Width = 0; // // pNama // this.pNama.Text = "Nama"; this.pNama.Width = 270; // // pNip // this.pNip.Text = "NIP"; this.pNip.Width = 210; // // pBidang // this.pBidang.Text = "Bidang"; this.pBidang.Width = 170; // // pSeksi // this.pSeksi.Text = "pSeksi"; this.pSeksi.Width = 260; // // pJabatan // this.pJabatan.Text = "Jabatan"; this.pJabatan.Width = 150; // // pPangkat // this.pPangkat.Text = "Pangkat"; this.pPangkat.Width = 200; // // panel2 // this.panel2.AutoSize = true; this.panel2.Controls.Add(this.flowLayoutPanel2); this.panel2.Controls.Add(this.flowLayoutPanel1); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(3, 3); this.panel2.Margin = new System.Windows.Forms.Padding(0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1096, 68); this.panel2.TabIndex = 6; // // flowLayoutPanel2 // this.flowLayoutPanel2.Controls.Add(this.txtCariPegawai); this.flowLayoutPanel2.Controls.Add(this.label1); this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Right; this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.flowLayoutPanel2.Location = new System.Drawing.Point(518, 0); this.flowLayoutPanel2.Name = "flowLayoutPanel2"; this.flowLayoutPanel2.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); this.flowLayoutPanel2.Size = new System.Drawing.Size(578, 68); this.flowLayoutPanel2.TabIndex = 6; // // txtCariPegawai // this.txtCariPegawai.Location = new System.Drawing.Point(328, 23); this.txtCariPegawai.Name = "txtCariPegawai"; this.txtCariPegawai.Size = new System.Drawing.Size(227, 28); this.txtCariPegawai.TabIndex = 1; this.txtCariPegawai.TextChanged += new System.EventHandler(this.txtCariPegawai_TextChanged); this.txtCariPegawai.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyUp); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(169, 26); this.label1.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(152, 24); this.label1.TabIndex = 0; this.label1.Text = "Cari Nama / Nip: "; // // flowLayoutPanel1 // this.flowLayoutPanel1.AutoSize = true; this.flowLayoutPanel1.Controls.Add(this.btnInputPegawai); this.flowLayoutPanel1.Controls.Add(this.btnRef); this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(0, 3, 90, 3); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Padding = new System.Windows.Forms.Padding(10); this.flowLayoutPanel1.Size = new System.Drawing.Size(1096, 68); this.flowLayoutPanel1.TabIndex = 5; // // btnInputPegawai // this.btnInputPegawai.AutoSize = true; this.btnInputPegawai.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.btnInputPegawai.Depth = 0; this.btnInputPegawai.Icon = global::Maya_KP.Properties.Resources.baseline_add_circle_white_18dp; this.btnInputPegawai.Location = new System.Drawing.Point(14, 16); this.btnInputPegawai.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.btnInputPegawai.MouseState = MaterialSkin.MouseState.HOVER; this.btnInputPegawai.Name = "btnInputPegawai"; this.btnInputPegawai.Primary = true; this.btnInputPegawai.Size = new System.Drawing.Size(121, 36); this.btnInputPegawai.TabIndex = 4; this.btnInputPegawai.Text = "TAMBAH"; this.btnInputPegawai.UseVisualStyleBackColor = true; this.btnInputPegawai.Click += new System.EventHandler(this.btnInputPegawai_Click); // // btnRef // this.btnRef.AutoSize = true; this.btnRef.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.btnRef.Depth = 0; this.btnRef.Icon = global::Maya_KP.Properties.Resources.baseline_autorenew_white_18dp; this.btnRef.Location = new System.Drawing.Point(143, 16); this.btnRef.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.btnRef.MouseState = MaterialSkin.MouseState.HOVER; this.btnRef.Name = "btnRef"; this.btnRef.Primary = true; this.btnRef.Size = new System.Drawing.Size(44, 36); this.btnRef.TabIndex = 3; this.btnRef.UseVisualStyleBackColor = true; this.btnRef.Click += new System.EventHandler(this.btnRef_Click); // // tabPage3 // this.tabPage3.Controls.Add(this.lblnips); this.tabPage3.Controls.Add(this.lblkomitmen); this.tabPage3.Controls.Add(this.materialLabel1); this.tabPage3.Controls.Add(this.tbnomor); this.tabPage3.Controls.Add(this.nm3); this.tabPage3.Controls.Add(this.tgl3); this.tabPage3.Controls.Add(this.ket3); this.tabPage3.Controls.Add(this.nm2); this.tabPage3.Controls.Add(this.tgl2); this.tabPage3.Controls.Add(this.ket2); this.tabPage3.Controls.Add(this.ket1); this.tabPage3.Controls.Add(this.tgl1); this.tabPage3.Controls.Add(this.nm1); this.tabPage3.Controls.Add(this.reportViewer1); this.tabPage3.Location = new System.Drawing.Point(4, 31); this.tabPage3.Name = "tabPage3"; this.tabPage3.Padding = new System.Windows.Forms.Padding(3); this.tabPage3.Size = new System.Drawing.Size(1102, 467); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "LAPORAN SPD"; this.tabPage3.UseVisualStyleBackColor = true; // // lblnips // this.lblnips.AutoSize = true; this.lblnips.Location = new System.Drawing.Point(987, 275); this.lblnips.Name = "lblnips"; this.lblnips.Size = new System.Drawing.Size(60, 24); this.lblnips.TabIndex = 32; this.lblnips.Text = "label4"; // // lblkomitmen // this.lblkomitmen.AutoSize = true; this.lblkomitmen.Location = new System.Drawing.Point(987, 251); this.lblkomitmen.Name = "lblkomitmen"; this.lblkomitmen.Size = new System.Drawing.Size(60, 24); this.lblkomitmen.TabIndex = 31; this.lblkomitmen.Text = "label3"; // // materialLabel1 // this.materialLabel1.AutoSize = true; this.materialLabel1.Depth = 0; this.materialLabel1.Font = new System.Drawing.Font("Roboto", 11F); this.materialLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.materialLabel1.Location = new System.Drawing.Point(686, 51); this.materialLabel1.MouseState = MaterialSkin.MouseState.HOVER; this.materialLabel1.Name = "materialLabel1"; this.materialLabel1.Size = new System.Drawing.Size(88, 24); this.materialLabel1.TabIndex = 30; this.materialLabel1.Text = "No. Surat"; // // tbnomor // this.tbnomor.Enabled = false; this.tbnomor.Location = new System.Drawing.Point(780, 48); this.tbnomor.Name = "tbnomor"; this.tbnomor.Size = new System.Drawing.Size(173, 28); this.tbnomor.TabIndex = 29; // // nm3 // this.nm3.AutoSize = true; this.nm3.Location = new System.Drawing.Point(686, 213); this.nm3.Name = "nm3"; this.nm3.Size = new System.Drawing.Size(16, 24); this.nm3.TabIndex = 28; this.nm3.Text = "-"; // // tgl3 // this.tgl3.AutoSize = true; this.tgl3.Location = new System.Drawing.Point(893, 213); this.tgl3.Name = "tgl3"; this.tgl3.Size = new System.Drawing.Size(16, 24); this.tgl3.TabIndex = 27; this.tgl3.Text = "-"; // // ket3 // this.ket3.AutoSize = true; this.ket3.Location = new System.Drawing.Point(1013, 213); this.ket3.Name = "ket3"; this.ket3.Size = new System.Drawing.Size(16, 24); this.ket3.TabIndex = 26; this.ket3.Text = "-"; // // nm2 // this.nm2.AutoSize = true; this.nm2.Location = new System.Drawing.Point(686, 179); this.nm2.Name = "nm2"; this.nm2.Size = new System.Drawing.Size(16, 24); this.nm2.TabIndex = 25; this.nm2.Text = "-"; // // tgl2 // this.tgl2.AutoSize = true; this.tgl2.Location = new System.Drawing.Point(893, 179); this.tgl2.Name = "tgl2"; this.tgl2.Size = new System.Drawing.Size(16, 24); this.tgl2.TabIndex = 24; this.tgl2.Text = "-"; // // ket2 // this.ket2.AutoSize = true; this.ket2.Location = new System.Drawing.Point(1013, 179); this.ket2.Name = "ket2"; this.ket2.Size = new System.Drawing.Size(16, 24); this.ket2.TabIndex = 23; this.ket2.Text = "-"; // // ket1 // this.ket1.AutoSize = true; this.ket1.Location = new System.Drawing.Point(1013, 138); this.ket1.Name = "ket1"; this.ket1.Size = new System.Drawing.Size(16, 24); this.ket1.TabIndex = 22; this.ket1.Text = "-"; // // tgl1 // this.tgl1.AutoSize = true; this.tgl1.Location = new System.Drawing.Point(893, 138); this.tgl1.Name = "tgl1"; this.tgl1.Size = new System.Drawing.Size(16, 24); this.tgl1.TabIndex = 21; this.tgl1.Text = "-"; // // nm1 // this.nm1.AutoSize = true; this.nm1.Location = new System.Drawing.Point(686, 138); this.nm1.Name = "nm1"; this.nm1.Size = new System.Drawing.Size(16, 24); this.nm1.TabIndex = 20; this.nm1.Text = "-"; // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; reportDataSource4.Name = "DataSet1"; reportDataSource4.Value = this.DataTable1BindingSource; this.reportViewer1.LocalReport.DataSources.Add(reportDataSource4); this.reportViewer1.LocalReport.ReportEmbeddedResource = "Maya_KP.Report2.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(3, 3); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.ServerReport.BearerToken = null; this.reportViewer1.Size = new System.Drawing.Size(1096, 461); this.reportViewer1.TabIndex = 17; // // tabPage4 // this.tabPage4.Controls.Add(this.materialRaisedButton1); this.tabPage4.Controls.Add(this.Pengeluaran_); this.tabPage4.Location = new System.Drawing.Point(4, 31); this.tabPage4.Name = "tabPage4"; this.tabPage4.Padding = new System.Windows.Forms.Padding(3); this.tabPage4.Size = new System.Drawing.Size(1102, 467); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "PENGELUARAN"; this.tabPage4.UseVisualStyleBackColor = true; // // materialRaisedButton1 // this.materialRaisedButton1.AutoSize = true; this.materialRaisedButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.materialRaisedButton1.Depth = 0; this.materialRaisedButton1.Icon = global::Maya_KP.Properties.Resources.print; this.materialRaisedButton1.Location = new System.Drawing.Point(7, 13); this.materialRaisedButton1.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.materialRaisedButton1.MouseState = MaterialSkin.MouseState.HOVER; this.materialRaisedButton1.Name = "materialRaisedButton1"; this.materialRaisedButton1.Primary = true; this.materialRaisedButton1.Size = new System.Drawing.Size(300, 36); this.materialRaisedButton1.TabIndex = 5; this.materialRaisedButton1.Text = "Cetak Rincian Pengeluaran"; this.materialRaisedButton1.UseVisualStyleBackColor = true; this.materialRaisedButton1.Click += new System.EventHandler(this.MaterialRaisedButton1_Click_2); // // Pengeluaran_ // this.Pengeluaran_.BackgroundImageTiled = true; this.Pengeluaran_.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.Pengeluaran_.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader8, this.columnHeader12, this.columnHeader13, this.columnHeader14, this.columnHeader15, this.columnHeader16, this.columnHeader17, this.columnHeader18, this.columnHeader19, this.columnHeader20}); this.Pengeluaran_.Depth = 0; this.Pengeluaran_.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F); this.Pengeluaran_.FullRowSelect = true; this.Pengeluaran_.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.Pengeluaran_.HideSelection = false; this.Pengeluaran_.Location = new System.Drawing.Point(7, 58); this.Pengeluaran_.MouseLocation = new System.Drawing.Point(-1, -1); this.Pengeluaran_.MouseState = MaterialSkin.MouseState.OUT; this.Pengeluaran_.Name = "Pengeluaran_"; this.Pengeluaran_.OwnerDraw = true; this.Pengeluaran_.Size = new System.Drawing.Size(1524, 697); this.Pengeluaran_.TabIndex = 8; this.Pengeluaran_.UseCompatibleStateImageBehavior = false; this.Pengeluaran_.View = System.Windows.Forms.View.Details; // // columnHeader8 // this.columnHeader8.Text = "No"; // // columnHeader12 // this.columnHeader12.Text = "Nama"; this.columnHeader12.Width = 270; // // columnHeader13 // this.columnHeader13.Text = "Uang Harian"; this.columnHeader13.Width = 210; // // columnHeader14 // this.columnHeader14.Text = "Penginapan"; this.columnHeader14.Width = 170; // // columnHeader15 // this.columnHeader15.Text = "Transport PP"; this.columnHeader15.Width = 260; // // columnHeader16 // this.columnHeader16.Text = "Transport Lokal"; this.columnHeader16.Width = 150; // // columnHeader17 // this.columnHeader17.Text = "Damri"; this.columnHeader17.Width = 200; // // columnHeader18 // this.columnHeader18.Text = "Lain Lain"; this.columnHeader18.Width = 200; // // columnHeader19 // this.columnHeader19.Text = "Tgl_Kwitansi"; this.columnHeader19.Width = 200; // // columnHeader20 // this.columnHeader20.Text = "Tgl_Lunas"; this.columnHeader20.Width = 200; // // materialTabSelector1 // this.materialTabSelector1.BaseTabControl = this.mtbMain; this.materialTabSelector1.Depth = 0; this.materialTabSelector1.Dock = System.Windows.Forms.DockStyle.Top; this.materialTabSelector1.Location = new System.Drawing.Point(0, 0); this.materialTabSelector1.MouseState = MaterialSkin.MouseState.HOVER; this.materialTabSelector1.Name = "materialTabSelector1"; this.materialTabSelector1.Size = new System.Drawing.Size(1110, 45); this.materialTabSelector1.TabIndex = 0; this.materialTabSelector1.Text = "materialTabSelector1"; // // DataTable1TableAdapter // this.DataTable1TableAdapter.ClearBeforeFill = true; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dataSet12 // this.dataSet12.DataSetName = "DataSet1"; this.dataSet12.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // lblnip_komitmen // this.lblnip_komitmen.AutoSize = true; this.lblnip_komitmen.Location = new System.Drawing.Point(924, 236); this.lblnip_komitmen.Name = "lblnip_komitmen"; this.lblnip_komitmen.Size = new System.Drawing.Size(36, 24); this.lblnip_komitmen.TabIndex = 10; this.lblnip_komitmen.Text = "nip"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.ClientSize = new System.Drawing.Size(1110, 610); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(4); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(0, 63, 0, 0); this.Text = "Surat Perjalanan Dinas"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.DataTable1BindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DataSet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TableBindingSource)).EndInit(); this.panel1.ResumeLayout(false); this.mtbMain.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.flowLayoutPanel3.ResumeLayout(false); this.flowLayoutPanel3.PerformLayout(); this.flowLayoutPanel4.ResumeLayout(false); this.flowLayoutPanel4.PerformLayout(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.flowLayoutPanel2.ResumeLayout(false); this.flowLayoutPanel2.PerformLayout(); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.tabPage3.ResumeLayout(false); this.tabPage3.PerformLayout(); this.tabPage4.ResumeLayout(false); this.tabPage4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet12)).EndInit(); 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.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormWastage)); this.panel1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.textBoxReleased = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.buttonReset = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); this.buttonReport = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.textBoxNRW = new System.Windows.Forms.TextBox(); this.textBoxUsage = new System.Windows.Forms.TextBox(); this.panel2 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.buttonGo = new System.Windows.Forms.Button(); this.comboBoxMonths = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.YearPicker1 = new System.Windows.Forms.DateTimePicker(); this.label3 = new System.Windows.Forms.Label(); this.radioButtonMonth = new System.Windows.Forms.RadioButton(); this.radioButtonYear = new System.Windows.Forms.RadioButton(); this.buttonClose = new System.Windows.Forms.Button(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.Controls.Add(this.panel3); this.panel1.Controls.Add(this.panel2); this.panel1.Location = new System.Drawing.Point(12, 147); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(760, 403); this.panel1.TabIndex = 0; // // panel3 // this.panel3.Controls.Add(this.textBoxReleased); this.panel3.Controls.Add(this.label4); this.panel3.Controls.Add(this.buttonReset); this.panel3.Controls.Add(this.label5); this.panel3.Controls.Add(this.buttonReport); this.panel3.Controls.Add(this.label6); this.panel3.Controls.Add(this.textBoxNRW); this.panel3.Controls.Add(this.textBoxUsage); this.panel3.Location = new System.Drawing.Point(37, 219); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(698, 176); this.panel3.TabIndex = 18; // // textBoxReleased // this.textBoxReleased.Location = new System.Drawing.Point(358, 47); this.textBoxReleased.Name = "textBoxReleased"; this.textBoxReleased.ReadOnly = true; this.textBoxReleased.Size = new System.Drawing.Size(150, 20); this.textBoxReleased.TabIndex = 12; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(38, 19); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(260, 15); this.label4.TabIndex = 6; this.label4.Text = "Usage Amount for the selected duration"; // // buttonReset // this.buttonReset.Location = new System.Drawing.Point(41, 139); this.buttonReset.Name = "buttonReset"; this.buttonReset.Size = new System.Drawing.Size(75, 23); this.buttonReset.TabIndex = 15; this.buttonReset.Text = "Reset"; this.buttonReset.UseVisualStyleBackColor = true; this.buttonReset.Click += new System.EventHandler(this.buttonReset_Click); // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(38, 47); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(205, 15); this.label5.TabIndex = 9; this.label5.Text = "Released units for the duration"; // // buttonReport // this.buttonReport.Location = new System.Drawing.Point(508, 139); this.buttonReport.Name = "buttonReport"; this.buttonReport.Size = new System.Drawing.Size(121, 28); this.buttonReport.TabIndex = 14; this.buttonReport.Text = "Detailed Report"; this.buttonReport.UseVisualStyleBackColor = true; this.buttonReport.Click += new System.EventHandler(this.buttonReport_Click); // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(38, 74); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(287, 15); this.label6.TabIndex = 10; this.label6.Text = "Non Revenue Water in units for the duration"; // // textBoxNRW // this.textBoxNRW.Location = new System.Drawing.Point(358, 74); this.textBoxNRW.Name = "textBoxNRW"; this.textBoxNRW.ReadOnly = true; this.textBoxNRW.Size = new System.Drawing.Size(150, 20); this.textBoxNRW.TabIndex = 13; // // textBoxUsage // this.textBoxUsage.Location = new System.Drawing.Point(358, 19); this.textBoxUsage.Name = "textBoxUsage"; this.textBoxUsage.ReadOnly = true; this.textBoxUsage.Size = new System.Drawing.Size(150, 20); this.textBoxUsage.TabIndex = 11; // // panel2 // this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.buttonGo); this.panel2.Controls.Add(this.comboBoxMonths); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.YearPicker1); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.radioButtonMonth); this.panel2.Controls.Add(this.radioButtonYear); this.panel2.Location = new System.Drawing.Point(43, 20); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(685, 199); this.panel2.TabIndex = 17; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Meiryo", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(32, 23); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(550, 24); this.label1.TabIndex = 2; this.label1.Text = "Please Pick a Month or a Year for Calculate Non-Revenue-Water"; // // buttonGo // this.buttonGo.Location = new System.Drawing.Point(503, 167); this.buttonGo.Name = "buttonGo"; this.buttonGo.Size = new System.Drawing.Size(121, 26); this.buttonGo.TabIndex = 16; this.buttonGo.Text = "Go"; this.buttonGo.UseVisualStyleBackColor = true; this.buttonGo.Click += new System.EventHandler(this.buttonGo_Click); // // comboBoxMonths // this.comboBoxMonths.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxMonths.FormattingEnabled = true; this.comboBoxMonths.Items.AddRange(new object[] { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}); this.comboBoxMonths.Location = new System.Drawing.Point(503, 90); this.comboBoxMonths.Name = "comboBoxMonths"; this.comboBoxMonths.Size = new System.Drawing.Size(121, 21); this.comboBoxMonths.TabIndex = 0; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Meiryo UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(407, 93); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(51, 18); this.label2.TabIndex = 3; this.label2.Text = "Month"; // // YearPicker1 // this.YearPicker1.CustomFormat = "yyyy"; this.YearPicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.YearPicker1.Location = new System.Drawing.Point(503, 122); this.YearPicker1.Name = "YearPicker1"; this.YearPicker1.ShowUpDown = true; this.YearPicker1.Size = new System.Drawing.Size(121, 20); this.YearPicker1.TabIndex = 4; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Meiryo UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(407, 122); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(38, 18); this.label3.TabIndex = 5; this.label3.Text = "Year"; // // radioButtonMonth // this.radioButtonMonth.AutoSize = true; this.radioButtonMonth.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radioButtonMonth.Location = new System.Drawing.Point(36, 92); this.radioButtonMonth.Name = "radioButtonMonth"; this.radioButtonMonth.Size = new System.Drawing.Size(204, 21); this.radioButtonMonth.TabIndex = 7; this.radioButtonMonth.TabStop = true; this.radioButtonMonth.Text = "Check Summary for a month"; this.radioButtonMonth.UseVisualStyleBackColor = true; this.radioButtonMonth.CheckedChanged += new System.EventHandler(this.radioButtonMonth_CheckedChanged); // // radioButtonYear // this.radioButtonYear.AutoSize = true; this.radioButtonYear.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radioButtonYear.Location = new System.Drawing.Point(36, 119); this.radioButtonYear.Name = "radioButtonYear"; this.radioButtonYear.Size = new System.Drawing.Size(193, 21); this.radioButtonYear.TabIndex = 8; this.radioButtonYear.TabStop = true; this.radioButtonYear.Text = "Check Summary for a year"; this.radioButtonYear.UseVisualStyleBackColor = true; this.radioButtonYear.CheckedChanged += new System.EventHandler(this.radioButtonYear_CheckedChanged); // // buttonClose // this.buttonClose.Location = new System.Drawing.Point(644, 102); this.buttonClose.Name = "buttonClose"; this.buttonClose.Size = new System.Drawing.Size(110, 23); this.buttonClose.TabIndex = 1; this.buttonClose.Text = "Close Report"; this.buttonClose.UseVisualStyleBackColor = true; this.buttonClose.Visible = false; this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click); // // reportViewer1 // this.reportViewer1.Location = new System.Drawing.Point(28, 139); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(725, 400); this.reportViewer1.TabIndex = 2; this.reportViewer1.Visible = false; // // bindingSource1 // this.bindingSource1.DataSource = typeof(Water_Board_Management_WastageManagement.Details); // // FormWastage // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(784, 562); this.Controls.Add(this.reportViewer1); this.Controls.Add(this.buttonClose); this.Controls.Add(this.panel1); this.Name = "FormWastage"; this.Text = "Wastage Management"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormWastage_FormClosing); this.Load += new System.EventHandler(this.FormWastage_Load); this.panel1.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); this.ResumeLayout(false); }
public static List<System.Drawing.Imaging.Metafile> RenderMetafilesForReport( SSRSCommon.ReportService2005.ReportingService2005 rep_svc, SSRSCommon.ReportExecutionService.ReportExecutionService rep_exec_svc, string reportpath, EMFRenderPrefs userprintprefs, int FirstNPages) { var exec_header = new SSRSCommon.ReportExecutionService.ExecutionHeader(); rep_exec_svc.ExecutionHeaderValue = exec_header; string historyid = null; Console.WriteLine("Loading Report"); var exec_info = rep_exec_svc.LoadReport(reportpath, historyid); //rs2.SetExecutionParameters(parameters, "en-us"); var session_id = rep_exec_svc.ExecutionHeaderValue.ExecutionID; Console.WriteLine("Session ID: {0}", rep_exec_svc.ExecutionHeaderValue.ExecutionID); var streams = new List<System.IO.Stream>(); var metafiles = new List<System.Drawing.Imaging.Metafile>(); string render_format = "IMAGE"; int cur_page_count = 0; try { // Create the Viewer and Bind it to the Server Report Console.WriteLine("Creating the ReportViewer Control"); var viewer = new Microsoft.Reporting.WinForms.ReportViewer(); viewer.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote; var server_report = viewer.ServerReport; Console.WriteLine("Server Report DisplayName: {0}", server_report.DisplayName); Console.WriteLine("Server Report ReportPath: {0}", server_report.ReportPath); Console.WriteLine("Server Report ReportServerUrl: {0}", server_report.ReportServerUrl); Console.WriteLine("Server Report Timeout: {0}", server_report.Timeout); viewer.ServerReport.ReportServerUrl = new Uri(get_correct_url(rep_svc.Url)); viewer.ServerReport.ReportPath = reportpath; Console.WriteLine("Report Viewer ProcessingMode: {0}", viewer.ProcessingMode); Console.WriteLine("Report Viewer ReportServerUrl: {0}", viewer.ServerReport.ReportServerUrl); Console.WriteLine("Report Viewer ReportPath: {0}", viewer.ServerReport.ReportPath); // Setup URL Parameters Console.WriteLine("Creating the URL Parameters"); var url_params = new System.Collections.Specialized.NameValueCollection(); url_params.Add("rs:PersistStreams", "True"); // Create DeviceInfo XML var devinfo = new SSRSCommon.DeviceInfo(); devinfo.OutputFormat = "EMF"; // force it to emf devinfo.Toolbar = false; devinfo.PrintDpiX = emf_render_dpi.Width; devinfo.PrintDpiY = emf_render_dpi.Height; // Finished with DeviceInfo XML string device_info = devinfo.ToString(); Console.WriteLine("DeviceInfo: {0}", device_info); // render first stream Console.WriteLine("Starting Rendering First Stream"); string rendered_mimetype; string rendered_extension; var rendered_stream = server_report.Render( render_format, device_info, url_params, out rendered_mimetype, out rendered_extension); Console.WriteLine("Finished Rendering First Stream"); streams.Add(rendered_stream); cur_page_count++; // Handle the addtional streams Console.WriteLine("Retrieving Additional Streams"); url_params.Remove("rs:PersistStreams"); url_params.Add("rs:GetNextStream", "True"); do { // Check to see if user only wanted the first N pages of the report if (FirstNPages > 0) { if (cur_page_count >= FirstNPages) { break; } } // ------------ Console.WriteLine("Starting Rendering Additional Stream"); rendered_stream = server_report.Render( render_format, device_info, url_params, out rendered_mimetype, out rendered_extension); if (rendered_stream.Length != 0) { Console.WriteLine("Storing stream"); streams.Add(rendered_stream); } else { Console.WriteLine("Received stream of length zero"); } Console.WriteLine("Finished Rendering Additional Stream"); cur_page_count++; } while (rendered_stream.Length > 0); Console.WriteLine("Finished Retrieving Additional Streams"); } catch (System.Web.Services.Protocols.SoapException err) { Console.WriteLine("Caught SoapException"); Console.WriteLine("Message: {0}", err.Message); throw err; } finally { // Convert each stream into a metafile foreach (var stream in streams) { try { Console.WriteLine("Stream type: {0}", stream.GetType()); Console.WriteLine("Converting to metafile"); var memstream = (System.IO.MemoryStream)stream; Console.WriteLine("memstream size: {0}", memstream.Length); var metafile = new System.Drawing.Imaging.Metafile(memstream); metafiles.Add(metafile); Console.WriteLine("metafile size: {0}", metafile.Size); } finally { // Get rid of the steams stream.Close(); stream.Dispose(); } } streams = null; } return metafiles; }
void IReportProcess.AsignaParametros(ref Microsoft.Reporting.WinForms.ReportViewer reportViewer) { throw new NotImplementedException(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource2 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.R合同收付款明细表BindingSource = new System.Windows.Forms.BindingSource(this.components); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.HDW = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); this.HLX = new System.Windows.Forms.ComboBox(); this.panel7 = new System.Windows.Forms.Panel(); this.label8 = new System.Windows.Forms.Label(); this.HLX1 = new System.Windows.Forms.ComboBox(); this.panel3 = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.HBM = new System.Windows.Forms.ComboBox(); this.panel4 = new System.Windows.Forms.Panel(); this.label4 = new System.Windows.Forms.Label(); this.YEAR = new System.Windows.Forms.ComboBox(); this.panel5 = new System.Windows.Forms.Panel(); this.label5 = new System.Windows.Forms.Label(); this.MONTH = new System.Windows.Forms.ComboBox(); this.panel6 = new System.Windows.Forms.Panel(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); this.panel8 = new System.Windows.Forms.Panel(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label9 = new System.Windows.Forms.Label(); this.panel9 = new System.Windows.Forms.Panel(); this.label10 = new System.Windows.Forms.Label(); this.comboBox2 = new System.Windows.Forms.ComboBox(); ((System.ComponentModel.ISupportInitialize)(this.R合同收付款明细表BindingSource)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel7.SuspendLayout(); this.panel3.SuspendLayout(); this.panel4.SuspendLayout(); this.panel5.SuspendLayout(); this.panel6.SuspendLayout(); this.panel8.SuspendLayout(); this.panel9.SuspendLayout(); this.SuspendLayout(); // // R合同收付款明细表BindingSource // this.R合同收付款明细表BindingSource.DataMember = "R合同收付款明细表"; // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; reportDataSource2.Name = "Contract1DataSet_R合同收付款明细表"; reportDataSource2.Value = this.R合同收付款明细表BindingSource; this.reportViewer1.LocalReport.DataSources.Add(reportDataSource2); this.reportViewer1.LocalReport.ReportEmbeddedResource = "contract.Reports.Report合同收付款明细表.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(834, 164); this.reportViewer1.TabIndex = 0; this.reportViewer1.Drillthrough += new Microsoft.Reporting.WinForms.DrillthroughEventHandler(this.reportViewer1_Drillthrough); // // progressBar1 // this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom; this.progressBar1.Location = new System.Drawing.Point(0, 274); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(834, 22); this.progressBar1.TabIndex = 1; // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.progressBar1); this.splitContainer1.Panel1.Controls.Add(this.flowLayoutPanel1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.reportViewer1); this.splitContainer1.Size = new System.Drawing.Size(834, 462); this.splitContainer1.SplitterDistance = 296; this.splitContainer1.SplitterWidth = 2; this.splitContainer1.TabIndex = 2; this.splitContainer1.SizeChanged += new System.EventHandler(this.splitContainer1_SizeChanged); // // flowLayoutPanel1 // this.flowLayoutPanel1.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.flowLayoutPanel1.Controls.Add(this.panel1); this.flowLayoutPanel1.Controls.Add(this.panel2); this.flowLayoutPanel1.Controls.Add(this.panel7); this.flowLayoutPanel1.Controls.Add(this.panel3); this.flowLayoutPanel1.Controls.Add(this.panel4); this.flowLayoutPanel1.Controls.Add(this.panel5); this.flowLayoutPanel1.Controls.Add(this.panel6); this.flowLayoutPanel1.Controls.Add(this.panel8); this.flowLayoutPanel1.Controls.Add(this.panel9); this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(834, 274); this.flowLayoutPanel1.TabIndex = 15; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.HDW); this.panel1.Controls.Add(this.label1); this.panel1.Location = new System.Drawing.Point(3, 3); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(819, 24); this.panel1.TabIndex = 0; // // HDW // this.HDW.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.HDW.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.HDW.FormattingEnabled = true; this.HDW.Location = new System.Drawing.Point(221, 3); this.HDW.Name = "HDW"; this.HDW.Size = new System.Drawing.Size(460, 20); this.HDW.TabIndex = 8; this.HDW.SelectedIndexChanged += new System.EventHandler(this.HDW_SelectedIndexChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(137, 6); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(35, 12); this.label1.TabIndex = 2; this.label1.Text = "公司:"; // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.HLX); this.panel2.Location = new System.Drawing.Point(3, 33); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(819, 24); this.panel2.TabIndex = 16; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(137, 6); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(59, 12); this.label2.TabIndex = 3; this.label2.Text = "合同类型:"; // // HLX // this.HLX.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.HLX.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.HLX.FormattingEnabled = true; this.HLX.Location = new System.Drawing.Point(221, 2); this.HLX.Name = "HLX"; this.HLX.Size = new System.Drawing.Size(460, 20); this.HLX.TabIndex = 9; this.HLX.SelectedIndexChanged += new System.EventHandler(this.HLX_SelectedIndexChanged); // // panel7 // this.panel7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.panel7.Controls.Add(this.label8); this.panel7.Controls.Add(this.HLX1); this.panel7.Location = new System.Drawing.Point(3, 63); this.panel7.Name = "panel7"; this.panel7.Size = new System.Drawing.Size(819, 24); this.panel7.TabIndex = 18; this.panel7.Visible = false; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(137, 6); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(71, 12); this.label8.TabIndex = 3; this.label8.Text = "合同子类型:"; // // HLX1 // this.HLX1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.HLX1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.HLX1.FormattingEnabled = true; this.HLX1.Location = new System.Drawing.Point(221, 2); this.HLX1.Name = "HLX1"; this.HLX1.Size = new System.Drawing.Size(460, 20); this.HLX1.TabIndex = 9; // // panel3 // this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.panel3.Controls.Add(this.label3); this.panel3.Controls.Add(this.HBM); this.panel3.Location = new System.Drawing.Point(3, 93); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(819, 24); this.panel3.TabIndex = 1; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(137, 6); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(35, 12); this.label3.TabIndex = 4; this.label3.Text = "部门:"; // // HBM // this.HBM.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.HBM.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.HBM.FormattingEnabled = true; this.HBM.Location = new System.Drawing.Point(221, 2); this.HBM.Name = "HBM"; this.HBM.Size = new System.Drawing.Size(460, 20); this.HBM.TabIndex = 10; // // panel4 // this.panel4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.panel4.Controls.Add(this.label4); this.panel4.Controls.Add(this.YEAR); this.panel4.Location = new System.Drawing.Point(3, 123); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(819, 24); this.panel4.TabIndex = 1; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(137, 6); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(23, 12); this.label4.TabIndex = 5; this.label4.Text = "年:"; // // YEAR // this.YEAR.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.YEAR.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.YEAR.FormattingEnabled = true; this.YEAR.Items.AddRange(new object[] { "2009", "2010", "2011", "2012", "2013"}); this.YEAR.Location = new System.Drawing.Point(221, 2); this.YEAR.Name = "YEAR"; this.YEAR.Size = new System.Drawing.Size(460, 20); this.YEAR.TabIndex = 11; // // panel5 // this.panel5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.panel5.Controls.Add(this.label5); this.panel5.Controls.Add(this.MONTH); this.panel5.Location = new System.Drawing.Point(3, 153); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(819, 24); this.panel5.TabIndex = 17; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(137, 6); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(23, 12); this.label5.TabIndex = 6; this.label5.Text = "月:"; // // MONTH // this.MONTH.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.MONTH.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.MONTH.FormattingEnabled = true; this.MONTH.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"}); this.MONTH.Location = new System.Drawing.Point(221, 2); this.MONTH.Name = "MONTH"; this.MONTH.Size = new System.Drawing.Size(460, 20); this.MONTH.TabIndex = 12; // // panel6 // this.panel6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.panel6.Controls.Add(this.label7); this.panel6.Controls.Add(this.label6); this.panel6.Controls.Add(this.dateTimePicker1); this.panel6.Controls.Add(this.dateTimePicker2); this.panel6.Location = new System.Drawing.Point(3, 183); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(819, 24); this.panel6.TabIndex = 1; this.panel6.Visible = false; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(137, 6); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(59, 12); this.label7.TabIndex = 15; this.label7.Text = "日期范围:"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(439, 6); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(17, 12); this.label6.TabIndex = 14; this.label6.Text = "--"; // // dateTimePicker1 // this.dateTimePicker1.Location = new System.Drawing.Point(221, 2); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.Size = new System.Drawing.Size(200, 21); this.dateTimePicker1.TabIndex = 13; // // dateTimePicker2 // this.dateTimePicker2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.dateTimePicker2.Location = new System.Drawing.Point(481, 2); this.dateTimePicker2.Name = "dateTimePicker2"; this.dateTimePicker2.Size = new System.Drawing.Size(200, 21); this.dateTimePicker2.TabIndex = 13; // // panel8 // this.panel8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.panel8.Controls.Add(this.comboBox1); this.panel8.Controls.Add(this.label9); this.panel8.Location = new System.Drawing.Point(3, 213); this.panel8.Name = "panel8"; this.panel8.Size = new System.Drawing.Size(819, 24); this.panel8.TabIndex = 19; this.panel8.Visible = false; // // comboBox1 // this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "付款", "回款"}); this.comboBox1.Location = new System.Drawing.Point(221, 3); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(460, 20); this.comboBox1.TabIndex = 8; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(137, 6); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(35, 12); this.label9.TabIndex = 2; this.label9.Text = "类型:"; // // R合同收付款明细表TableAdapter // // // panel9 // this.panel9.Controls.Add(this.comboBox2); this.panel9.Controls.Add(this.label10); this.panel9.Location = new System.Drawing.Point(3, 243); this.panel9.Name = "panel9"; this.panel9.Size = new System.Drawing.Size(819, 24); this.panel9.TabIndex = 20; this.panel9.Visible = false; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(137, 5); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(29, 12); this.label10.TabIndex = 0; this.label10.Text = "状态"; // // comboBox2 // this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox2.FormattingEnabled = true; this.comboBox2.Items.AddRange(new object[] { "全部", "已完成", "未完成"}); this.comboBox2.Location = new System.Drawing.Point(221, 2); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(460, 20); this.comboBox2.TabIndex = 1; // // ReportView // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(834, 462); this.Controls.Add(this.splitContainer1); this.Name = "ReportView"; this.Text = "报表浏览器"; this.Load += new System.EventHandler(this.ReportView_Load); ((System.ComponentModel.ISupportInitialize)(this.R合同收付款明细表BindingSource)).EndInit(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.panel7.ResumeLayout(false); this.panel7.PerformLayout(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.panel5.ResumeLayout(false); this.panel5.PerformLayout(); this.panel6.ResumeLayout(false); this.panel6.PerformLayout(); this.panel8.ResumeLayout(false); this.panel8.PerformLayout(); this.panel9.ResumeLayout(false); this.panel9.PerformLayout(); 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(FormReportView)); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.btnDocumentMap = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.btnFirst = new System.Windows.Forms.ToolStripButton(); this.btnMovePrevious = new System.Windows.Forms.ToolStripButton(); this.txtCurrentPage = new System.Windows.Forms.ToolStripTextBox(); this.btnMoveNext = new System.Windows.Forms.ToolStripButton(); this.btnMoveLast = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.btnRefresh = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.btnPrint = new System.Windows.Forms.ToolStripButton(); this.btnLayout = new System.Windows.Forms.ToolStripButton(); this.btnPageSetup = new System.Windows.Forms.ToolStripButton(); this.btnExport = new System.Windows.Forms.ToolStripSplitButton(); this.btnExcel = new System.Windows.Forms.ToolStripMenuItem(); this.btnPdf = new System.Windows.Forms.ToolStripMenuItem(); this.btnXML = new System.Windows.Forms.ToolStripMenuItem(); this.btnCSV = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.cboZoom = new System.Windows.Forms.ToolStripComboBox(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.btnFind = new System.Windows.Forms.ToolStripButton(); this.btnFindNext = new System.Windows.Forms.ToolStripButton(); this.txtSearch = new System.Windows.Forms.ToolStripTextBox(); this.repView = new Microsoft.Reporting.WinForms.ReportViewer(); this.toolStrip1.SuspendLayout(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnDocumentMap, this.toolStripSeparator1, this.btnFirst, this.btnMovePrevious, this.txtCurrentPage, this.btnMoveNext, this.btnMoveLast, this.toolStripSeparator2, this.btnRefresh, this.toolStripSeparator3, this.btnPrint, this.btnLayout, this.btnPageSetup, this.btnExport, this.toolStripSeparator4, this.cboZoom, this.toolStripSeparator5, this.toolStripSeparator7, this.btnFind, this.btnFindNext, this.txtSearch}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(767, 25); this.toolStrip1.TabIndex = 0; this.toolStrip1.Text = "toolStrip1"; // // btnDocumentMap // this.btnDocumentMap.CheckOnClick = true; this.btnDocumentMap.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnDocumentMap.Image = ((System.Drawing.Image)(resources.GetObject("btnDocumentMap.Image"))); this.btnDocumentMap.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnDocumentMap.Name = "btnDocumentMap"; this.btnDocumentMap.Size = new System.Drawing.Size(23, 22); this.btnDocumentMap.Text = "Show Hide Document Map"; this.btnDocumentMap.CheckedChanged += new System.EventHandler(this.btnDocumentMap_CheckedChanged); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // btnFirst // this.btnFirst.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnFirst.Image = ((System.Drawing.Image)(resources.GetObject("btnFirst.Image"))); this.btnFirst.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnFirst.Name = "btnFirst"; this.btnFirst.Size = new System.Drawing.Size(23, 22); this.btnFirst.Text = "First Page"; this.btnFirst.Click += new System.EventHandler(this.btnFirst_Click); // // btnMovePrevious // this.btnMovePrevious.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnMovePrevious.Image = ((System.Drawing.Image)(resources.GetObject("btnMovePrevious.Image"))); this.btnMovePrevious.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnMovePrevious.Name = "btnMovePrevious"; this.btnMovePrevious.Size = new System.Drawing.Size(23, 22); this.btnMovePrevious.Text = "Move Previous Page"; this.btnMovePrevious.Click += new System.EventHandler(this.btnMovePrevious_Click); // // txtCurrentPage // this.txtCurrentPage.Name = "txtCurrentPage"; this.txtCurrentPage.Size = new System.Drawing.Size(100, 25); // // btnMoveNext // this.btnMoveNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnMoveNext.Image = ((System.Drawing.Image)(resources.GetObject("btnMoveNext.Image"))); this.btnMoveNext.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnMoveNext.Name = "btnMoveNext"; this.btnMoveNext.Size = new System.Drawing.Size(23, 22); this.btnMoveNext.Text = "Move Next Page"; this.btnMoveNext.Click += new System.EventHandler(this.btnMoveNext_Click); // // btnMoveLast // this.btnMoveLast.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnMoveLast.Image = ((System.Drawing.Image)(resources.GetObject("btnMoveLast.Image"))); this.btnMoveLast.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnMoveLast.Name = "btnMoveLast"; this.btnMoveLast.Size = new System.Drawing.Size(23, 22); this.btnMoveLast.Text = "Move Last page"; this.btnMoveLast.Click += new System.EventHandler(this.btnMoveLast_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // btnRefresh // this.btnRefresh.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnRefresh.Image = ((System.Drawing.Image)(resources.GetObject("btnRefresh.Image"))); this.btnRefresh.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.Size = new System.Drawing.Size(23, 22); this.btnRefresh.Text = "Refresh"; this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); // // btnPrint // this.btnPrint.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnPrint.Image = ((System.Drawing.Image)(resources.GetObject("btnPrint.Image"))); this.btnPrint.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(23, 22); this.btnPrint.Text = "Print"; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // btnLayout // this.btnLayout.CheckOnClick = true; this.btnLayout.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnLayout.Image = ((System.Drawing.Image)(resources.GetObject("btnLayout.Image"))); this.btnLayout.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnLayout.Name = "btnLayout"; this.btnLayout.Size = new System.Drawing.Size(23, 22); this.btnLayout.Text = "Print Layout"; this.btnLayout.CheckedChanged += new System.EventHandler(this.btnLayout_CheckedChanged); // // btnPageSetup // this.btnPageSetup.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnPageSetup.Image = ((System.Drawing.Image)(resources.GetObject("btnPageSetup.Image"))); this.btnPageSetup.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnPageSetup.Name = "btnPageSetup"; this.btnPageSetup.Size = new System.Drawing.Size(23, 22); this.btnPageSetup.Text = "Page Setup"; this.btnPageSetup.Click += new System.EventHandler(this.btnPageSetup_Click); // // btnExport // this.btnExport.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnExport.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnExcel, this.btnPdf, this.btnXML, this.btnCSV}); this.btnExport.Image = ((System.Drawing.Image)(resources.GetObject("btnExport.Image"))); this.btnExport.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(32, 22); this.btnExport.Text = "Export Report"; // // btnExcel // this.btnExcel.Image = ((System.Drawing.Image)(resources.GetObject("btnExcel.Image"))); this.btnExcel.Name = "btnExcel"; this.btnExcel.Size = new System.Drawing.Size(160, 22); this.btnExcel.Text = "Export To Excel"; this.btnExcel.ToolTipText = "Export to Excel"; this.btnExcel.Click += new System.EventHandler(this.btnExcel_Click); // // btnPdf // this.btnPdf.Image = ((System.Drawing.Image)(resources.GetObject("btnPdf.Image"))); this.btnPdf.Name = "btnPdf"; this.btnPdf.Size = new System.Drawing.Size(160, 22); this.btnPdf.Text = "Export To Pdf"; this.btnPdf.ToolTipText = "Export To Pdf"; this.btnPdf.Click += new System.EventHandler(this.btnPdf_Click); // // btnXML // this.btnXML.Name = "btnXML"; this.btnXML.Size = new System.Drawing.Size(160, 22); this.btnXML.Text = "Export To XML"; // // btnCSV // this.btnCSV.Name = "btnCSV"; this.btnCSV.Size = new System.Drawing.Size(160, 22); this.btnCSV.Text = "Export To CSV"; // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); // // cboZoom // this.cboZoom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboZoom.Name = "cboZoom"; this.cboZoom.Size = new System.Drawing.Size(121, 25); this.cboZoom.ToolTipText = "Zoom"; this.cboZoom.SelectedIndexChanged += new System.EventHandler(this.cboZoom_SelectedIndexChanged); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25); // // btnFind // this.btnFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnFind.Image = ((System.Drawing.Image)(resources.GetObject("btnFind.Image"))); this.btnFind.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnFind.Name = "btnFind"; this.btnFind.Size = new System.Drawing.Size(23, 22); this.btnFind.Text = "Find"; this.btnFind.Click += new System.EventHandler(this.btnFind_Click); // // btnFindNext // this.btnFindNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnFindNext.Image = ((System.Drawing.Image)(resources.GetObject("btnFindNext.Image"))); this.btnFindNext.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnFindNext.Name = "btnFindNext"; this.btnFindNext.Size = new System.Drawing.Size(23, 22); this.btnFindNext.Text = "Find Next"; this.btnFindNext.Click += new System.EventHandler(this.btnFindNext_Click); // // txtSearch // this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(100, 25); this.txtSearch.ToolTipText = "Search"; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // repView // this.repView.Dock = System.Windows.Forms.DockStyle.Fill; reportDataSource1.Name = "DSCUSTOMERS_CUSTOMERTABLE"; reportDataSource1.Value = null; this.repView.LocalReport.DataSources.Add(reportDataSource1); this.repView.LocalReport.ReportEmbeddedResource = "CustReport.Report1.rdlc"; this.repView.Location = new System.Drawing.Point(0, 25); this.repView.Name = "repView"; this.repView.Size = new System.Drawing.Size(767, 390); this.repView.TabIndex = 1; this.repView.ZoomChange += new Microsoft.Reporting.WinForms.ZoomChangedEventHandler(this.repView_ZoomChange); this.repView.PageNavigation += new Microsoft.Reporting.WinForms.PageNavigationEventHandler(this.repView_PageNavigation); // // FormReportView // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(767, 415); this.Controls.Add(this.repView); this.Controls.Add(this.toolStrip1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FormReportView"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "FormReportView"; this.Load += new System.EventHandler(this.FormReportView_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormularioReportes)); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.itemPanelVersionReporte = new DevComponents.DotNetBar.ItemPanel(); this.txtSelectedVersionReporte = new System.Windows.Forms.TextBox(); this.expandablePanelVersionReporte = new DevComponents.DotNetBar.ExpandablePanel(); this.expandablePanelVersionReporte.SuspendLayout(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); this.reportViewer1.Location = new System.Drawing.Point(95, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(838, 486); this.reportViewer1.TabIndex = 0; // // itemPanelVersionReporte // this.itemPanelVersionReporte.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.itemPanelVersionReporte.AutoScroll = true; this.itemPanelVersionReporte.BackColor = System.Drawing.Color.Transparent; // // // this.itemPanelVersionReporte.BackgroundStyle.Class = "ItemPanel"; this.itemPanelVersionReporte.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemPanelVersionReporte.ContainerControlProcessDialogKey = true; this.itemPanelVersionReporte.FitButtonsToContainerWidth = true; this.itemPanelVersionReporte.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Center; this.itemPanelVersionReporte.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemPanelVersionReporte.Location = new System.Drawing.Point(0, 64); this.itemPanelVersionReporte.Name = "itemPanelVersionReporte"; this.itemPanelVersionReporte.Size = new System.Drawing.Size(200, 422); this.itemPanelVersionReporte.TabIndex = 2; this.itemPanelVersionReporte.SelectedIndexChanged += new System.EventHandler(this.itemPanel1_SelectedIndexChanged); this.itemPanelVersionReporte.ItemClick += new System.EventHandler(this.itemPanel1_ItemClick); // // txtSelectedVersionReporte // this.txtSelectedVersionReporte.Location = new System.Drawing.Point(0, 38); this.txtSelectedVersionReporte.Name = "txtSelectedVersionReporte"; this.txtSelectedVersionReporte.ReadOnly = true; this.txtSelectedVersionReporte.Size = new System.Drawing.Size(200, 20); this.txtSelectedVersionReporte.TabIndex = 3; // // expandablePanelVersionReporte // this.expandablePanelVersionReporte.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.expandablePanelVersionReporte.AutoSize = true; this.expandablePanelVersionReporte.CanvasColor = System.Drawing.Color.Transparent; this.expandablePanelVersionReporte.CollapseDirection = DevComponents.DotNetBar.eCollapseDirection.RightToLeft; this.expandablePanelVersionReporte.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.expandablePanelVersionReporte.Controls.Add(this.txtSelectedVersionReporte); this.expandablePanelVersionReporte.Controls.Add(this.itemPanelVersionReporte); this.expandablePanelVersionReporte.Location = new System.Drawing.Point(0, 0); this.expandablePanelVersionReporte.Name = "expandablePanelVersionReporte"; this.expandablePanelVersionReporte.Size = new System.Drawing.Size(203, 486); this.expandablePanelVersionReporte.Style.Alignment = System.Drawing.StringAlignment.Center; this.expandablePanelVersionReporte.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.expandablePanelVersionReporte.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.expandablePanelVersionReporte.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandablePanelVersionReporte.Style.GradientAngle = 90; this.expandablePanelVersionReporte.TabIndex = 4; this.expandablePanelVersionReporte.TitleStyle.Alignment = System.Drawing.StringAlignment.Center; this.expandablePanelVersionReporte.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.expandablePanelVersionReporte.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner; this.expandablePanelVersionReporte.TitleStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.expandablePanelVersionReporte.TitleStyle.ForeColor.Color = System.Drawing.Color.Navy; this.expandablePanelVersionReporte.TitleStyle.GradientAngle = 90; this.expandablePanelVersionReporte.TitleText = "Versión de Reporte"; // // FormularioReportes // 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(1038, 486); this.Controls.Add(this.expandablePanelVersionReporte); this.Controls.Add(this.reportViewer1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FormularioReportes"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Reportes"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormularioReportes_FormClosing); this.expandablePanelVersionReporte.ResumeLayout(false); this.expandablePanelVersionReporte.PerformLayout(); 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.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FPackPalletPrint)); this.panelReportViewer = new System.Windows.Forms.Panel(); this.btnPrint = new UserControl.UCButton(); this.btnExit = new UserControl.UCButton(); this.panelButton = new System.Windows.Forms.Panel(); this.ReportViewerPallet = new Microsoft.Reporting.WinForms.ReportViewer(); this.timerAutoPrint = new System.Windows.Forms.Timer(this.components); this.panelReportViewer.SuspendLayout(); this.panelButton.SuspendLayout(); this.SuspendLayout(); // // panelReportViewer // this.panelReportViewer.Controls.Add(this.btnPrint); this.panelReportViewer.Controls.Add(this.btnExit); this.panelReportViewer.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelReportViewer.Location = new System.Drawing.Point(0, 425); this.panelReportViewer.Name = "panelReportViewer"; this.panelReportViewer.Size = new System.Drawing.Size(820, 57); this.panelReportViewer.TabIndex = 0; // // btnPrint // this.btnPrint.BackColor = System.Drawing.SystemColors.Control; this.btnPrint.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnPrint.BackgroundImage"))); this.btnPrint.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.btnPrint.ButtonType = UserControl.ButtonTypes.None; this.btnPrint.Caption = "´òÓ¡"; this.btnPrint.Cursor = System.Windows.Forms.Cursors.Hand; this.btnPrint.Location = new System.Drawing.Point(250, 16); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(88, 24); this.btnPrint.TabIndex = 1; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // btnExit // this.btnExit.BackColor = System.Drawing.SystemColors.Control; this.btnExit.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnExit.BackgroundImage"))); this.btnExit.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.btnExit.ButtonType = UserControl.ButtonTypes.None; this.btnExit.Caption = "Í˳ö"; this.btnExit.Cursor = System.Windows.Forms.Cursors.Hand; this.btnExit.Location = new System.Drawing.Point(501, 16); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(88, 24); this.btnExit.TabIndex = 2; this.btnExit.Click += new System.EventHandler(this.btnExit_Click); // // panelButton // this.panelButton.Controls.Add(this.ReportViewerPallet); this.panelButton.Dock = System.Windows.Forms.DockStyle.Fill; this.panelButton.Location = new System.Drawing.Point(0, 0); this.panelButton.Name = "panelButton"; this.panelButton.Size = new System.Drawing.Size(820, 425); this.panelButton.TabIndex = 1; // // ReportViewerPallet // this.ReportViewerPallet.Dock = System.Windows.Forms.DockStyle.Fill; this.ReportViewerPallet.Location = new System.Drawing.Point(0, 0); this.ReportViewerPallet.Name = "ReportViewerPallet"; this.ReportViewerPallet.ShowToolBar = false; this.ReportViewerPallet.Size = new System.Drawing.Size(820, 425); this.ReportViewerPallet.TabIndex = 0; // // timerAutoPrint // this.timerAutoPrint.Interval = 300; this.timerAutoPrint.Tick += new System.EventHandler(this.timerAutoPrint_Tick); // // FPackPalletPrint // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(820, 482); this.Controls.Add(this.panelButton); this.Controls.Add(this.panelReportViewer); this.Name = "FPackPalletPrint"; this.Text = "Pallet´òÓ¡"; this.Load += new System.EventHandler(this.FPackPalletPrint_Load); this.panelReportViewer.ResumeLayout(false); this.panelButton.ResumeLayout(false); 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.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReportViewer)); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource3 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.TestBindingSource = new System.Windows.Forms.BindingSource(this.components); this.dnReport = new System.Windows.Forms.BindingNavigator(this.components); this.tspbPrint = new System.Windows.Forms.ToolStripSplitButton(); this.toolPageSettings = new System.Windows.Forms.ToolStripMenuItem(); this.toolPreview = new System.Windows.Forms.ToolStripMenuItem(); this.toolPrint = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolRefresh = new System.Windows.Forms.ToolStripButton(); this.toolStop = new System.Windows.Forms.ToolStripButton(); this.toolBack = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.toolExport = new System.Windows.Forms.ToolStripSplitButton(); this.toolExcel = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.tspbZoom = new System.Windows.Forms.ToolStripSplitButton(); this.tool25 = new System.Windows.Forms.ToolStripMenuItem(); this.tool50 = new System.Windows.Forms.ToolStripMenuItem(); this.tool100 = new System.Windows.Forms.ToolStripMenuItem(); this.tool200 = new System.Windows.Forms.ToolStripMenuItem(); this.tool400 = new System.Windows.Forms.ToolStripMenuItem(); this.toolWhole = new System.Windows.Forms.ToolStripMenuItem(); this.toolPageWidth = new System.Windows.Forms.ToolStripMenuItem(); this.tspbSearch = new System.Windows.Forms.ToolStripSplitButton(); this.txtSearch = new System.Windows.Forms.ToolStripTextBox(); this.toolSearch = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.toolSearchNext = new System.Windows.Forms.ToolStripMenuItem(); this.tspbNavigation = new System.Windows.Forms.ToolStripSplitButton(); this.toolFirst = new System.Windows.Forms.ToolStripMenuItem(); this.toolLast = new System.Windows.Forms.ToolStripMenuItem(); this.toolPrevious = new System.Windows.Forms.ToolStripMenuItem(); this.toolNext = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolJump = new System.Windows.Forms.ToolStripMenuItem(); this.txtJump = new System.Windows.Forms.ToolStripTextBox(); this.toolStripButton1 = new System.Windows.Forms.ToolStripSeparator(); this.rptViewer = new Microsoft.Reporting.WinForms.ReportViewer(); this.PreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); ((System.ComponentModel.ISupportInitialize)(this.TestBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dnReport)).BeginInit(); this.dnReport.SuspendLayout(); this.SuspendLayout(); // // dnReport // this.dnReport.AddNewItem = null; this.dnReport.CountItem = null; this.dnReport.DeleteItem = null; this.dnReport.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tspbPrint, this.toolStripSeparator1, this.toolRefresh, this.toolStop, this.toolBack, this.toolStripSeparator4, this.toolExport, this.toolStripSeparator5, this.tspbZoom, this.tspbSearch, this.tspbNavigation, this.toolStripButton1}); this.dnReport.Location = new System.Drawing.Point(0, 0); this.dnReport.MoveFirstItem = null; this.dnReport.MoveLastItem = null; this.dnReport.MoveNextItem = null; this.dnReport.MovePreviousItem = null; this.dnReport.Name = "dnReport"; this.dnReport.PositionItem = null; this.dnReport.Size = new System.Drawing.Size(641, 25); this.dnReport.TabIndex = 0; this.dnReport.Text = "bindingNavigator1"; // // tspbPrint // this.tspbPrint.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.tspbPrint.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolPageSettings, this.toolPreview, this.toolPrint}); this.tspbPrint.Image = ((System.Drawing.Image)(resources.GetObject("tspbPrint.Image"))); this.tspbPrint.ImageTransparentColor = System.Drawing.Color.Magenta; this.tspbPrint.Name = "tspbPrint"; this.tspbPrint.Size = new System.Drawing.Size(45, 22); this.tspbPrint.Text = "打印"; // // toolPageSettings // this.toolPageSettings.Name = "toolPageSettings"; this.toolPageSettings.Size = new System.Drawing.Size(152, 22); this.toolPageSettings.Text = "页面设置"; this.toolPageSettings.Click += new System.EventHandler(this.toolPageSettings_Click); // // toolPreview // this.toolPreview.Name = "toolPreview"; this.toolPreview.Size = new System.Drawing.Size(152, 22); this.toolPreview.Text = "预览"; this.toolPreview.Click += new System.EventHandler(this.toolPreview_Click); // // toolPrint // this.toolPrint.Name = "toolPrint"; this.toolPrint.Size = new System.Drawing.Size(152, 22); this.toolPrint.Text = "打印"; this.toolPrint.Click += new System.EventHandler(this.toolPrint_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // toolRefresh // this.toolRefresh.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolRefresh.Name = "toolRefresh"; this.toolRefresh.Size = new System.Drawing.Size(33, 22); this.toolRefresh.Text = "刷新"; this.toolRefresh.Click += new System.EventHandler(this.toolRefresh_Click); // // toolStop // this.toolStop.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStop.Name = "toolStop"; this.toolStop.Size = new System.Drawing.Size(33, 22); this.toolStop.Text = "停止"; this.toolStop.Click += new System.EventHandler(this.toolStop_Click); // // toolBack // this.toolBack.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolBack.Name = "toolBack"; this.toolBack.Size = new System.Drawing.Size(33, 22); this.toolBack.Text = "后退"; this.toolBack.Click += new System.EventHandler(this.toolBack_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); // // toolExport // this.toolExport.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolExcel}); this.toolExport.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolExport.Name = "toolExport"; this.toolExport.Size = new System.Drawing.Size(45, 22); this.toolExport.Text = "输出"; // // toolExcel // this.toolExcel.Name = "toolExcel"; this.toolExcel.Size = new System.Drawing.Size(136, 22); this.toolExcel.Text = "输出到Excel"; this.toolExcel.Click += new System.EventHandler(this.toolExcel_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); // // tspbZoom // this.tspbZoom.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.tspbZoom.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tool25, this.tool50, this.tool100, this.tool200, this.tool400, this.toolWhole, this.toolPageWidth}); this.tspbZoom.Image = ((System.Drawing.Image)(resources.GetObject("tspbZoom.Image"))); this.tspbZoom.ImageTransparentColor = System.Drawing.Color.Magenta; this.tspbZoom.Name = "tspbZoom"; this.tspbZoom.Size = new System.Drawing.Size(45, 22); this.tspbZoom.Text = "显示"; // // tool25 // this.tool25.Name = "tool25"; this.tool25.Size = new System.Drawing.Size(130, 22); this.tool25.Text = "25%"; this.tool25.Click += new System.EventHandler(this.tool25_Click); // // tool50 // this.tool50.Name = "tool50"; this.tool50.Size = new System.Drawing.Size(130, 22); this.tool50.Text = "50%"; this.tool50.Click += new System.EventHandler(this.tool50_Click); // // tool100 // this.tool100.Name = "tool100"; this.tool100.Size = new System.Drawing.Size(130, 22); this.tool100.Text = "100%"; this.tool100.Click += new System.EventHandler(this.tool100_Click); // // tool200 // this.tool200.Name = "tool200"; this.tool200.Size = new System.Drawing.Size(130, 22); this.tool200.Text = "200%"; this.tool200.Click += new System.EventHandler(this.tool200_Click); // // tool400 // this.tool400.Name = "tool400"; this.tool400.Size = new System.Drawing.Size(130, 22); this.tool400.Text = "400%"; this.tool400.Click += new System.EventHandler(this.tool400_Click); // // toolWhole // this.toolWhole.Name = "toolWhole"; this.toolWhole.Size = new System.Drawing.Size(130, 22); this.toolWhole.Text = "&Whole Page"; this.toolWhole.Click += new System.EventHandler(this.toolWhole_Click); // // toolPageWidth // this.toolPageWidth.Name = "toolPageWidth"; this.toolPageWidth.Size = new System.Drawing.Size(130, 22); this.toolPageWidth.Text = "&Page Width"; this.toolPageWidth.Click += new System.EventHandler(this.toolPageWidth_Click); // // tspbSearch // this.tspbSearch.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.tspbSearch.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.txtSearch, this.toolSearch, this.toolStripSeparator3, this.toolSearchNext}); this.tspbSearch.Image = ((System.Drawing.Image)(resources.GetObject("tspbSearch.Image"))); this.tspbSearch.ImageTransparentColor = System.Drawing.Color.Magenta; this.tspbSearch.Name = "tspbSearch"; this.tspbSearch.Size = new System.Drawing.Size(45, 22); this.tspbSearch.Text = "查找"; // // txtSearch // this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(100, 21); // // toolSearch // this.toolSearch.Name = "toolSearch"; this.toolSearch.Size = new System.Drawing.Size(160, 22); this.toolSearch.Text = "查找"; this.toolSearch.Click += new System.EventHandler(this.toolSearch_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(157, 6); // // toolSearchNext // this.toolSearchNext.Name = "toolSearchNext"; this.toolSearchNext.Size = new System.Drawing.Size(160, 22); this.toolSearchNext.Text = "查找下一个"; this.toolSearchNext.Click += new System.EventHandler(this.toolSearchNext_Click); // // tspbNavigation // this.tspbNavigation.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.tspbNavigation.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolFirst, this.toolLast, this.toolPrevious, this.toolNext, this.toolStripSeparator2, this.toolJump, this.txtJump}); this.tspbNavigation.Image = ((System.Drawing.Image)(resources.GetObject("tspbNavigation.Image"))); this.tspbNavigation.ImageTransparentColor = System.Drawing.Color.Magenta; this.tspbNavigation.Name = "tspbNavigation"; this.tspbNavigation.Size = new System.Drawing.Size(45, 22); this.tspbNavigation.Text = "导航"; // // toolFirst // this.toolFirst.Name = "toolFirst"; this.toolFirst.Size = new System.Drawing.Size(178, 22); this.toolFirst.Text = "首页"; this.toolFirst.Click += new System.EventHandler(this.toolFirst_Click); // // toolLast // this.toolLast.Name = "toolLast"; this.toolLast.Size = new System.Drawing.Size(178, 22); this.toolLast.Text = "末页"; this.toolLast.Click += new System.EventHandler(this.toolLast_Click); // // toolPrevious // this.toolPrevious.Name = "toolPrevious"; this.toolPrevious.Size = new System.Drawing.Size(178, 22); this.toolPrevious.Text = "上页"; this.toolPrevious.Click += new System.EventHandler(this.toolPrevious_Click); // // toolNext // this.toolNext.Name = "toolNext"; this.toolNext.Size = new System.Drawing.Size(178, 22); this.toolNext.Text = "下页"; this.toolNext.Click += new System.EventHandler(this.toolNext_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(175, 6); // // toolJump // this.toolJump.Name = "toolJump"; this.toolJump.Size = new System.Drawing.Size(178, 22); this.toolJump.Text = "Jump to Specific:"; this.toolJump.Click += new System.EventHandler(this.toolJump_Click); // // txtJump // this.txtJump.Name = "txtJump"; this.txtJump.Size = new System.Drawing.Size(100, 21); // // toolStripButton1 // this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(6, 25); // // rptViewer // this.rptViewer.Dock = System.Windows.Forms.DockStyle.Fill; reportDataSource3.Name = "dsTest_Test"; reportDataSource3.Value = this.TestBindingSource; this.rptViewer.LocalReport.DataSources.Add(reportDataSource3); this.rptViewer.LocalReport.ReportEmbeddedResource = "ReportProject.Report1.rdlc"; this.rptViewer.Location = new System.Drawing.Point(0, 25); this.rptViewer.Name = "rptViewer"; this.rptViewer.ShowToolBar = false; this.rptViewer.Size = new System.Drawing.Size(641, 486); this.rptViewer.TabIndex = 1; // // PreviewDialog // this.PreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.PreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.PreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.PreviewDialog.Enabled = true; this.PreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("PreviewDialog.Icon"))); this.PreviewDialog.Name = "printPreviewDialog1"; this.PreviewDialog.Visible = false; // // ReportViewer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(641, 511); this.Controls.Add(this.rptViewer); this.Controls.Add(this.dnReport); this.Name = "ReportViewer"; this.Text = "报表打印"; this.Load += new System.EventHandler(this.ReportViewer_Load); ((System.ComponentModel.ISupportInitialize)(this.TestBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dnReport)).EndInit(); this.dnReport.ResumeLayout(false); this.dnReport.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
public Stream generate_pdf(string id) { try { //ReportDataSource rds = new ReportDataSource(); // LocalReport report = new LocalReport(); //report.Dispose(); //Microsoft.Reporting.WebForms.ReportDataSource rds = new Microsoft.Reporting.WebForms.ReportDataSource(); Microsoft.Reporting.WinForms.ReportDataSource rds = new Microsoft.Reporting.WinForms.ReportDataSource(); DataSet n = new DataSet(); n = ges.ReturnData("select * from rapport_bon where id_commande=" + Convert.ToInt16(id) + " ", "rapport_bon"); rowCount = n.Tables[0].Rows.Count; rds.Value = n.Tables[0]; rds.Name = "DataSet1";//This refers to the dataset name in the RDLC file // //ReportViewer1.LocalReport.ReportPath = PrjNamespace + "." + " Report1.rdlc"; //report.ReportPath = "/Report1.rdlc"; ////report.ReportPath = "Report1.rdlc"; // report.DataSources.Add(rds); //ReportViewer1.LocalReport.DataSources.Add(rds); //Byte[] mybytes = ReportViewer1.LocalReport.Render("PDF", null, out extension, out enconding, out mimetype, out streams, out warrings); Microsoft.Reporting.WinForms.ReportViewer viewer = new Microsoft.Reporting.WinForms.ReportViewer(); viewer.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local; ////Microsoft.Reporting.WebForms.ReportViewer viewer = new Microsoft.Reporting.WebForms.ReportViewer(); ////viewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local; // viewer.LocalReport.ReportPath = "C:\\Users\\440Z2\\Documents\\Visual Studio 2013\\Projects\\WebApplication4\\WebApplication4\\Report1.rdlc"; // viewer.LocalReport.ReportPath = "C:\\Users\\440Z2\\Documents\\Visual Studio 2013\\Projects\\WcfService\\WcfService\\Report1.rdlc"; viewer.LocalReport.ReportPath = "C:\\Users\\440Z2\\Documents\\Visual Studio 2013\\Projects\\web service pdf\\WcfService\\Report1.rdlc"; viewer.LocalReport.DataSources.Add(rds); // Add datasource here //Here is the part the program stop at //Byte[] mybytes = report.Render("PDF", null, out extension, out enconding, out mimetype, out streams, out warrings); byte[] mybytes = viewer.LocalReport.Render("PDF"); // byte[] mybytes = viewer.ServerReport.Render("PDF"); // Byte[] mybytes = report.Render("PDF"); //for exporting to PDF FileStream fs; using (fs = File.Create(@"C:\Users\440Z2\SalSlip.pdf")) { fs.Write(mybytes, 0, mybytes.Length); } WebOperationContext.Current.OutgoingResponse.Headers.Add("Content_Type", "Application/pdf"); WebOperationContext.Current.OutgoingResponse.ContentType = "application/pdf"; WebOperationContext.Current.OutgoingResponse.ContentLength = mybytes.Length; return(new MemoryStream(mybytes)); //response = HttpContext.Current.Response; //response.AddHeader("Content-Type", "Application/pdf"); //response.BinaryWrite(mybytes); // create the file //response.Flush(); // rps = "toute est bi1 passe"; //return rps; } catch (Exception ex) { return(null); } }
static void bkgExport_DoWork(object sender, DoWorkEventArgs e) { MemoryStream m_rdl; // get the new thread argument. ArrayList al = e.Argument as ArrayList; TDSettings.GlobalSettingsRow savedGlobalSettings = _appSettings.GetGlobalSettings(); #region check file system settings string fileName = "BugList"; string fileExtention = al[1].ToString(); string outputFile = savedGlobalSettings.ReportFilesPath + "\\BugList" + al[1].ToString(); if (!Directory.Exists(savedGlobalSettings.ReportFilesPath)) { MessageBox.Show(String.Format(Messages.ExportFolderDoesNotExist)); return; } string checkedOutFileName = outputFile; int i = 0; while (File.Exists(checkedOutFileName)) { checkedOutFileName = String.Concat(Path.Combine(savedGlobalSettings.ReportFilesPath, fileName), String.Format("({0})", i++), fileExtention); } #endregion BackgroundWorker bkgWork = sender as BackgroundWorker; try { bkgWork.ReportProgress(0); DataView dw = al[0] as DataView; if (dw != null) { m_rdl = GenerateRdl((List<string>)al[3], (List<string>)al[4], (List<int>)al[5]); Microsoft.Reporting.WinForms.ReportViewer _reportViewer = new Microsoft.Reporting.WinForms.ReportViewer(); //BindingSource bindingSource1 = new BindingSource(); //Microsoft.Reporting.WinForms.ReportDataSource rptSource2 = new Microsoft.Reporting.WinForms.ReportDataSource("BSI_BusinessEntities_DummyBug", bindingSource1); //_reportViewer.LocalReport.DataSources.Add(rptSource2); //_reportViewer.LocalReport.ReportEmbeddedResource = "BSI.UI.Reports.Report_Bugs.rdlc"; //bindingSource1.DataSource = dw; //_reportViewer.RefreshReport(); BindingSource bindingSource1 = new BindingSource(); Microsoft.Reporting.WinForms.ReportDataSource rptSource2 = new Microsoft.Reporting.WinForms.ReportDataSource("MyData", bindingSource1); _reportViewer.LocalReport.DataSources.Add(rptSource2); _reportViewer.LocalReport.LoadReportDefinition(m_rdl); bindingSource1.DataSource = dw; _reportViewer.RefreshReport(); bkgWork.ReportProgress(65); Microsoft.Reporting.WinForms.LocalReport lr = _reportViewer.LocalReport; // get the path where the files are saved. Microsoft.Reporting.WinForms.Warning[] warnings; string[] streamids; string mimeType = String.Empty; string encoding = String.Empty; string extension = String.Empty; string deviceInfo = String.Empty; byte[] bytes = null; switch (al[1].ToString()) { case ".pdf": bytes = lr.Render("PDF", deviceInfo, out mimeType, out encoding, out extension, out streamids, out warnings); break; case ".xls": bytes = lr.Render("Excel", null, out mimeType, out encoding, out extension, out streamids, out warnings); break; } FileStream fs = new FileStream(checkedOutFileName, FileMode.Create); fs.Write(bytes, 0, bytes.Length); fs.Close(); bkgWork.ReportProgress(80); System.Diagnostics.Process process = new System.Diagnostics.Process(); process = new System.Diagnostics.Process(); process.StartInfo.FileName = checkedOutFileName; process.Start(); } } catch (Exception ex) { //if no application is associated with the file type.... if (ex.Message.Contains(ERROR_TOKEN)) OpenAs(checkedOutFileName); else { MyLogger.Write(ex, "bkgExport_DoWork", LoggingCategory.Exception); } } finally { e.Result = al[2]; if (bkgWork != null) { bkgWork.ReportProgress(100); } } }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource2 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.ZavrsniDataSet = new Zavrsni_rad.ZavrsniDataSet(); this.TrkacBindingSource = new System.Windows.Forms.BindingSource(this.components); this.TrkacTableAdapter = new Zavrsni_rad.ZavrsniDataSetTableAdapters.TrkacTableAdapter(); this.OsobaBindingSource = new System.Windows.Forms.BindingSource(this.components); this.OsobaTableAdapter = new Zavrsni_rad.ZavrsniDataSetTableAdapters.OsobaTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.ZavrsniDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TrkacBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.OsobaBindingSource)).BeginInit(); this.SuspendLayout(); // // reportViewer1 // reportDataSource1.Name = "kura"; reportDataSource1.Value = this.TrkacBindingSource; reportDataSource2.Name = "pica"; reportDataSource2.Value = this.OsobaBindingSource; this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1); this.reportViewer1.LocalReport.DataSources.Add(reportDataSource2); this.reportViewer1.LocalReport.ReportEmbeddedResource = "Zavrsni_rad.Report1.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(2, 1); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.ServerReport.BearerToken = null; this.reportViewer1.Size = new System.Drawing.Size(799, 449); this.reportViewer1.TabIndex = 0; this.reportViewer1.Load += new System.EventHandler(this.reportViewer1_Load); // // ZavrsniDataSet // this.ZavrsniDataSet.DataSetName = "ZavrsniDataSet"; this.ZavrsniDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // TrkacBindingSource // this.TrkacBindingSource.DataMember = "Trkac"; this.TrkacBindingSource.DataSource = this.ZavrsniDataSet; // // TrkacTableAdapter // this.TrkacTableAdapter.ClearBeforeFill = true; // // OsobaBindingSource // this.OsobaBindingSource.DataMember = "Osoba"; this.OsobaBindingSource.DataSource = this.ZavrsniDataSet; // // OsobaTableAdapter // this.OsobaTableAdapter.ClearBeforeFill = true; // // ReportForm1 // 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.reportViewer1); this.Name = "ReportForm1"; this.ShowIcon = false; this.Text = "Report rezultata"; this.Load += new System.EventHandler(this.ReportForm1_Load); ((System.ComponentModel.ISupportInitialize)(this.ZavrsniDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TrkacBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.OsobaBindingSource)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChangeListItemAsapuwa)); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource(); Microsoft.Reporting.WinForms.ReportDataSource reportDataSource2 = new Microsoft.Reporting.WinForms.ReportDataSource(); this.changeListReportBindingSource = new System.Windows.Forms.BindingSource(this.components); this.mahamevnainfoDataSet = new MahamewnawaInfo.mahamevnainfoDataSet(); this.UtilBindingSource = new System.Windows.Forms.BindingSource(this.components); this.closeButton = new System.Windows.Forms.Button(); this.minimizeButton = new System.Windows.Forms.Button(); this.captionPanel = new System.Windows.Forms.Panel(); this.statusPanel = new System.Windows.Forms.Panel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.numberOfKutiLbl = new System.Windows.Forms.Label(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.bhikkuListReportPnl = new System.Windows.Forms.Panel(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.printIcon = new DevComponents.DotNetBar.ButtonX(); this.NoImage = new DevComponents.DotNetBar.ButtonItem(); this.printWithImage = new DevComponents.DotNetBar.ButtonItem(); this.printWithImagePreview = new DevComponents.DotNetBar.ButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.changeListReportBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mahamevnainfoDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.UtilBindingSource)).BeginInit(); this.statusPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // changeListReportBindingSource // this.changeListReportBindingSource.DataMember = "ChangeListReport"; this.changeListReportBindingSource.DataSource = this.mahamevnainfoDataSet; // // mahamevnainfoDataSet // this.mahamevnainfoDataSet.DataSetName = "mahamevnainfoDataSet"; this.mahamevnainfoDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // UtilBindingSource // this.UtilBindingSource.DataMember = "Util"; this.UtilBindingSource.DataSource = this.mahamevnainfoDataSet; // // closeButton // this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.closeButton.BackColor = System.Drawing.Color.Transparent; this.closeButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.closeButton.FlatAppearance.BorderColor = System.Drawing.Color.LightBlue; this.closeButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Gainsboro; this.closeButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DodgerBlue; this.closeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.closeButton.Location = new System.Drawing.Point(0, 0); this.closeButton.Name = "closeButton"; this.closeButton.Size = new System.Drawing.Size(20, 20); this.closeButton.TabIndex = 0; this.closeButton.Text = "X"; this.closeButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.closeButton.UseVisualStyleBackColor = false; this.closeButton.Click += new System.EventHandler(this.closeButton_Click); // // minimizeButton // this.minimizeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.minimizeButton.BackColor = System.Drawing.Color.Transparent; this.minimizeButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.minimizeButton.FlatAppearance.BorderColor = System.Drawing.Color.LightBlue; this.minimizeButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Gainsboro; this.minimizeButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DodgerBlue; this.minimizeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.minimizeButton.Font = new System.Drawing.Font("Perpetua Titling MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.minimizeButton.Location = new System.Drawing.Point(0, 0); this.minimizeButton.Name = "minimizeButton"; this.minimizeButton.Size = new System.Drawing.Size(20, 20); this.minimizeButton.TabIndex = 0; this.minimizeButton.Text = "-"; this.minimizeButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.minimizeButton.UseVisualStyleBackColor = false; this.minimizeButton.Visible = false; this.minimizeButton.Click += new System.EventHandler(this.minizeButton_Click); // // captionPanel // this.captionPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.captionPanel.BackColor = System.Drawing.Color.SkyBlue; this.captionPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.captionPanel.Location = new System.Drawing.Point(0, 0); this.captionPanel.Name = "captionPanel"; this.captionPanel.Size = new System.Drawing.Size(200, 25); this.captionPanel.TabIndex = 0; this.captionPanel.MouseClick += new System.Windows.Forms.MouseEventHandler(this.nameLabel_MouseClick); this.captionPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel_MouseDown); this.captionPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel_MouseMove); this.captionPanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel_MouseUp); // // statusPanel // this.statusPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.statusPanel.BackColor = System.Drawing.Color.SkyBlue; this.statusPanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.statusPanel.Controls.Add(this.pictureBox1); this.statusPanel.Location = new System.Drawing.Point(0, 0); this.statusPanel.Name = "statusPanel"; this.statusPanel.Size = new System.Drawing.Size(200, 15); this.statusPanel.TabIndex = 0; this.statusPanel.MouseClick += new System.Windows.Forms.MouseEventHandler(this.nameLabel_MouseClick); this.statusPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel_MouseDown); this.statusPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel_MouseMove); this.statusPanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel_MouseUp); // // pictureBox1 // this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.pictureBox1.Image = global::MahamewnawaInfo.Properties.Resources.xf_resize_icon; this.pictureBox1.Location = new System.Drawing.Point(178, 146); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(12, 12); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox1.TabIndex = 1; this.pictureBox1.TabStop = false; this.pictureBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseDown); this.pictureBox1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseMove); this.pictureBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseUp); // // timer1 // this.timer1.Interval = 1000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // numberOfKutiLbl // this.numberOfKutiLbl.Location = new System.Drawing.Point(0, 0); this.numberOfKutiLbl.Name = "numberOfKutiLbl"; this.numberOfKutiLbl.Size = new System.Drawing.Size(100, 23); this.numberOfKutiLbl.TabIndex = 0; // // printDialog1 // this.printDialog1.UseEXDialog = true; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // bhikkuListReportPnl // this.bhikkuListReportPnl.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.bhikkuListReportPnl.Location = new System.Drawing.Point(0, 0); this.bhikkuListReportPnl.Name = "bhikkuListReportPnl"; this.bhikkuListReportPnl.Size = new System.Drawing.Size(200, 100); this.bhikkuListReportPnl.TabIndex = 0; // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; reportDataSource1.Name = "DataSet1"; reportDataSource1.Value = this.changeListReportBindingSource; reportDataSource2.Name = "DataSet2"; reportDataSource2.Value = this.UtilBindingSource; this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1); this.reportViewer1.LocalReport.DataSources.Add(reportDataSource2); this.reportViewer1.LocalReport.ReportEmbeddedResource = "MahamewnawaInfo.Reporting.Reports.AsapuBhikkuWithImage.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(737, 752); this.reportViewer1.TabIndex = 0; // // printIcon // this.printIcon.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.printIcon.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.printIcon.BackColor = System.Drawing.Color.Black; this.printIcon.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.printIcon.Image = global::MahamewnawaInfo.Properties.Resources.print1; this.printIcon.Location = new System.Drawing.Point(0, 0); this.printIcon.Name = "printIcon"; this.printIcon.Size = new System.Drawing.Size(45, 20); this.printIcon.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.printIcon.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.NoImage, this.printWithImage, this.printWithImagePreview }); this.printIcon.TabIndex = 0; this.printIcon.Click += new System.EventHandler(this.printIcon_Click); // // NoImage // this.NoImage.Name = "NoImage"; this.NoImage.Text = "No Image"; this.NoImage.Click += new System.EventHandler(this.printPreview_Click); // // printWithImage // this.printWithImage.Enabled = false; this.printWithImage.Name = "printWithImage"; this.printWithImage.Text = "Print with image"; this.printWithImage.Click += new System.EventHandler(this.printWithImage_Click); // // printWithImagePreview // this.printWithImagePreview.Enabled = false; this.printWithImagePreview.Name = "printWithImagePreview"; this.printWithImagePreview.Text = "Print Image Preview"; this.printWithImagePreview.Click += new System.EventHandler(this.printWithImagePreview_Click); // // ChangeListItemAsapuwa // this.CanvasColor = System.Drawing.Color.DimGray; this.Controls.Add(this.closeButton); this.Controls.Add(this.minimizeButton); this.Controls.Add(this.captionPanel); this.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.Style.BorderWidth = 5; this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.nameLabel_MouseClick); ((System.ComponentModel.ISupportInitialize)(this.changeListReportBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mahamevnainfoDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.UtilBindingSource)).EndInit(); this.statusPanel.ResumeLayout(false); this.statusPanel.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); }