/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ResumenPU)); this.sqlDAResumen = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.dsDGObra1 = new LancNeo.dsDGObra(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.panel1 = new System.Windows.Forms.Panel(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.cbkMortero = new System.Windows.Forms.CheckBox(); this.label3 = new System.Windows.Forms.Label(); this.cbkFMin = new System.Windows.Forms.CheckBox(); this.dtpIni = new System.Windows.Forms.DateTimePicker(); this.cbkFMax = new System.Windows.Forms.CheckBox(); this.cbkTotal = new System.Windows.Forms.CheckBox(); this.cbkPrefijo = new System.Windows.Forms.CheckBox(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.dtpFin = new System.Windows.Forms.DateTimePicker(); this.label4 = new System.Windows.Forms.Label(); this.crvResumen = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.sqlDAConcepto = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.dsResumenPU1 = new LancNeo.dsResumenPU(); this.sqlDAFechas = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.cryRepResumenPu1 = new LancNeo.CryRepResumenPu(); this.sqlDAPresupuestoz = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand4 = new System.Data.SqlClient.SqlCommand(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsResumenPU1)).BeginInit(); this.SuspendLayout(); // // sqlDAResumen // this.sqlDAResumen.SelectCommand = this.sqlSelectCommand1; this.sqlDAResumen.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "ResumenTrabajos", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Column1", "Column1"), new System.Data.Common.DataColumnMapping("IdConcepto", "IdConcepto"), new System.Data.Common.DataColumnMapping("Column2", "Column2"), new System.Data.Common.DataColumnMapping("Column3", "Column3"), new System.Data.Common.DataColumnMapping("Column4", "Column4"), new System.Data.Common.DataColumnMapping("Column5", "Column5"), new System.Data.Common.DataColumnMapping("Column6", "Column6") }) }); this.sqlDAResumen.RowUpdated += new System.Data.SqlClient.SqlRowUpdatedEventHandler(this.sqlDAResumen_RowUpdated); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[ResumenPrecios]"; this.sqlSelectCommand1.CommandTimeout = 120; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@FfMax", System.Data.SqlDbType.SmallDateTime, 4), new System.Data.SqlClient.SqlParameter("@FfMin", System.Data.SqlDbType.SmallDateTime, 4), new System.Data.SqlClient.SqlParameter("@Mortero", System.Data.SqlDbType.Bit, 1) }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // dsDGObra1 // this.dsDGObra1.DataSetName = "dsDGObra"; this.dsDGObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsDGObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.cbkMortero); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.cbkFMin); this.panel1.Controls.Add(this.dtpIni); this.panel1.Controls.Add(this.cbkFMax); this.panel1.Controls.Add(this.cbkTotal); this.panel1.Controls.Add(this.cbkPrefijo); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Controls.Add(this.dtpFin); this.panel1.Controls.Add(this.label4); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(848, 70); this.panel1.TabIndex = 12; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(774, 4); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 64); this.btnVistaPrevia.TabIndex = 45; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // cbkMortero // this.cbkMortero.Checked = true; this.cbkMortero.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkMortero.ForeColor = System.Drawing.Color.White; this.cbkMortero.Location = new System.Drawing.Point(342, 9); this.cbkMortero.Name = "cbkMortero"; this.cbkMortero.Size = new System.Drawing.Size(102, 24); this.cbkMortero.TabIndex = 51; this.cbkMortero.Text = "Incluye mortero"; this.cbkMortero.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(704, 10); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(37, 13); this.label3.TabIndex = 50; this.label3.Text = "Inicial:"; this.label3.Visible = false; // // cbkFMin // this.cbkFMin.ForeColor = System.Drawing.Color.White; this.cbkFMin.Location = new System.Drawing.Point(458, 9); this.cbkFMin.Name = "cbkFMin"; this.cbkFMin.Size = new System.Drawing.Size(148, 24); this.cbkFMin.TabIndex = 49; this.cbkFMin.Text = "Requiere fecha mínima"; this.cbkFMin.CheckedChanged += new System.EventHandler(this.cbkFMin_CheckedChanged); // // dtpIni // this.dtpIni.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpIni.Location = new System.Drawing.Point(614, 10); this.dtpIni.Name = "dtpIni"; this.dtpIni.Size = new System.Drawing.Size(80, 20); this.dtpIni.TabIndex = 48; this.dtpIni.Visible = false; // // cbkFMax // this.cbkFMax.ForeColor = System.Drawing.Color.White; this.cbkFMax.Location = new System.Drawing.Point(458, 38); this.cbkFMax.Name = "cbkFMax"; this.cbkFMax.Size = new System.Drawing.Size(148, 24); this.cbkFMax.TabIndex = 47; this.cbkFMax.Text = "Requiere fecha máxima"; this.cbkFMax.CheckedChanged += new System.EventHandler(this.cbkFMax_CheckedChanged); // // cbkTotal // this.cbkTotal.Checked = true; this.cbkTotal.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkTotal.ForeColor = System.Drawing.Color.White; this.cbkTotal.Location = new System.Drawing.Point(187, 38); this.cbkTotal.Name = "cbkTotal"; this.cbkTotal.Size = new System.Drawing.Size(148, 24); this.cbkTotal.TabIndex = 46; this.cbkTotal.Text = "Incluye total de muestas"; // // cbkPrefijo // this.cbkPrefijo.Checked = true; this.cbkPrefijo.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkPrefijo.ForeColor = System.Drawing.Color.White; this.cbkPrefijo.Location = new System.Drawing.Point(342, 38); this.cbkPrefijo.Name = "cbkPrefijo"; this.cbkPrefijo.Size = new System.Drawing.Size(74, 24); this.cbkPrefijo.TabIndex = 36; this.cbkPrefijo.Text = "No prefijo"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(178, 10); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsDGObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(214, 10); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(2, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(200, 56); this.label1.TabIndex = 0; this.label1.Text = "Resumen de trabajos de laboratorio PU"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(784, 22); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // dtpFin // this.dtpFin.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpFin.Location = new System.Drawing.Point(614, 38); this.dtpFin.Name = "dtpFin"; this.dtpFin.Size = new System.Drawing.Size(80, 20); this.dtpFin.TabIndex = 21; this.dtpFin.Visible = false; this.dtpFin.ValueChanged += new System.EventHandler(this.dtpFin_ValueChanged); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(704, 38); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(32, 13); this.label4.TabIndex = 22; this.label4.Text = "Final:"; this.label4.Visible = false; // // crvResumen // this.crvResumen.ActiveViewIndex = -1; this.crvResumen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvResumen.Cursor = System.Windows.Forms.Cursors.Default; this.crvResumen.Dock = System.Windows.Forms.DockStyle.Fill; this.crvResumen.EnableRefresh = false; this.crvResumen.Location = new System.Drawing.Point(0, 70); this.crvResumen.Name = "crvResumen"; this.crvResumen.ShowCloseButton = false; this.crvResumen.ShowGroupTreeButton = false; this.crvResumen.ShowLogo = false; this.crvResumen.Size = new System.Drawing.Size(848, 311); this.crvResumen.TabIndex = 13; this.crvResumen.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; // // sqlDAConcepto // this.sqlDAConcepto.SelectCommand = this.sqlSelectCommand3; this.sqlDAConcepto.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Concepto", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdConcepto", "IdConcepto"), new System.Data.Common.DataColumnMapping("Concepto", "Concepto") }) }); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = "SELECT IdConcepto, Concepto\r\nFROM Concepto\r\nWHERE (IdConcepto > 0" + ")\r\nORDER BY IdConcepto"; this.sqlSelectCommand3.Connection = this.sqlConn; // // dsResumenPU1 // this.dsResumenPU1.DataSetName = "dsResumenPU"; this.dsResumenPU1.Locale = new System.Globalization.CultureInfo("en-US"); this.dsResumenPU1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAFechas // this.sqlDAFechas.SelectCommand = this.sqlSelectCommand2; this.sqlDAFechas.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Fechas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Fi1", "Fi1"), new System.Data.Common.DataColumnMapping("Ff1", "Ff1"), new System.Data.Common.DataColumnMapping("Fi2", "Fi2"), new System.Data.Common.DataColumnMapping("Ff2", "Ff2"), new System.Data.Common.DataColumnMapping("Fi3", "Fi3"), new System.Data.Common.DataColumnMapping("Ff3", "Ff3"), new System.Data.Common.DataColumnMapping("Fi4", "Fi4"), new System.Data.Common.DataColumnMapping("Ff4", "Ff4") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "[Fechas]"; this.sqlSelectCommand2.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@FfMax", System.Data.SqlDbType.SmallDateTime, 4), new System.Data.SqlClient.SqlParameter("@FfMin", System.Data.SqlDbType.SmallDateTime, 4), new System.Data.SqlClient.SqlParameter("@Mortero", System.Data.SqlDbType.Bit, 1) }); // // sqlDAPresupuestoz // this.sqlDAPresupuestoz.SelectCommand = this.sqlSelectCommand4; this.sqlDAPresupuestoz.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("PresupuestoZ", "PresupuestoZ"), new System.Data.Common.DataColumnMapping("Duracion", "Duracion") }) }); // // sqlSelectCommand4 // this.sqlSelectCommand4.CommandText = resources.GetString("sqlSelectCommand4.CommandText"); this.sqlSelectCommand4.Connection = this.sqlConn; this.sqlSelectCommand4.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // ResumenPU // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(848, 381); this.Controls.Add(this.crvResumen); this.Controls.Add(this.panel1); this.Name = "ResumenPU"; this.Text = "Resumen de trabajos de laboratorio por precios unitarios"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.ResumenPU_Load); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsResumenPU1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InfVolimetrica)); this.sqlDAInfVolumetrica = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.dsInfVolumetrica1 = new LancNeo.dsInfVolumetrica(); this.dsFirmas1 = new LancNeo.dsFirmas(); this.sqlDAFirmas = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand7 = new System.Data.SqlClient.SqlCommand(); this.dsBusObra1 = new LancNeo.dsBusObra(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.panel1 = new System.Windows.Forms.Panel(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsVolumetricaInf1 = new LancNeo.dsVolumetricaInf(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.chbTodos = new System.Windows.Forms.CheckBox(); this.chbLab = new System.Windows.Forms.CheckBox(); this.chbLeyenda = new System.Windows.Forms.CheckBox(); this.chbFormato = new System.Windows.Forms.CheckBox(); this.txtFolioFin = new System.Windows.Forms.TextBox(); this.txtFolioIni = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.chbDuplicado = new System.Windows.Forms.CheckBox(); this.sqlDAVolumentricaInf = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.crvInfVolumetrica = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.cryRepVolumetrica1 = new LancNeo.CryRepVolumetrica(); this.sqlDANorma = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.chbRespaldo = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.dsInfVolumetrica1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsVolumetricaInf1)).BeginInit(); this.SuspendLayout(); // // sqlDAInfVolumetrica // this.sqlDAInfVolumetrica.SelectCommand = this.sqlSelectCommand1; this.sqlDAInfVolumetrica.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "VolumetricoRep", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("Lab", "Lab"), new System.Data.Common.DataColumnMapping("Anos", "Anos"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Hoja", "Hoja"), new System.Data.Common.DataColumnMapping("Observac", "Observac"), new System.Data.Common.DataColumnMapping("Prueba", "Prueba"), new System.Data.Common.DataColumnMapping("Fecha", "Fecha"), new System.Data.Common.DataColumnMapping("IdLaboratorio", "IdLaboratorio"), new System.Data.Common.DataColumnMapping("Material", "Material"), new System.Data.Common.DataColumnMapping("Tipoprueba", "Tipoprueba"), new System.Data.Common.DataColumnMapping("Masa", "Masa"), new System.Data.Common.DataColumnMapping("Optimo", "Optimo"), new System.Data.Common.DataColumnMapping("Razonsocial", "Razonsocial"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("Colonia", "Colonia"), new System.Data.Common.DataColumnMapping("Zona", "Zona") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[VolumetricoRep]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@FolioIni", System.Data.SqlDbType.VarChar, 10), new System.Data.SqlClient.SqlParameter("@FOlioFin", System.Data.SqlDbType.VarChar, 10) }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // dsInfVolumetrica1 // this.dsInfVolumetrica1.DataSetName = "dsInfVolumetrica"; this.dsInfVolumetrica1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsInfVolumetrica1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dsFirmas1 // this.dsFirmas1.DataSetName = "dsFirmas"; this.dsFirmas1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsFirmas1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAFirmas // this.sqlDAFirmas.SelectCommand = this.sqlSelectCommand7; this.sqlDAFirmas.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Firmas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdFirma", "IdFirma"), new System.Data.Common.DataColumnMapping("Nombre", "Nombre"), new System.Data.Common.DataColumnMapping("Cargo", "Cargo"), new System.Data.Common.DataColumnMapping("Imprime", "Imprime") }) }); // // sqlSelectCommand7 // this.sqlSelectCommand7.CommandText = "SELECT IdFirma, Nombre, Cargo, Imprime\r\nFROM Firmas\r\nWHERE (Impri" + "me = 1) AND (Volumetrica < 6)\r\nORDER BY Volumetrica"; this.sqlSelectCommand7.Connection = this.sqlConn; // // dsBusObra1 // this.dsBusObra1.DataSetName = "dsBusObra"; this.dsBusObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.chbRespaldo); this.panel1.Controls.Add(this.chbTodos); this.panel1.Controls.Add(this.chbLab); this.panel1.Controls.Add(this.chbLeyenda); this.panel1.Controls.Add(this.chbFormato); this.panel1.Controls.Add(this.txtFolioFin); this.panel1.Controls.Add(this.txtFolioIni); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Controls.Add(this.chbDuplicado); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1028, 97); this.panel1.TabIndex = 12; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); // // buscaBtn1 // this.buscaBtn1.AnchoColTit = true; this.buscaBtn1.AnchoDlgBusq = 650; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsVolumetricaInf1.Volumetrico; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(418, 4); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 64); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsVolumetricaInf1 // this.dsVolumetricaInf1.DataSetName = "dsVolumetricaInf"; this.dsVolumetricaInf1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsVolumetricaInf1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(657, 5); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 63); this.btnVistaPrevia.TabIndex = 11; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Load += new System.EventHandler(this.btnVistaPrevia_Load); this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // chbTodos // this.chbTodos.ForeColor = System.Drawing.Color.White; this.chbTodos.Location = new System.Drawing.Point(481, 69); this.chbTodos.Name = "chbTodos"; this.chbTodos.Size = new System.Drawing.Size(138, 25); this.chbTodos.TabIndex = 37; this.chbTodos.Text = "Todos los informes"; // // chbLab // this.chbLab.Checked = true; this.chbLab.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab.ForeColor = System.Drawing.Color.White; this.chbLab.Location = new System.Drawing.Point(341, 69); this.chbLab.Name = "chbLab"; this.chbLab.Size = new System.Drawing.Size(137, 25); this.chbLab.TabIndex = 36; this.chbLab.Text = "Incluye laboratorio"; // // chbLeyenda // this.chbLeyenda.ForeColor = System.Drawing.Color.White; this.chbLeyenda.Location = new System.Drawing.Point(202, 69); this.chbLeyenda.Name = "chbLeyenda"; this.chbLeyenda.Size = new System.Drawing.Size(116, 25); this.chbLeyenda.TabIndex = 35; this.chbLeyenda.Text = "Formato leyenda"; // // chbFormato // this.chbFormato.ForeColor = System.Drawing.Color.White; this.chbFormato.Location = new System.Drawing.Point(14, 69); this.chbFormato.Name = "chbFormato"; this.chbFormato.Size = new System.Drawing.Size(180, 25); this.chbFormato.TabIndex = 34; this.chbFormato.Text = "Incluye imagen de acreditación"; // // txtFolioFin // this.txtFolioFin.Location = new System.Drawing.Point(556, 40); this.txtFolioFin.Name = "txtFolioFin"; this.txtFolioFin.Size = new System.Drawing.Size(54, 20); this.txtFolioFin.TabIndex = 28; this.txtFolioFin.Visible = false; // // txtFolioIni // this.txtFolioIni.Location = new System.Drawing.Point(556, 12); this.txtFolioIni.Name = "txtFolioIni"; this.txtFolioIni.Size = new System.Drawing.Size(54, 20); this.txtFolioIni.TabIndex = 27; // // label4 // this.label4.AutoSize = true; this.label4.ForeColor = System.Drawing.Color.White; this.label4.Location = new System.Drawing.Point(494, 42); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(54, 13); this.label4.TabIndex = 11; this.label4.Text = "Folio final:"; this.label4.Visible = false; // // label3 // this.label3.AutoSize = true; this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(486, 14); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(61, 13); this.label3.TabIndex = 9; this.label3.Text = "Folio inicial:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(302, 10); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsBusObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(334, 8); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(6, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(290, 68); this.label1.TabIndex = 0; this.label1.Text = "Informe de Resultados de Masa Volumétrica Seca Máxima y contenido de agua óptimo"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(422, 32); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // chbDuplicado // this.chbDuplicado.ForeColor = System.Drawing.Color.White; this.chbDuplicado.Location = new System.Drawing.Point(326, 38); this.chbDuplicado.Name = "chbDuplicado"; this.chbDuplicado.Size = new System.Drawing.Size(88, 24); this.chbDuplicado.TabIndex = 30; this.chbDuplicado.Text = "¿Duplicado?"; // // sqlDAVolumentricaInf // this.sqlDAVolumentricaInf.SelectCommand = this.sqlSelectCommand2; this.sqlDAVolumentricaInf.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Volumetrico", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("FOLIO", "FOLIO"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("NoEco", "NoEco"), new System.Data.Common.DataColumnMapping("Semana", "Semana") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT FOLIO, IdObra, ConsObra, Finforme, NoEco, Semana FROM Volumetrico WHERE (I" + "dObra = @IdObra) ORDER BY FOLIO"; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // crvInfVolumetrica // this.crvInfVolumetrica.ActiveViewIndex = -1; this.crvInfVolumetrica.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvInfVolumetrica.Cursor = System.Windows.Forms.Cursors.Default; this.crvInfVolumetrica.Dock = System.Windows.Forms.DockStyle.Fill; this.crvInfVolumetrica.EnableRefresh = false; this.crvInfVolumetrica.Location = new System.Drawing.Point(0, 97); this.crvInfVolumetrica.Name = "crvInfVolumetrica"; this.crvInfVolumetrica.ShowCloseButton = false; this.crvInfVolumetrica.ShowGroupTreeButton = false; this.crvInfVolumetrica.ShowLogo = false; this.crvInfVolumetrica.ShowParameterPanelButton = false; this.crvInfVolumetrica.Size = new System.Drawing.Size(1028, 457); this.crvInfVolumetrica.TabIndex = 13; this.crvInfVolumetrica.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; this.crvInfVolumetrica.ToolPanelWidth = 167; // // sqlDANorma // this.sqlDANorma.SelectCommand = this.sqlSelectCommand3; this.sqlDANorma.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Normas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdNorma", "IdNorma"), new System.Data.Common.DataColumnMapping("Informe", "Informe"), new System.Data.Common.DataColumnMapping("Normas", "Normas"), new System.Data.Common.DataColumnMapping("Titulo", "Titulo"), new System.Data.Common.DataColumnMapping("IdInforme", "IdInforme") }) }); this.sqlDANorma.RowUpdated += new System.Data.SqlClient.SqlRowUpdatedEventHandler(this.sqlDataAdapter1_RowUpdated); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = "SELECT IdNorma, Informe, Normas, Titulo, IdInforme FROM Normas WHERE (IdNorma = 1" + "3) ORDER BY IdNorma"; this.sqlSelectCommand3.Connection = this.sqlConn; // // chbRespaldo // this.chbRespaldo.ForeColor = System.Drawing.Color.White; this.chbRespaldo.Location = new System.Drawing.Point(605, 71); this.chbRespaldo.Name = "chbRespaldo"; this.chbRespaldo.Size = new System.Drawing.Size(116, 24); this.chbRespaldo.TabIndex = 46; this.chbRespaldo.Text = "Respaldo"; // // InfVolimetrica // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1028, 554); this.Controls.Add(this.crvInfVolumetrica); this.Controls.Add(this.panel1); this.Name = "InfVolimetrica"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.InfVolimetrica_Load); ((System.ComponentModel.ISupportInitialize)(this.dsInfVolumetrica1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsVolumetricaInf1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InfSolda)); System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.panel1 = new System.Windows.Forms.Panel(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsSoldaMdor1 = new LancNeo.dsSoldaMdor(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.chbTodos = new System.Windows.Forms.CheckBox(); this.chbFormato = new System.Windows.Forms.CheckBox(); this.chbLeyenda = new System.Windows.Forms.CheckBox(); this.chbDuplicado = new System.Windows.Forms.CheckBox(); this.txtFolio = new System.Windows.Forms.TextBox(); this.Fecha = new System.Windows.Forms.Label(); this.cmbUnidad = new System.Windows.Forms.ComboBox(); this.dsUnidad1 = new LancNeo.dsUnidad(); this.label5 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.dsBusObra1 = new LancNeo.dsBusObra(); this.label1 = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.chbLab = new System.Windows.Forms.CheckBox(); this.chbLab1 = new System.Windows.Forms.CheckBox(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.sqlDASoldaMdor = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.crvInfSolda = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.cryRepSolda1 = new LancNeo.CryRepSolda(); this.sqlDAInfSolda = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.dsSoldaRep1 = new LancNeo.dsSoldaRep(); this.sqlDAFirmas = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand7 = new System.Data.SqlClient.SqlCommand(); this.dsFirmas1 = new LancNeo.dsFirmas(); this.sqlDAUnidad = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlDANorma = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.chbRespaldo = new System.Windows.Forms.CheckBox(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsSoldaMdor1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsUnidad1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsSoldaRep1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.chbRespaldo); this.panel1.Controls.Add(this.chbTodos); this.panel1.Controls.Add(this.chbFormato); this.panel1.Controls.Add(this.chbLeyenda); this.panel1.Controls.Add(this.chbDuplicado); this.panel1.Controls.Add(this.txtFolio); this.panel1.Controls.Add(this.Fecha); this.panel1.Controls.Add(this.cmbUnidad); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Controls.Add(this.chbLab); this.panel1.Controls.Add(this.chbLab1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(856, 97); this.panel1.TabIndex = 10; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); // // buscaBtn1 // this.buscaBtn1.AnchoColTit = true; this.buscaBtn1.AnchoDlgBusq = 650; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsSoldaMdor1.SoldaMdor; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(400, 0); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(63, 63); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsSoldaMdor1 // this.dsSoldaMdor1.DataSetName = "dsSoldaMdor"; this.dsSoldaMdor1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsSoldaMdor1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(778, 3); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 63); this.btnVistaPrevia.TabIndex = 11; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // chbTodos // this.chbTodos.Location = new System.Drawing.Point(578, 0); this.chbTodos.Name = "chbTodos"; this.chbTodos.Size = new System.Drawing.Size(141, 24); this.chbTodos.TabIndex = 77; this.chbTodos.Text = "Todos los informes"; // // chbFormato // this.chbFormato.ForeColor = System.Drawing.Color.White; this.chbFormato.Location = new System.Drawing.Point(8, 62); this.chbFormato.Name = "chbFormato"; this.chbFormato.Size = new System.Drawing.Size(184, 25); this.chbFormato.TabIndex = 35; this.chbFormato.Text = "Incluye imagen de acreditación"; // // chbLeyenda // this.chbLeyenda.ForeColor = System.Drawing.Color.White; this.chbLeyenda.Location = new System.Drawing.Point(197, 62); this.chbLeyenda.Name = "chbLeyenda"; this.chbLeyenda.Size = new System.Drawing.Size(115, 24); this.chbLeyenda.TabIndex = 34; this.chbLeyenda.Text = "Formato leyenda"; // // chbDuplicado // this.chbDuplicado.ForeColor = System.Drawing.Color.White; this.chbDuplicado.Location = new System.Drawing.Point(467, 31); this.chbDuplicado.Name = "chbDuplicado"; this.chbDuplicado.Size = new System.Drawing.Size(88, 24); this.chbDuplicado.TabIndex = 30; this.chbDuplicado.Text = "¿Duplicado?"; // // txtFolio // this.txtFolio.Location = new System.Drawing.Point(507, 0); this.txtFolio.Name = "txtFolio"; this.txtFolio.Size = new System.Drawing.Size(55, 20); this.txtFolio.TabIndex = 29; // // Fecha // this.Fecha.AutoSize = true; this.Fecha.Location = new System.Drawing.Point(467, 2); this.Fecha.Name = "Fecha"; this.Fecha.Size = new System.Drawing.Size(32, 13); this.Fecha.TabIndex = 28; this.Fecha.Text = "Folio:"; // // cmbUnidad // this.cmbUnidad.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dsUnidad1, "Unidad.Undescr", true)); this.cmbUnidad.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.dsUnidad1, "Unidad.IdUnidad", true)); this.cmbUnidad.DataSource = this.dsUnidad1.Unidad; this.cmbUnidad.DisplayMember = "Undescr"; this.cmbUnidad.Location = new System.Drawing.Point(320, 33); this.cmbUnidad.Name = "cmbUnidad"; this.cmbUnidad.Size = new System.Drawing.Size(80, 21); this.cmbUnidad.TabIndex = 25; this.cmbUnidad.ValueMember = "IdUnidad"; // // dsUnidad1 // this.dsUnidad1.DataSetName = "dsUnidad"; this.dsUnidad1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsUnidad1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label5 // this.label5.AutoSize = true; this.label5.ForeColor = System.Drawing.Color.White; this.label5.Location = new System.Drawing.Point(280, 35); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(44, 13); this.label5.TabIndex = 26; this.label5.Text = "Unidad:"; // // label2 // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(288, 3); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsBusObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(320, 2); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // dsBusObra1 // this.dsBusObra1.DataSetName = "dsBusObra"; this.dsBusObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(8, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(272, 56); this.label1.TabIndex = 0; this.label1.Text = "Informe de verificación de calidad de soldadura"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(408, 32); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // chbLab // this.chbLab.Checked = true; this.chbLab.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab.ForeColor = System.Drawing.Color.White; this.chbLab.Location = new System.Drawing.Point(323, 62); this.chbLab.Name = "chbLab"; this.chbLab.Size = new System.Drawing.Size(116, 25); this.chbLab.TabIndex = 40; this.chbLab.Text = "Incluye laboratorio"; // // chbLab1 // this.chbLab1.Checked = true; this.chbLab1.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab1.ForeColor = System.Drawing.Color.White; this.chbLab1.Location = new System.Drawing.Point(467, 62); this.chbLab1.Name = "chbLab1"; this.chbLab1.Size = new System.Drawing.Size(123, 24); this.chbLab1.TabIndex = 76; this.chbLab1.Text = "Incluye laboratorista"; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar")})}); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // sqlDASoldaMdor // this.sqlDASoldaMdor.SelectCommand = this.sqlSelectCommand1; this.sqlDASoldaMdor.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "SoldaMdor", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("FOLIO", "FOLIO"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("FMuestreo", "FMuestreo"), new System.Data.Common.DataColumnMapping("FEnsaye", "FEnsaye"), new System.Data.Common.DataColumnMapping("FInforme", "FInforme"), new System.Data.Common.DataColumnMapping("NoEco", "NoEco"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("MuestreadasEn", "MuestreadasEn")})}); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "SELECT FOLIO, IdObra, ConsObra, FMuestreo, FEnsaye, FInforme, NoEco, Semana, Mues" + "treadasEn FROM SoldaMdor WHERE (IdObra = @IdObra) ORDER BY FOLIO"; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra")}); // // crvInfSolda // this.crvInfSolda.ActiveViewIndex = -1; this.crvInfSolda.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvInfSolda.Cursor = System.Windows.Forms.Cursors.Default; this.crvInfSolda.Dock = System.Windows.Forms.DockStyle.Fill; this.crvInfSolda.EnableRefresh = false; this.crvInfSolda.Location = new System.Drawing.Point(0, 97); this.crvInfSolda.Name = "crvInfSolda"; this.crvInfSolda.ShowCloseButton = false; this.crvInfSolda.ShowGroupTreeButton = false; this.crvInfSolda.ShowLogo = false; this.crvInfSolda.Size = new System.Drawing.Size(856, 427); this.crvInfSolda.TabIndex = 11; this.crvInfSolda.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; // // sqlDAInfSolda // this.sqlDAInfSolda.SelectCommand = this.sqlSelectCommand2; this.sqlDAInfSolda.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "SoldaRep", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("FMuestreo", "FMuestreo"), new System.Data.Common.DataColumnMapping("FEnsaye", "FEnsaye"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("Lab", "Lab"), new System.Data.Common.DataColumnMapping("Anos", "Anos"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Hoja", "Hoja"), new System.Data.Common.DataColumnMapping("MuesEn", "MuesEn"), new System.Data.Common.DataColumnMapping("Observac", "Observac"), new System.Data.Common.DataColumnMapping("Especifica", "Especifica"), new System.Data.Common.DataColumnMapping("Numero", "Numero"), new System.Data.Common.DataColumnMapping("Grado", "Grado"), new System.Data.Common.DataColumnMapping("Masa", "Masa"), new System.Data.Common.DataColumnMapping("EsfLE", "EsfLE"), new System.Data.Common.DataColumnMapping("EsfMAX", "EsfMAX"), new System.Data.Common.DataColumnMapping("Alarga", "Alarga"), new System.Data.Common.DataColumnMapping("Separa", "Separa"), new System.Data.Common.DataColumnMapping("Altura", "Altura"), new System.Data.Common.DataColumnMapping("Ancho", "Ancho"), new System.Data.Common.DataColumnMapping("Inclina", "Inclina"), new System.Data.Common.DataColumnMapping("Doblado", "Doblado"), new System.Data.Common.DataColumnMapping("Muestra", "Muestra"), new System.Data.Common.DataColumnMapping("MasaR", "MasaR"), new System.Data.Common.DataColumnMapping("Area", "Area"), new System.Data.Common.DataColumnMapping("CargaLE", "CargaLE"), new System.Data.Common.DataColumnMapping("CargaMax", "CargaMax"), new System.Data.Common.DataColumnMapping("EsfLER", "EsfLER"), new System.Data.Common.DataColumnMapping("EsfMAXR", "EsfMAXR"), new System.Data.Common.DataColumnMapping("AlargaR", "AlargaR"), new System.Data.Common.DataColumnMapping("DobladoR", "DobladoR"), new System.Data.Common.DataColumnMapping("SeparaR", "SeparaR"), new System.Data.Common.DataColumnMapping("AlturaR", "AlturaR"), new System.Data.Common.DataColumnMapping("AnchoR", "AnchoR"), new System.Data.Common.DataColumnMapping("InclinaR", "InclinaR"), new System.Data.Common.DataColumnMapping("Observa", "Observa"), new System.Data.Common.DataColumnMapping("Observa1", "Observa1"), new System.Data.Common.DataColumnMapping("Nota", "Nota"), new System.Data.Common.DataColumnMapping("Nota1", "Nota1"), new System.Data.Common.DataColumnMapping("Razonsocial", "Razonsocial"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("Colonia", "Colonia"), new System.Data.Common.DataColumnMapping("Nominal", "Nominal"), new System.Data.Common.DataColumnMapping("Milimetros", "Milimetros")})}); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "[SoldaRep]"; this.sqlSelectCommand2.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@Folio1", System.Data.SqlDbType.Char, 10), new System.Data.SqlClient.SqlParameter("@Foliofin", System.Data.SqlDbType.Char, 10), new System.Data.SqlClient.SqlParameter("@IdUnidad", System.Data.SqlDbType.SmallInt, 2)}); // // dsSoldaRep1 // this.dsSoldaRep1.DataSetName = "dsSoldaRep"; this.dsSoldaRep1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsSoldaRep1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAFirmas // this.sqlDAFirmas.SelectCommand = this.sqlSelectCommand7; this.sqlDAFirmas.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Firmas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdFirma", "IdFirma"), new System.Data.Common.DataColumnMapping("Nombre", "Nombre"), new System.Data.Common.DataColumnMapping("Cargo", "Cargo"), new System.Data.Common.DataColumnMapping("Imprime", "Imprime")})}); // // sqlSelectCommand7 // this.sqlSelectCommand7.CommandText = "SELECT IdFirma, Nombre, Cargo, Imprime\r\nFROM Firmas\r\nWHERE (Impri" + "me = 1) AND (Soldadura < 6)\r\nORDER BY Soldadura"; this.sqlSelectCommand7.Connection = this.sqlConn; // // dsFirmas1 // this.dsFirmas1.DataSetName = "dsFirmas"; this.dsFirmas1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsFirmas1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAUnidad // this.sqlDAUnidad.SelectCommand = this.sqlCommand2; this.sqlDAUnidad.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Unidad", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdUnidad", "IdUnidad"), new System.Data.Common.DataColumnMapping("Factor", "Factor"), new System.Data.Common.DataColumnMapping("Undescr", "Undescr"), new System.Data.Common.DataColumnMapping("MaxagrUn", "MaxagrUn"), new System.Data.Common.DataColumnMapping("RevenUn", "RevenUn")})}); // // sqlCommand2 // this.sqlCommand2.CommandText = "SELECT IdUnidad, Factor, Undescr, MaxagrUn, RevenUn FROM Unidad"; this.sqlCommand2.Connection = this.sqlConn; // // sqlDANorma // this.sqlDANorma.SelectCommand = this.sqlSelectCommand3; this.sqlDANorma.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Normas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdNorma", "IdNorma"), new System.Data.Common.DataColumnMapping("Informe", "Informe"), new System.Data.Common.DataColumnMapping("Normas", "Normas"), new System.Data.Common.DataColumnMapping("Titulo", "Titulo"), new System.Data.Common.DataColumnMapping("IdInforme", "IdInforme"), new System.Data.Common.DataColumnMapping("Norma1", "Norma1"), new System.Data.Common.DataColumnMapping("Norma2", "Norma2"), new System.Data.Common.DataColumnMapping("Norma3", "Norma3"), new System.Data.Common.DataColumnMapping("Norma4", "Norma4"), new System.Data.Common.DataColumnMapping("Norma5", "Norma5")})}); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = "SELECT IdNorma, Informe, Normas, Titulo, IdInforme, Norma1, Norma2, Norma3, Norma" + "4, Norma5 FROM Normas WHERE (IdNorma = @IdNorma) ORDER BY IdNorma"; this.sqlSelectCommand3.Connection = this.sqlConn; this.sqlSelectCommand3.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdNorma", System.Data.SqlDbType.SmallInt, 2, "IdNorma")}); // // chbRespaldo // this.chbRespaldo.ForeColor = System.Drawing.Color.White; this.chbRespaldo.Location = new System.Drawing.Point(578, 30); this.chbRespaldo.Name = "chbRespaldo"; this.chbRespaldo.Size = new System.Drawing.Size(82, 24); this.chbRespaldo.TabIndex = 83; this.chbRespaldo.Text = "Respaldo"; // // InfSolda // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(856, 524); this.Controls.Add(this.crvInfSolda); this.Controls.Add(this.panel1); this.ForeColor = System.Drawing.Color.White; this.Name = "InfSolda"; this.Text = "InfSolda"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.InfSolda_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsSoldaMdor1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsUnidad1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsSoldaRep1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InfAsfaltico)); System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.panel1 = new System.Windows.Forms.Panel(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsBusAsfaltico1 = new LancNeo.dsBusAsfaltico(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.chbRespaldo = new System.Windows.Forms.CheckBox(); this.chbTodos = new System.Windows.Forms.CheckBox(); this.chbLab = new System.Windows.Forms.CheckBox(); this.chbLeyenda = new System.Windows.Forms.CheckBox(); this.chbDuplicado = new System.Windows.Forms.CheckBox(); this.txtFolioIni = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.dsBusObra1 = new LancNeo.dsBusObra(); this.label1 = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.sqlDAInfAsfaltico = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.dsInfAsfaltico1 = new LancNeo.dsInfAsfaltico(); this.sqlDAInfAsfalticoMal = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.crvInfAsfaltico = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.CryRepAsfalto1 = new LancNeo.CryRepAsfalto(); this.dsFirmas1 = new LancNeo.dsFirmas(); this.sqlDAFirmas = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand7 = new System.Data.SqlClient.SqlCommand(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDABusAsfaltico = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlDANorma = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand4 = new System.Data.SqlClient.SqlCommand(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsBusAsfaltico1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInfAsfaltico1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.chbRespaldo); this.panel1.Controls.Add(this.chbTodos); this.panel1.Controls.Add(this.chbLab); this.panel1.Controls.Add(this.chbLeyenda); this.panel1.Controls.Add(this.chbDuplicado); this.panel1.Controls.Add(this.txtFolioIni); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Controls.Add(this.pictureBox1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(856, 100); this.panel1.TabIndex = 14; // // buscaBtn1 // this.buscaBtn1.AnchoColTit = true; this.buscaBtn1.AnchoDlgBusq = 650; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsBusAsfaltico1.Asfaltico; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(547, 2); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 64); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsBusAsfaltico1 // this.dsBusAsfaltico1.DataSetName = "dsBusAsfaltico"; this.dsBusAsfaltico1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusAsfaltico1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(780, 3); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 65); this.btnVistaPrevia.TabIndex = 11; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // chbRespaldo // this.chbRespaldo.ForeColor = System.Drawing.Color.White; this.chbRespaldo.Location = new System.Drawing.Point(645, 68); this.chbRespaldo.Name = "chbRespaldo"; this.chbRespaldo.Size = new System.Drawing.Size(82, 24); this.chbRespaldo.TabIndex = 80; this.chbRespaldo.Text = "Respaldo"; // // chbTodos // this.chbTodos.ForeColor = System.Drawing.Color.White; this.chbTodos.Location = new System.Drawing.Point(645, 38); this.chbTodos.Name = "chbTodos"; this.chbTodos.Size = new System.Drawing.Size(137, 25); this.chbTodos.TabIndex = 79; this.chbTodos.Text = "Todos los informes"; // // chbLab // this.chbLab.Checked = true; this.chbLab.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab.ForeColor = System.Drawing.Color.White; this.chbLab.Location = new System.Drawing.Point(405, 38); this.chbLab.Name = "chbLab"; this.chbLab.Size = new System.Drawing.Size(116, 25); this.chbLab.TabIndex = 37; this.chbLab.Text = "Incluye laboratorio"; // // chbLeyenda // this.chbLeyenda.ForeColor = System.Drawing.Color.White; this.chbLeyenda.Location = new System.Drawing.Point(525, 69); this.chbLeyenda.Name = "chbLeyenda"; this.chbLeyenda.Size = new System.Drawing.Size(114, 24); this.chbLeyenda.TabIndex = 32; this.chbLeyenda.Text = "Formato Leyenda"; // // chbDuplicado // this.chbDuplicado.ForeColor = System.Drawing.Color.White; this.chbDuplicado.Location = new System.Drawing.Point(405, 68); this.chbDuplicado.Name = "chbDuplicado"; this.chbDuplicado.Size = new System.Drawing.Size(114, 23); this.chbDuplicado.TabIndex = 31; this.chbDuplicado.Text = "¿Duplicado?"; // // txtFolioIni // this.txtFolioIni.Location = new System.Drawing.Point(685, 9); this.txtFolioIni.Name = "txtFolioIni"; this.txtFolioIni.Size = new System.Drawing.Size(54, 20); this.txtFolioIni.TabIndex = 27; // // label3 // this.label3.AutoSize = true; this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(615, 10); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(61, 13); this.label3.TabIndex = 9; this.label3.Text = "Folio inicial:"; // // label2 // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(432, 5); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsBusObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(463, 3); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // dsBusObra1 // this.dsBusObra1.DataSetName = "dsBusObra"; this.dsBusObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(6, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(412, 75); this.label1.TabIndex = 0; this.label1.Text = "Informe de ensaye de concreto asfaltico"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(570, 36); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // pictureBox1 // this.pictureBox1.Location = new System.Drawing.Point(18, 82); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(570, 430); this.pictureBox1.TabIndex = 78; this.pictureBox1.TabStop = false; this.pictureBox1.Visible = false; // // sqlDAInfAsfaltico // this.sqlDAInfAsfaltico.SelectCommand = this.sqlSelectCommand1; this.sqlDAInfAsfaltico.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "AsfalticoRep", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("FMuestreo", "FMuestreo"), new System.Data.Common.DataColumnMapping("FEnsaye", "FEnsaye"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("Frecibo", "Frecibo"), new System.Data.Common.DataColumnMapping("Lab", "Lab"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Anos", "Anos"), new System.Data.Common.DataColumnMapping("Hoja", "Hoja"), new System.Data.Common.DataColumnMapping("Observac", "Observac"), new System.Data.Common.DataColumnMapping("Material", "Material"), new System.Data.Common.DataColumnMapping("Usarse", "Usarse"), new System.Data.Common.DataColumnMapping("Tratamietno", "Tratamietno"), new System.Data.Common.DataColumnMapping("Deposito", "Deposito"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("Viaje", "Viaje"), new System.Data.Common.DataColumnMapping("TendidoI", "TendidoI"), new System.Data.Common.DataColumnMapping("TendidoF", "TendidoF"), new System.Data.Common.DataColumnMapping("Carril", "Carril"), new System.Data.Common.DataColumnMapping("Franja", "Franja"), new System.Data.Common.DataColumnMapping("TSalida", "TSalida"), new System.Data.Common.DataColumnMapping("TTendido", "TTendido"), new System.Data.Common.DataColumnMapping("TCompacta", "TCompacta"), new System.Data.Common.DataColumnMapping("MSeca", "MSeca"), new System.Data.Common.DataColumnMapping("MLP", "MLP"), new System.Data.Common.DataColumnMapping("Absor", "Absor"), new System.Data.Common.DataColumnMapping("Desgaste", "Desgaste"), new System.Data.Common.DataColumnMapping("Tritura", "Tritura"), new System.Data.Common.DataColumnMapping("Alarga", "Alarga"), new System.Data.Common.DataColumnMapping("Part", "Part"), new System.Data.Common.DataColumnMapping("Arena", "Arena"), new System.Data.Common.DataColumnMapping("Lineal", "Lineal"), new System.Data.Common.DataColumnMapping("Asfalto", "Asfalto"), new System.Data.Common.DataColumnMapping("Marca", "Marca"), new System.Data.Common.DataColumnMapping("Tipo", "Tipo"), new System.Data.Common.DataColumnMapping("Cantidad", "Cantidad"), new System.Data.Common.DataColumnMapping("Afinidad", "Afinidad"), new System.Data.Common.DataColumnMapping("PMSeca", "PMSeca"), new System.Data.Common.DataColumnMapping("PMLP", "PMLP"), new System.Data.Common.DataColumnMapping("PAbsor", "PAbsor"), new System.Data.Common.DataColumnMapping("PDesgaste", "PDesgaste"), new System.Data.Common.DataColumnMapping("PTritura", "PTritura"), new System.Data.Common.DataColumnMapping("PAlarga", "PAlarga"), new System.Data.Common.DataColumnMapping("PPart", "PPart"), new System.Data.Common.DataColumnMapping("PArena", "PArena"), new System.Data.Common.DataColumnMapping("PLineal", "PLineal"), new System.Data.Common.DataColumnMapping("PAsfalto", "PAsfalto"), new System.Data.Common.DataColumnMapping("PMarca", "PMarca"), new System.Data.Common.DataColumnMapping("PTipo", "PTipo"), new System.Data.Common.DataColumnMapping("PCantidad", "PCantidad"), new System.Data.Common.DataColumnMapping("PAfinidad", "PAfinidad"), new System.Data.Common.DataColumnMapping("Mesp", "Mesp"), new System.Data.Common.DataColumnMapping("Estabilidad", "Estabilidad"), new System.Data.Common.DataColumnMapping("Flujo", "Flujo"), new System.Data.Common.DataColumnMapping("Vacios", "Vacios"), new System.Data.Common.DataColumnMapping("VAM", "VAM"), new System.Data.Common.DataColumnMapping("EMesp", "EMesp"), new System.Data.Common.DataColumnMapping("EEstabilidad", "EEstabilidad"), new System.Data.Common.DataColumnMapping("EFlujo", "EFlujo"), new System.Data.Common.DataColumnMapping("EVacios", "EVacios"), new System.Data.Common.DataColumnMapping("EVAM", "EVAM"), new System.Data.Common.DataColumnMapping("TipoC", "TipoC"), new System.Data.Common.DataColumnMapping("Penetra", "Penetra"), new System.Data.Common.DataColumnMapping("Viscosdad", "Viscosdad"), new System.Data.Common.DataColumnMapping("Recomendad", "Recomendad"), new System.Data.Common.DataColumnMapping("Aplicada", "Aplicada"), new System.Data.Common.DataColumnMapping("Razonsocial", "Razonsocial"), new System.Data.Common.DataColumnMapping("Ubicacion1", "Ubicacion1"), new System.Data.Common.DataColumnMapping("Colonia", "Colonia"), new System.Data.Common.DataColumnMapping("Zona", "Zona") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[AsfalticoRep]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@FolioIni", System.Data.SqlDbType.Char, 10), new System.Data.SqlClient.SqlParameter("@FOlioFin", System.Data.SqlDbType.Char, 10), new System.Data.SqlClient.SqlParameter("@IdUnidad", System.Data.SqlDbType.SmallInt, 2) }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // dsInfAsfaltico1 // this.dsInfAsfaltico1.DataSetName = "dsInfAsfaltico"; this.dsInfAsfaltico1.Locale = new System.Globalization.CultureInfo("en-US"); this.dsInfAsfaltico1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAInfAsfalticoMal // this.sqlDAInfAsfalticoMal.SelectCommand = this.sqlSelectCommand2; this.sqlDAInfAsfalticoMal.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "AsfalticoMal", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("Renglon", "Renglon"), new System.Data.Common.DataColumnMapping("Malla", "Malla"), new System.Data.Common.DataColumnMapping("Linea1", "Linea1"), new System.Data.Common.DataColumnMapping("Linea2", "Linea2"), new System.Data.Common.DataColumnMapping("Quepasa", "Quepasa"), new System.Data.Common.DataColumnMapping("Proyecto", "Proyecto") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT Folio, Renglon, Malla, Linea1, Linea2, Quepasa, Proyecto, Designaci" + "on\r\nFROM AsfalticoMal\r\nWHERE (Folio <= @FolioFin) AND (Folio >" + "= @FolioIni)\r\nORDER BY Folio, Renglon"; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@FolioFin", System.Data.SqlDbType.Char, 10, "Folio"), new System.Data.SqlClient.SqlParameter("@FolioIni", System.Data.SqlDbType.Char, 10, "Folio") }); // // crvInfAsfaltico // this.crvInfAsfaltico.ActiveViewIndex = -1; this.crvInfAsfaltico.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvInfAsfaltico.Cursor = System.Windows.Forms.Cursors.Default; this.crvInfAsfaltico.Dock = System.Windows.Forms.DockStyle.Fill; this.crvInfAsfaltico.EnableRefresh = false; this.crvInfAsfaltico.Location = new System.Drawing.Point(0, 100); this.crvInfAsfaltico.Name = "crvInfAsfaltico"; this.crvInfAsfaltico.ShowCloseButton = false; this.crvInfAsfaltico.ShowGroupTreeButton = false; this.crvInfAsfaltico.ShowLogo = false; this.crvInfAsfaltico.ShowParameterPanelButton = false; this.crvInfAsfaltico.ShowRefreshButton = false; this.crvInfAsfaltico.Size = new System.Drawing.Size(856, 548); this.crvInfAsfaltico.TabIndex = 77; this.crvInfAsfaltico.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; // // dsFirmas1 // this.dsFirmas1.DataSetName = "dsFirmas"; this.dsFirmas1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsFirmas1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAFirmas // this.sqlDAFirmas.SelectCommand = this.sqlSelectCommand7; this.sqlDAFirmas.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Firmas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdFirma", "IdFirma"), new System.Data.Common.DataColumnMapping("Nombre", "Nombre"), new System.Data.Common.DataColumnMapping("Cargo", "Cargo"), new System.Data.Common.DataColumnMapping("Imprime", "Imprime") }) }); // // sqlSelectCommand7 // this.sqlSelectCommand7.CommandText = "SELECT IdFirma, Nombre, Cargo, Imprime\r\nFROM Firmas\r\nWHERE (Impri" + "me = 1) AND (Materiales < 6)\r\nORDER BY Materiales"; this.sqlSelectCommand7.Connection = this.sqlConn; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // sqlDABusAsfaltico // this.sqlDABusAsfaltico.SelectCommand = this.sqlCommand2; this.sqlDABusAsfaltico.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Asfaltico", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("FOLIO", "FOLIO"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("Fmuestreo", "Fmuestreo"), new System.Data.Common.DataColumnMapping("Fensaye", "Fensaye"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("NoEco", "NoEco"), new System.Data.Common.DataColumnMapping("Material", "Material") }) }); // // sqlCommand2 // this.sqlCommand2.CommandText = "SELECT FOLIO, IdObra, ConsObra, Fmuestreo, Fensaye, Finforme, NoEco, Material FRO" + "M Asfaltico WHERE (IdObra = @IdObra) ORDER BY ConsObra DESC, FOLIO"; this.sqlCommand2.Connection = this.sqlConn; this.sqlCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // sqlDANorma // this.sqlDANorma.SelectCommand = this.sqlSelectCommand4; this.sqlDANorma.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Normas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdNorma", "IdNorma"), new System.Data.Common.DataColumnMapping("Informe", "Informe"), new System.Data.Common.DataColumnMapping("Normas", "Normas"), new System.Data.Common.DataColumnMapping("Titulo", "Titulo"), new System.Data.Common.DataColumnMapping("IdInforme", "IdInforme"), new System.Data.Common.DataColumnMapping("Norma1", "Norma1"), new System.Data.Common.DataColumnMapping("Norma2", "Norma2"), new System.Data.Common.DataColumnMapping("Norma3", "Norma3"), new System.Data.Common.DataColumnMapping("Norma4", "Norma4"), new System.Data.Common.DataColumnMapping("Norma5", "Norma5") }) }); // // sqlSelectCommand4 // this.sqlSelectCommand4.CommandText = "SELECT IdNorma, Informe, Normas, Titulo, IdInforme, Norma1, Norma2, Norma3, Norma" + "4, Norma5 FROM Normas WHERE (IdNorma = @IdNorma)"; this.sqlSelectCommand4.Connection = this.sqlConn; this.sqlSelectCommand4.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdNorma", System.Data.SqlDbType.SmallInt, 2, "IdNorma") }); // // InfAsfaltico // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(856, 648); this.Controls.Add(this.crvInfAsfaltico); this.Controls.Add(this.panel1); this.Name = "InfAsfaltico"; this.Text = "InfAsfaltico"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.InfAsfaltico_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsBusAsfaltico1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInfAsfaltico1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Visitas)); System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.dsDGObra1 = new LancNeo.dsDGObra(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.panel1 = new System.Windows.Forms.Panel(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsBusEspMues1 = new LancNeo.dsBusEspMues(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.cbkPrefijo = new System.Windows.Forms.CheckBox(); this.dtpFin = new System.Windows.Forms.DateTimePicker(); this.label4 = new System.Windows.Forms.Label(); this.dtpIni = new System.Windows.Forms.DateTimePicker(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.Fecha = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.sqlDABusEspecimen = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.crvVisitas = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.sqlDAServiciosR = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.dsServiciosR1 = new LancNeo.dsServiciosR(); this.cryRepVisitas1 = new LancNeo.CryRepVisitas(); this.sqlDAPresupuestoz = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand4 = new System.Data.SqlClient.SqlCommand(); this.cbkMortero = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsBusEspMues1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsServiciosR1)).BeginInit(); this.SuspendLayout(); // // dsDGObra1 // this.dsDGObra1.DataSetName = "dsDGObra"; this.dsDGObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsDGObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.cbkMortero); this.panel1.Controls.Add(this.cbkPrefijo); this.panel1.Controls.Add(this.dtpFin); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.dtpIni); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.Fecha); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(816, 76); this.panel1.TabIndex = 12; // // buscaBtn1 // this.buscaBtn1.AnchoDlgBusq = 650; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsBusEspMues1.Especimen; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(328, 0); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 64); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsBusEspMues1 // this.dsBusEspMues1.DataSetName = "dsBusEspMues"; this.dsBusEspMues1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusEspMues1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(730, 0); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 64); this.btnVistaPrevia.TabIndex = 11; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // cbkPrefijo // this.cbkPrefijo.Checked = true; this.cbkPrefijo.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkPrefijo.Location = new System.Drawing.Point(398, 34); this.cbkPrefijo.Name = "cbkPrefijo"; this.cbkPrefijo.Size = new System.Drawing.Size(74, 24); this.cbkPrefijo.TabIndex = 36; this.cbkPrefijo.Text = "No prefijo"; // // dtpFin // this.dtpFin.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpFin.Location = new System.Drawing.Point(634, 36); this.dtpFin.Name = "dtpFin"; this.dtpFin.Size = new System.Drawing.Size(84, 20); this.dtpFin.TabIndex = 4; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(610, 40); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(32, 13); this.label4.TabIndex = 11; this.label4.Text = "Final:"; // // dtpIni // this.dtpIni.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpIni.Location = new System.Drawing.Point(634, 4); this.dtpIni.Name = "dtpIni"; this.dtpIni.Size = new System.Drawing.Size(84, 20); this.dtpIni.TabIndex = 3; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(602, 8); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(37, 13); this.label3.TabIndex = 9; this.label3.Text = "Inicial:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(208, 10); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsDGObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(240, 8); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(196, 24); this.label1.TabIndex = 0; this.label1.Text = "Servicios realizados"; // // Fecha // this.Fecha.AutoSize = true; this.Fecha.Location = new System.Drawing.Point(506, 20); this.Fecha.Name = "Fecha"; this.Fecha.Size = new System.Drawing.Size(95, 13); this.Fecha.TabIndex = 4; this.Fecha.Text = "Fechas de periodo"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(330, 25); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // sqlDABusEspecimen // this.sqlDABusEspecimen.SelectCommand = this.sqlSelectCommand3; this.sqlDABusEspecimen.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Especimen", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("Fecha", "Fecha"), new System.Data.Common.DataColumnMapping("Prueba", "Prueba"), new System.Data.Common.DataColumnMapping("Muestra", "Muestra"), new System.Data.Common.DataColumnMapping("IdConcretera", "IdConcretera"), new System.Data.Common.DataColumnMapping("IdPlanta", "IdPlanta"), new System.Data.Common.DataColumnMapping("tipo", "tipo") }) }); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = resources.GetString("sqlSelectCommand3.CommandText"); this.sqlSelectCommand3.Connection = this.sqlConn; this.sqlSelectCommand3.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // crvVisitas // this.crvVisitas.ActiveViewIndex = -1; this.crvVisitas.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvVisitas.Cursor = System.Windows.Forms.Cursors.Default; this.crvVisitas.Dock = System.Windows.Forms.DockStyle.Fill; this.crvVisitas.EnableRefresh = false; this.crvVisitas.Location = new System.Drawing.Point(0, 76); this.crvVisitas.Name = "crvVisitas"; this.crvVisitas.ShowCloseButton = false; this.crvVisitas.ShowGroupTreeButton = false; this.crvVisitas.ShowLogo = false; this.crvVisitas.Size = new System.Drawing.Size(816, 465); this.crvVisitas.TabIndex = 13; this.crvVisitas.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; // // sqlDAServiciosR // this.sqlDAServiciosR.SelectCommand = this.sqlSelectCommand1; this.sqlDAServiciosR.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "ServiciosRealizados", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdObras", "IdObras"), new System.Data.Common.DataColumnMapping("VisitasS", "VisitasS"), new System.Data.Common.DataColumnMapping("VisitasAdS", "VisitasAdS"), new System.Data.Common.DataColumnMapping("VisitasTTS", "VisitasTTS"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("mess", "mess"), new System.Data.Common.DataColumnMapping("anos", "anos"), new System.Data.Common.DataColumnMapping("Fecha", "Fecha"), new System.Data.Common.DataColumnMapping("Diarias", "Diarias"), new System.Data.Common.DataColumnMapping("Semanal", "Semanal"), new System.Data.Common.DataColumnMapping("Mensual", "Mensual") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[ServiciosRealizados]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@FIni", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FFin", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@Mortero", System.Data.SqlDbType.Bit, 1) }); // // dsServiciosR1 // this.dsServiciosR1.DataSetName = "dsServiciosR"; this.dsServiciosR1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsServiciosR1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAPresupuestoz // this.sqlDAPresupuestoz.SelectCommand = this.sqlSelectCommand4; this.sqlDAPresupuestoz.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("PresupuestoZ", "PresupuestoZ"), new System.Data.Common.DataColumnMapping("Duracion", "Duracion") }) }); // // sqlSelectCommand4 // this.sqlSelectCommand4.CommandText = "SELECT Idobra, PresupuestoZ, Duracion FROM Obra WHERE (Idobra = @IdObra)"; this.sqlSelectCommand4.Connection = this.sqlConn; this.sqlSelectCommand4.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "Idobra") }); // // cbkMortero // this.cbkMortero.Checked = true; this.cbkMortero.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkMortero.Location = new System.Drawing.Point(398, 2); this.cbkMortero.Name = "cbkMortero"; this.cbkMortero.Size = new System.Drawing.Size(102, 24); this.cbkMortero.TabIndex = 53; this.cbkMortero.Text = "Incluye mortero"; // // Visitas // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(816, 541); this.Controls.Add(this.crvVisitas); this.Controls.Add(this.panel1); this.Name = "Visitas"; this.Text = "Visitas de laboratoristas"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Visitas_Load); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsBusEspMues1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsServiciosR1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InfSecante)); this.sqlDAInfSecante = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.dsBusObra1 = new LancNeo.dsBusObra(); this.dsUnidad1 = new LancNeo.dsUnidad(); this.sqlDAUnidad = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlDAFirmas = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand7 = new System.Data.SqlClient.SqlCommand(); this.dsFirmas1 = new LancNeo.dsFirmas(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.dsInfSecante1 = new LancNeo.dsInfSecante(); this.panel1 = new System.Windows.Forms.Panel(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsSecanteInf1 = new LancNeo.dsSecanteInf(); this.chbRespaldo = new System.Windows.Forms.CheckBox(); this.chbTodos = new System.Windows.Forms.CheckBox(); this.txtDesc = new System.Windows.Forms.TextBox(); this.chbLab1 = new System.Windows.Forms.CheckBox(); this.chbLab = new System.Windows.Forms.CheckBox(); this.chbLeyenda = new System.Windows.Forms.CheckBox(); this.chbFormato = new System.Windows.Forms.CheckBox(); this.chbDuplicado = new System.Windows.Forms.CheckBox(); this.label6 = new System.Windows.Forms.Label(); this.nudRenglon = new System.Windows.Forms.NumericUpDown(); this.txtFolioFin = new System.Windows.Forms.TextBox(); this.txtFolioIni = new System.Windows.Forms.TextBox(); this.cmbUnidad = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.sqlDASecante = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.crvInfSecante = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.cryRepSecante1 = new LancNeo.CryRepSecante(); this.sqlDANorma = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsUnidad1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInfSecante1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsSecanteInf1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudRenglon)).BeginInit(); this.SuspendLayout(); // // sqlDAInfSecante // this.sqlDAInfSecante.SelectCommand = this.sqlSelectCommand1; this.sqlDAInfSecante.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "SecanteRep", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("FEnsaye", "FEnsaye"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("Lab", "Lab"), new System.Data.Common.DataColumnMapping("Anos", "Anos"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Hoja", "Hoja"), new System.Data.Common.DataColumnMapping("Observac", "Observac"), new System.Data.Common.DataColumnMapping("PromedioP", "PromedioP"), new System.Data.Common.DataColumnMapping("PromedioR", "PromedioR"), new System.Data.Common.DataColumnMapping("Muestra", "Muestra"), new System.Data.Common.DataColumnMapping("Fecha", "Fecha"), new System.Data.Common.DataColumnMapping("IdCroncretera", "IdCroncretera"), new System.Data.Common.DataColumnMapping("IdPlanta", "IdPlanta"), new System.Data.Common.DataColumnMapping("ResistenciaKG", "ResistenciaKG"), new System.Data.Common.DataColumnMapping("Tipo", "Tipo"), new System.Data.Common.DataColumnMapping("Agregado", "Agregado"), new System.Data.Common.DataColumnMapping("Revenimiento", "Revenimiento"), new System.Data.Common.DataColumnMapping("Grado", "Grado"), new System.Data.Common.DataColumnMapping("IdAgregado", "IdAgregado"), new System.Data.Common.DataColumnMapping("IdRemision", "IdRemision"), new System.Data.Common.DataColumnMapping("RevObt", "RevObt"), new System.Data.Common.DataColumnMapping("Cilindro", "Cilindro"), new System.Data.Common.DataColumnMapping("Edad", "Edad"), new System.Data.Common.DataColumnMapping("Masa", "Masa"), new System.Data.Common.DataColumnMapping("Resistencia", "Resistencia"), new System.Data.Common.DataColumnMapping("Obtenido", "Obtenido"), new System.Data.Common.DataColumnMapping("Promedio", "Promedio"), new System.Data.Common.DataColumnMapping("Requerido", "Requerido"), new System.Data.Common.DataColumnMapping("Elemento", "Elemento"), new System.Data.Common.DataColumnMapping("Ejes", "Ejes"), new System.Data.Common.DataColumnMapping("Nivel", "Nivel"), new System.Data.Common.DataColumnMapping("Edif", "Edif"), new System.Data.Common.DataColumnMapping("Razonsocial", "Razonsocial"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("Colonia", "Colonia"), new System.Data.Common.DataColumnMapping("Zona", "Zona") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "dbo.SecanteRep"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, "LE1218"), new System.Data.SqlClient.SqlParameter("@FolioIni", System.Data.SqlDbType.Char, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, "71/18"), new System.Data.SqlClient.SqlParameter("@FOlioFin", System.Data.SqlDbType.Char, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, "71/18"), new System.Data.SqlClient.SqlParameter("@IdUnidad", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, "1") }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // dsBusObra1 // this.dsBusObra1.DataSetName = "dsBusObra"; this.dsBusObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dsUnidad1 // this.dsUnidad1.DataSetName = "dsUnidad"; this.dsUnidad1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsUnidad1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAUnidad // this.sqlDAUnidad.SelectCommand = this.sqlCommand2; this.sqlDAUnidad.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Unidad", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdUnidad", "IdUnidad"), new System.Data.Common.DataColumnMapping("Factor", "Factor"), new System.Data.Common.DataColumnMapping("Undescr", "Undescr"), new System.Data.Common.DataColumnMapping("MaxagrUn", "MaxagrUn"), new System.Data.Common.DataColumnMapping("RevenUn", "RevenUn") }) }); // // sqlCommand2 // this.sqlCommand2.CommandText = "SELECT IdUnidad, Factor, Undescr, MaxagrUn, RevenUn FROM Unidad"; this.sqlCommand2.Connection = this.sqlConn; // // sqlDAFirmas // this.sqlDAFirmas.SelectCommand = this.sqlSelectCommand7; this.sqlDAFirmas.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Firmas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdFirma", "IdFirma"), new System.Data.Common.DataColumnMapping("Nombre", "Nombre"), new System.Data.Common.DataColumnMapping("Cargo", "Cargo"), new System.Data.Common.DataColumnMapping("Imprime", "Imprime") }) }); // // sqlSelectCommand7 // this.sqlSelectCommand7.CommandText = "SELECT IdFirma, Nombre, Cargo, Imprime\r\nFROM Firmas\r\nWHERE (Impri" + "me = 1) AND (Moduloelastico < 6)\r\nORDER BY Moduloelastico"; this.sqlSelectCommand7.Connection = this.sqlConn; // // dsFirmas1 // this.dsFirmas1.DataSetName = "dsFirmas"; this.dsFirmas1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsFirmas1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // dsInfSecante1 // this.dsInfSecante1.DataSetName = "dsInfSecante"; this.dsInfSecante1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsInfSecante1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.chbRespaldo); this.panel1.Controls.Add(this.chbTodos); this.panel1.Controls.Add(this.txtDesc); this.panel1.Controls.Add(this.chbLab1); this.panel1.Controls.Add(this.chbLab); this.panel1.Controls.Add(this.chbLeyenda); this.panel1.Controls.Add(this.chbFormato); this.panel1.Controls.Add(this.chbDuplicado); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.nudRenglon); this.panel1.Controls.Add(this.txtFolioFin); this.panel1.Controls.Add(this.txtFolioIni); this.panel1.Controls.Add(this.cmbUnidad); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1028, 118); this.panel1.TabIndex = 11; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(714, 24); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 63); this.btnVistaPrevia.TabIndex = 11; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Load += new System.EventHandler(this.btnVistaPrevia_Load); this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // buscaBtn1 // this.buscaBtn1.AnchoColTit = true; this.buscaBtn1.AnchoDlgBusq = 650; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsSecanteInf1.Secante; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(396, -3); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 63); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsSecanteInf1 // this.dsSecanteInf1.DataSetName = "dsSecanteInf"; this.dsSecanteInf1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsSecanteInf1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // chbRespaldo // this.chbRespaldo.ForeColor = System.Drawing.Color.White; this.chbRespaldo.Location = new System.Drawing.Point(507, 58); this.chbRespaldo.Name = "chbRespaldo"; this.chbRespaldo.Size = new System.Drawing.Size(116, 24); this.chbRespaldo.TabIndex = 45; this.chbRespaldo.Text = "Respaldo"; // // chbTodos // this.chbTodos.ForeColor = System.Drawing.Color.White; this.chbTodos.Location = new System.Drawing.Point(507, 35); this.chbTodos.Name = "chbTodos"; this.chbTodos.Size = new System.Drawing.Size(124, 24); this.chbTodos.TabIndex = 43; this.chbTodos.Text = "Todos los informes"; // // txtDesc // this.txtDesc.Location = new System.Drawing.Point(870, 28); this.txtDesc.Name = "txtDesc"; this.txtDesc.Size = new System.Drawing.Size(100, 20); this.txtDesc.TabIndex = 42; // // chbLab1 // this.chbLab1.Checked = true; this.chbLab1.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab1.ForeColor = System.Drawing.Color.White; this.chbLab1.Location = new System.Drawing.Point(212, 58); this.chbLab1.Name = "chbLab1"; this.chbLab1.Size = new System.Drawing.Size(133, 24); this.chbLab1.TabIndex = 41; this.chbLab1.Text = "Incluye laboratorista"; // // chbLab // this.chbLab.Checked = true; this.chbLab.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab.ForeColor = System.Drawing.Color.White; this.chbLab.Location = new System.Drawing.Point(212, 81); this.chbLab.Name = "chbLab"; this.chbLab.Size = new System.Drawing.Size(183, 24); this.chbLab.TabIndex = 36; this.chbLab.Text = "Incluye Laboratorios"; // // chbLeyenda // this.chbLeyenda.Checked = true; this.chbLeyenda.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLeyenda.ForeColor = System.Drawing.Color.White; this.chbLeyenda.Location = new System.Drawing.Point(507, 81); this.chbLeyenda.Name = "chbLeyenda"; this.chbLeyenda.Size = new System.Drawing.Size(110, 24); this.chbLeyenda.TabIndex = 35; this.chbLeyenda.Text = "Formato leyenda"; // // chbFormato // this.chbFormato.ForeColor = System.Drawing.Color.White; this.chbFormato.Location = new System.Drawing.Point(25, 81); this.chbFormato.Name = "chbFormato"; this.chbFormato.Size = new System.Drawing.Size(182, 24); this.chbFormato.TabIndex = 34; this.chbFormato.Text = "Incluye imagen de acreditación"; this.chbFormato.CheckedChanged += new System.EventHandler(this.chbFormato_CheckedChanged); // // chbDuplicado // this.chbDuplicado.ForeColor = System.Drawing.Color.White; this.chbDuplicado.Location = new System.Drawing.Point(408, 81); this.chbDuplicado.Name = "chbDuplicado"; this.chbDuplicado.Size = new System.Drawing.Size(89, 25); this.chbDuplicado.TabIndex = 31; this.chbDuplicado.Text = "¿Duplicado?"; // // label6 // this.label6.AutoSize = true; this.label6.ForeColor = System.Drawing.Color.White; this.label6.Location = new System.Drawing.Point(596, 2); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(124, 13); this.label6.TabIndex = 30; this.label6.Text = "Especio entre renglones:"; // // nudRenglon // this.nudRenglon.Location = new System.Drawing.Point(730, -2); this.nudRenglon.Maximum = new decimal(new int[] { 4, 0, 0, 0 }); this.nudRenglon.Name = "nudRenglon"; this.nudRenglon.Size = new System.Drawing.Size(48, 20); this.nudRenglon.TabIndex = 29; this.nudRenglon.Value = new decimal(new int[] { 2, 0, 0, 0 }); // // txtFolioFin // this.txtFolioFin.Location = new System.Drawing.Point(926, 81); this.txtFolioFin.Name = "txtFolioFin"; this.txtFolioFin.Size = new System.Drawing.Size(54, 20); this.txtFolioFin.TabIndex = 28; this.txtFolioFin.Visible = false; this.txtFolioFin.TextChanged += new System.EventHandler(this.textBox2_TextChanged); // // txtFolioIni // this.txtFolioIni.Location = new System.Drawing.Point(532, 0); this.txtFolioIni.Name = "txtFolioIni"; this.txtFolioIni.Size = new System.Drawing.Size(54, 20); this.txtFolioIni.TabIndex = 27; // // cmbUnidad // this.cmbUnidad.DataSource = this.dsUnidad1.Unidad; this.cmbUnidad.DisplayMember = "Undescr"; this.cmbUnidad.Location = new System.Drawing.Point(308, 33); this.cmbUnidad.Name = "cmbUnidad"; this.cmbUnidad.Size = new System.Drawing.Size(80, 21); this.cmbUnidad.TabIndex = 25; this.cmbUnidad.ValueMember = "IdUnidad"; this.cmbUnidad.SelectedIndexChanged += new System.EventHandler(this.cmbUnidad_SelectedIndexChanged); // // label5 // this.label5.AutoSize = true; this.label5.ForeColor = System.Drawing.Color.White; this.label5.Location = new System.Drawing.Point(262, 35); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(44, 13); this.label5.TabIndex = 26; this.label5.Text = "Unidad:"; // // label4 // this.label4.AutoSize = true; this.label4.ForeColor = System.Drawing.Color.White; this.label4.Location = new System.Drawing.Point(864, 83); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(54, 13); this.label4.TabIndex = 11; this.label4.Text = "Folio final:"; this.label4.Visible = false; // // label3 // this.label3.AutoSize = true; this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(462, 3); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(61, 13); this.label3.TabIndex = 9; this.label3.Text = "Folio inicial:"; // // label2 // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(263, 3); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsBusObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(308, 0); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(6, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(254, 75); this.label1.TabIndex = 0; this.label1.Text = "Informe de Módulo Elástico Secante NMX-C-128"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(396, 32); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // sqlDASecante // this.sqlDASecante.SelectCommand = this.sqlSelectCommand2; this.sqlDASecante.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Secante", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("FOLIO", "FOLIO"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("Fensaye", "Fensaye"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("NoEco", "NoEco"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("PromedioP", "PromedioP"), new System.Data.Common.DataColumnMapping("PromedioR", "PromedioR") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT FOLIO, IdObra, ConsObra, Fensaye, Finforme, NoEco, Semana FROM Secante WHE" + "RE (IdObra = @IdObra) ORDER BY FOLIO"; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // crvInfSecante // this.crvInfSecante.ActiveViewIndex = -1; this.crvInfSecante.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvInfSecante.Cursor = System.Windows.Forms.Cursors.Default; this.crvInfSecante.Dock = System.Windows.Forms.DockStyle.Fill; this.crvInfSecante.EnableRefresh = false; this.crvInfSecante.Location = new System.Drawing.Point(0, 118); this.crvInfSecante.Name = "crvInfSecante"; this.crvInfSecante.ShowCloseButton = false; this.crvInfSecante.ShowGroupTreeButton = false; this.crvInfSecante.ShowLogo = false; this.crvInfSecante.Size = new System.Drawing.Size(1028, 487); this.crvInfSecante.TabIndex = 12; this.crvInfSecante.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; this.crvInfSecante.ToolPanelWidth = 167; // // sqlDANorma // this.sqlDANorma.SelectCommand = this.sqlSelectCommand3; this.sqlDANorma.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Normas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdNorma", "IdNorma"), new System.Data.Common.DataColumnMapping("Informe", "Informe"), new System.Data.Common.DataColumnMapping("Normas", "Normas"), new System.Data.Common.DataColumnMapping("Titulo", "Titulo"), new System.Data.Common.DataColumnMapping("IdInforme", "IdInforme") }) }); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = "SELECT IdNorma, Informe, Normas, Titulo, IdInforme FROM Normas WHERE (IdNorma = 9" + ") ORDER BY IdNorma"; this.sqlSelectCommand3.Connection = this.sqlConn; // // InfSecante // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1028, 605); this.Controls.Add(this.crvInfSecante); this.Controls.Add(this.panel1); this.Name = "InfSecante"; this.Text = "InfSecante"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.InfSecante_Load); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsUnidad1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInfSecante1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsSecanteInf1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudRenglon)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InfCompacta)); this.sqlDAInfCompacta = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.dsCompactaRep1 = new LancNeo.dsCompactaRep(); this.sqlDAFirmas = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand7 = new System.Data.SqlClient.SqlCommand(); this.dsBusObra1 = new LancNeo.dsBusObra(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.dsFirmas1 = new LancNeo.dsFirmas(); this.panel1 = new System.Windows.Forms.Panel(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsCompactaMdor1 = new LancNeo.dsCompactaMdor(); this.chbTodos = new System.Windows.Forms.CheckBox(); this.chbOrienta = new System.Windows.Forms.CheckBox(); this.chbLab1 = new System.Windows.Forms.CheckBox(); this.chbLab = new System.Windows.Forms.CheckBox(); this.chbFormato = new System.Windows.Forms.CheckBox(); this.chbLeyenda = new System.Windows.Forms.CheckBox(); this.chbDuplicado = new System.Windows.Forms.CheckBox(); this.txtFolio = new System.Windows.Forms.TextBox(); this.Fecha = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.nudRenglon = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.sqlDACompactaMdor = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.crvInfCompacta = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.cryRepCompacta1 = new LancNeo.CryRepCompacta(); this.sqlDANorma = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.sqlDAcMdorH = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand2 = new System.Data.SqlClient.SqlCommand(); this.cryRepCompactah1 = new LancNeo.CryRepCompactah(); this.chbRespaldo = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.dsCompactaRep1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsCompactaMdor1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudRenglon)).BeginInit(); this.SuspendLayout(); // // sqlDAInfCompacta // this.sqlDAInfCompacta.SelectCommand = this.sqlSelectCommand1; this.sqlDAInfCompacta.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "CompactaRep", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("Lab", "Lab"), new System.Data.Common.DataColumnMapping("Anos", "Anos"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Hoja", "Hoja"), new System.Data.Common.DataColumnMapping("Observac", "Observac"), new System.Data.Common.DataColumnMapping("Cala", "Cala"), new System.Data.Common.DataColumnMapping("Fecha", "Fecha"), new System.Data.Common.DataColumnMapping("Localizacion", "Localizacion"), new System.Data.Common.DataColumnMapping("Capa", "Capa"), new System.Data.Common.DataColumnMapping("ProfunCapa", "ProfunCapa"), new System.Data.Common.DataColumnMapping("AguaOptima", "AguaOptima"), new System.Data.Common.DataColumnMapping("AhuaLugar", "AhuaLugar"), new System.Data.Common.DataColumnMapping("MasaSecaMax", "MasaSecaMax"), new System.Data.Common.DataColumnMapping("MasaSecaLugar", "MasaSecaLugar"), new System.Data.Common.DataColumnMapping("Obtenido", "Obtenido"), new System.Data.Common.DataColumnMapping("Promedio", "Promedio"), new System.Data.Common.DataColumnMapping("Requerido", "Requerido"), new System.Data.Common.DataColumnMapping("Observa", "Observa"), new System.Data.Common.DataColumnMapping("Observa1", "Observa1"), new System.Data.Common.DataColumnMapping("Nota", "Nota"), new System.Data.Common.DataColumnMapping("Nota1", "Nota1"), new System.Data.Common.DataColumnMapping("Razonsocial", "Razonsocial"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("Colonia", "Colonia"), new System.Data.Common.DataColumnMapping("Zona", "Zona") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[CompactaRep]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@Folio1", System.Data.SqlDbType.Char, 10) }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // dsCompactaRep1 // this.dsCompactaRep1.DataSetName = "dsCompactaRep"; this.dsCompactaRep1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsCompactaRep1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAFirmas // this.sqlDAFirmas.SelectCommand = this.sqlSelectCommand7; this.sqlDAFirmas.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Firmas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdFirma", "IdFirma"), new System.Data.Common.DataColumnMapping("Nombre", "Nombre"), new System.Data.Common.DataColumnMapping("Cargo", "Cargo"), new System.Data.Common.DataColumnMapping("Imprime", "Imprime") }) }); // // sqlSelectCommand7 // this.sqlSelectCommand7.CommandText = "SELECT IdFirma, Nombre, Cargo, Imprime, Compactacion\r\nFROM Firmas\r\nWH" + "ERE (Imprime = 1) AND (Compactacion < 6)\r\nORDER BY Compactacion"; this.sqlSelectCommand7.Connection = this.sqlConn; // // dsBusObra1 // this.dsBusObra1.DataSetName = "dsBusObra"; this.dsBusObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // dsFirmas1 // this.dsFirmas1.DataSetName = "dsFirmas"; this.dsFirmas1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsFirmas1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.chbRespaldo); this.panel1.Controls.Add(this.chbTodos); this.panel1.Controls.Add(this.chbOrienta); this.panel1.Controls.Add(this.chbLab1); this.panel1.Controls.Add(this.chbLab); this.panel1.Controls.Add(this.chbFormato); this.panel1.Controls.Add(this.chbLeyenda); this.panel1.Controls.Add(this.chbDuplicado); this.panel1.Controls.Add(this.txtFolio); this.panel1.Controls.Add(this.Fecha); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.nudRenglon); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1028, 76); this.panel1.TabIndex = 11; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(931, 4); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 65); this.btnVistaPrevia.TabIndex = 11; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // buscaBtn1 // this.buscaBtn1.AnchoColTit = true; this.buscaBtn1.AnchoDlgBusq = 450; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsCompactaMdor1.CompactaMdor; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(366, 0); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 64); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsCompactaMdor1 // this.dsCompactaMdor1.DataSetName = "dsCompactaMdor"; this.dsCompactaMdor1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsCompactaMdor1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // chbTodos // this.chbTodos.ForeColor = System.Drawing.Color.White; this.chbTodos.Location = new System.Drawing.Point(805, 47); this.chbTodos.Name = "chbTodos"; this.chbTodos.Size = new System.Drawing.Size(116, 24); this.chbTodos.TabIndex = 43; this.chbTodos.Text = "Todos los folios"; // // chbOrienta // this.chbOrienta.ForeColor = System.Drawing.Color.White; this.chbOrienta.Location = new System.Drawing.Point(805, 0); this.chbOrienta.Name = "chbOrienta"; this.chbOrienta.Size = new System.Drawing.Size(116, 24); this.chbOrienta.TabIndex = 42; this.chbOrienta.Text = "Formato vertical"; this.chbOrienta.Visible = false; // // chbLab1 // this.chbLab1.Checked = true; this.chbLab1.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab1.ForeColor = System.Drawing.Color.White; this.chbLab1.Location = new System.Drawing.Point(441, 47); this.chbLab1.Name = "chbLab1"; this.chbLab1.Size = new System.Drawing.Size(133, 24); this.chbLab1.TabIndex = 41; this.chbLab1.Text = "Incluye laboratorista"; // // chbLab // this.chbLab.Checked = true; this.chbLab.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab.ForeColor = System.Drawing.Color.White; this.chbLab.Location = new System.Drawing.Point(616, 45); this.chbLab.Name = "chbLab"; this.chbLab.Size = new System.Drawing.Size(115, 24); this.chbLab.TabIndex = 37; this.chbLab.Text = "Incluye laboratorio"; // // chbFormato // this.chbFormato.ForeColor = System.Drawing.Color.White; this.chbFormato.Location = new System.Drawing.Point(616, 23); this.chbFormato.Name = "chbFormato"; this.chbFormato.Size = new System.Drawing.Size(183, 23); this.chbFormato.TabIndex = 35; this.chbFormato.Text = "Incluye imagen de acreditación"; // // chbLeyenda // this.chbLeyenda.Checked = true; this.chbLeyenda.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLeyenda.ForeColor = System.Drawing.Color.White; this.chbLeyenda.Location = new System.Drawing.Point(441, 23); this.chbLeyenda.Name = "chbLeyenda"; this.chbLeyenda.Size = new System.Drawing.Size(116, 24); this.chbLeyenda.TabIndex = 34; this.chbLeyenda.Text = "Formato leyenda"; // // chbDuplicado // this.chbDuplicado.ForeColor = System.Drawing.Color.White; this.chbDuplicado.Location = new System.Drawing.Point(248, 30); this.chbDuplicado.Name = "chbDuplicado"; this.chbDuplicado.Size = new System.Drawing.Size(89, 24); this.chbDuplicado.TabIndex = 32; this.chbDuplicado.Text = "¿Duplicado?"; // // txtFolio // this.txtFolio.Location = new System.Drawing.Point(478, 4); this.txtFolio.Name = "txtFolio"; this.txtFolio.Size = new System.Drawing.Size(56, 20); this.txtFolio.TabIndex = 31; // // Fecha // this.Fecha.AutoSize = true; this.Fecha.ForeColor = System.Drawing.Color.White; this.Fecha.Location = new System.Drawing.Point(438, 8); this.Fecha.Name = "Fecha"; this.Fecha.Size = new System.Drawing.Size(32, 13); this.Fecha.TabIndex = 30; this.Fecha.Text = "Folio:"; // // label5 // this.label5.AutoSize = true; this.label5.ForeColor = System.Drawing.Color.White; this.label5.Location = new System.Drawing.Point(560, 3); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(124, 13); this.label5.TabIndex = 13; this.label5.Text = "Especio entre renglones:"; // // nudRenglon // this.nudRenglon.Location = new System.Drawing.Point(694, 0); this.nudRenglon.Maximum = new decimal(new int[] { 4, 0, 0, 0 }); this.nudRenglon.Name = "nudRenglon"; this.nudRenglon.Size = new System.Drawing.Size(48, 20); this.nudRenglon.TabIndex = 12; this.nudRenglon.Value = new decimal(new int[] { 1, 0, 0, 0 }); // // label2 // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(246, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsBusObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(278, 4); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(8, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(232, 56); this.label1.TabIndex = 0; this.label1.Text = "Informe de verificación de la compactación"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(366, 32); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // sqlDACompactaMdor // this.sqlDACompactaMdor.SelectCommand = this.sqlSelectCommand2; this.sqlDACompactaMdor.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "CompactaMdor", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("FOLIO", "FOLIO"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("FInforme", "FInforme"), new System.Data.Common.DataColumnMapping("NoEco", "NoEco"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Observaciones", "Observaciones") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT FOLIO, IdObra, ConsObra, FInforme, NoEco, Semana, Observaciones FROM Compa" + "ctaMdor WHERE (IdObra = @IdObra) ORDER BY FOLIO"; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // crvInfCompacta // this.crvInfCompacta.ActiveViewIndex = -1; this.crvInfCompacta.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvInfCompacta.Cursor = System.Windows.Forms.Cursors.Default; this.crvInfCompacta.Dock = System.Windows.Forms.DockStyle.Fill; this.crvInfCompacta.Location = new System.Drawing.Point(0, 76); this.crvInfCompacta.Name = "crvInfCompacta"; this.crvInfCompacta.ReuseParameterValuesOnRefresh = true; this.crvInfCompacta.ShowCloseButton = false; this.crvInfCompacta.ShowGroupTreeButton = false; this.crvInfCompacta.ShowLogo = false; this.crvInfCompacta.Size = new System.Drawing.Size(1028, 529); this.crvInfCompacta.TabIndex = 12; this.crvInfCompacta.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; this.crvInfCompacta.Visible = false; // // sqlDANorma // this.sqlDANorma.SelectCommand = this.sqlSelectCommand3; this.sqlDANorma.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Normas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdNorma", "IdNorma"), new System.Data.Common.DataColumnMapping("Informe", "Informe"), new System.Data.Common.DataColumnMapping("Normas", "Normas"), new System.Data.Common.DataColumnMapping("Titulo", "Titulo"), new System.Data.Common.DataColumnMapping("IdInforme", "IdInforme") }) }); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = "SELECT IdNorma, Informe, Normas, Titulo, IdInforme FROM Normas WHERE (IdNorma = 1" + "4) ORDER BY IdNorma"; this.sqlSelectCommand3.Connection = this.sqlConn; // // sqlDAcMdorH // this.sqlDAcMdorH.SelectCommand = this.sqlCommand2; this.sqlDAcMdorH.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "CompactaRep", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("Lab", "Lab"), new System.Data.Common.DataColumnMapping("Anos", "Anos"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Hoja", "Hoja"), new System.Data.Common.DataColumnMapping("Observac", "Observac"), new System.Data.Common.DataColumnMapping("Cala", "Cala"), new System.Data.Common.DataColumnMapping("Fecha", "Fecha"), new System.Data.Common.DataColumnMapping("Localizacion", "Localizacion"), new System.Data.Common.DataColumnMapping("Capa", "Capa"), new System.Data.Common.DataColumnMapping("ProfunCapa", "ProfunCapa"), new System.Data.Common.DataColumnMapping("AguaOptima", "AguaOptima"), new System.Data.Common.DataColumnMapping("AhuaLugar", "AhuaLugar"), new System.Data.Common.DataColumnMapping("MasaSecaMax", "MasaSecaMax"), new System.Data.Common.DataColumnMapping("MasaSecaLugar", "MasaSecaLugar"), new System.Data.Common.DataColumnMapping("Obtenido", "Obtenido"), new System.Data.Common.DataColumnMapping("Promedio", "Promedio"), new System.Data.Common.DataColumnMapping("Requerido", "Requerido"), new System.Data.Common.DataColumnMapping("Observa", "Observa"), new System.Data.Common.DataColumnMapping("Observa1", "Observa1"), new System.Data.Common.DataColumnMapping("Nota", "Nota"), new System.Data.Common.DataColumnMapping("Nota1", "Nota1"), new System.Data.Common.DataColumnMapping("Razonsocial", "Razonsocial"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("Colonia", "Colonia"), new System.Data.Common.DataColumnMapping("Zona", "Zona") }) }); // // sqlCommand2 // this.sqlCommand2.CommandText = "[CompactaRep1]"; this.sqlCommand2.CommandType = System.Data.CommandType.StoredProcedure; this.sqlCommand2.Connection = this.sqlConn; this.sqlCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@Folio1", System.Data.SqlDbType.Char, 10) }); // // chbRespaldo // this.chbRespaldo.ForeColor = System.Drawing.Color.White; this.chbRespaldo.Location = new System.Drawing.Point(805, 23); this.chbRespaldo.Name = "chbRespaldo"; this.chbRespaldo.Size = new System.Drawing.Size(116, 24); this.chbRespaldo.TabIndex = 44; this.chbRespaldo.Text = "Respaldo"; // // InfCompacta // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1028, 605); this.Controls.Add(this.crvInfCompacta); this.Controls.Add(this.panel1); this.Name = "InfCompacta"; this.Text = "InfCompacta"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.InfCompacta_Load); ((System.ComponentModel.ISupportInitialize)(this.dsCompactaRep1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsCompactaMdor1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nudRenglon)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Experiencia)); System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.panel2 = new System.Windows.Forms.Panel(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsExperiencia1 = new LancNeo.dsExperiencia(); this.btnEliminar = new Soluciones2000.Tools.WinLib.tbBtn(); this.btnCalculaTodas = new Soluciones2000.Tools.WinLib.tbBtn(); this.label1 = new System.Windows.Forms.Label(); this.cmbIdConcretera = new System.Windows.Forms.ComboBox(); this.dsConcretera1 = new LancNeo.dsConcretera(); this.lblIdObra = new System.Windows.Forms.Label(); this.sqlDAConcretera = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.sqlDAdExperiencia = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.sqlCMBorra = new System.Data.SqlClient.SqlCommand(); this.dgExperiencia = new System.Windows.Forms.DataGridView(); this.premezDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ptaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fcDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tipoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tmaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.revDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.grDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tADataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.muestrasDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.a7DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.aEEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.aEEDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fIniDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fFinDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.d3A7DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.d3AEEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.d7AEEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.unidadDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.pruebaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.identificadorDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.experienciaBindingSource = new System.Windows.Forms.BindingSource(this.components); this.sqlCCalcula = new System.Data.SqlClient.SqlCommand(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsExperiencia1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsConcretera1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgExperiencia)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.experienciaBindingSource)).BeginInit(); this.SuspendLayout(); // // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.Highlight; this.panel2.Controls.Add(this.btnCalculaTodas); this.panel2.Controls.Add(this.btnEliminar); this.panel2.Controls.Add(this.buscaBtn1); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.cmbIdConcretera); this.panel2.Controls.Add(this.lblIdObra); this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(948, 74); this.panel2.TabIndex = 6; // // buscaBtn1 // this.buscaBtn1.AnchoColTit = true; this.buscaBtn1.AnchoDlgBusq = 800; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsExperiencia1.Experiencia; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(536, 0); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 64); this.buscaBtn1.TabIndex = 41; this.toolTip1.SetToolTip(this.buscaBtn1, "Buscar experiencia para eliminar"); this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsExperiencia1 // this.dsExperiencia1.DataSetName = "dsExperiencia"; this.dsExperiencia1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsExperiencia1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // btnEliminar // this.btnEliminar.BackColor = System.Drawing.Color.Transparent; this.btnEliminar.Icon = ((System.Drawing.Icon)(resources.GetObject("btnEliminar.Icon"))); this.btnEliminar.Location = new System.Drawing.Point(608, 0); this.btnEliminar.Name = "btnEliminar"; this.btnEliminar.Size = new System.Drawing.Size(64, 64); this.btnEliminar.TabIndex = 42; this.toolTip1.SetToolTip(this.btnEliminar, "Eliminar"); this.btnEliminar.Visible = false; this.btnEliminar.Load += new System.EventHandler(this.btnEliminar_Load); this.btnEliminar.Click += new System.EventHandler(this.btnEliminar_Click); // // btnCalculaTodas // this.btnCalculaTodas.BackColor = System.Drawing.Color.Transparent; this.btnCalculaTodas.Icon = ((System.Drawing.Icon)(resources.GetObject("btnCalculaTodas.Icon"))); this.btnCalculaTodas.Location = new System.Drawing.Point(709, 0); this.btnCalculaTodas.Name = "btnCalculaTodas"; this.btnCalculaTodas.Size = new System.Drawing.Size(64, 64); this.btnCalculaTodas.TabIndex = 65; this.toolTip1.SetToolTip(this.btnCalculaTodas, "Calcula todas las experiencias"); this.btnCalculaTodas.Click += new System.EventHandler(this.btnCalculaTodas_Click); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(242, 23); this.label1.TabIndex = 40; this.label1.Text = "Consulta de experiencia"; // // cmbIdConcretera // this.cmbIdConcretera.DataSource = this.dsConcretera1.Concretera; this.cmbIdConcretera.DisplayMember = "Concretera"; this.cmbIdConcretera.Location = new System.Drawing.Point(320, 16); this.cmbIdConcretera.Name = "cmbIdConcretera"; this.cmbIdConcretera.Size = new System.Drawing.Size(208, 21); this.cmbIdConcretera.TabIndex = 39; this.cmbIdConcretera.Tag = "ACE"; this.cmbIdConcretera.ValueMember = "IdConcretera"; this.cmbIdConcretera.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // dsConcretera1 // this.dsConcretera1.DataSetName = "dsConcretera"; this.dsConcretera1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsConcretera1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // lblIdObra // this.lblIdObra.AutoSize = true; this.lblIdObra.Location = new System.Drawing.Point(256, 18); this.lblIdObra.Name = "lblIdObra"; this.lblIdObra.Size = new System.Drawing.Size(62, 13); this.lblIdObra.TabIndex = 1; this.lblIdObra.Text = "Concretera:"; this.lblIdObra.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // sqlDAConcretera // this.sqlDAConcretera.SelectCommand = this.sqlSelectCommand1; this.sqlDAConcretera.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Concretera", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdConcretera", "IdConcretera"), new System.Data.Common.DataColumnMapping("Concretera", "Concretera"), new System.Data.Common.DataColumnMapping("Direccion", "Direccion") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "SELECT IdConcretera, Concretera, Direccion FROM Concretera ORDER BY Concretera"; this.sqlSelectCommand1.Connection = this.sqlConn; // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // sqlDAdExperiencia // this.sqlDAdExperiencia.SelectCommand = this.sqlSelectCommand2; this.sqlDAdExperiencia.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Experiencia", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdConcretera", "IdConcretera"), new System.Data.Common.DataColumnMapping("IdPlanta", "IdPlanta"), new System.Data.Common.DataColumnMapping("ResistenciaKG", "ResistenciaKG"), new System.Data.Common.DataColumnMapping("Tipo", "Tipo"), new System.Data.Common.DataColumnMapping("Agregado", "Agregado"), new System.Data.Common.DataColumnMapping("Revenimento", "Revenimento"), new System.Data.Common.DataColumnMapping("Grado", "Grado"), new System.Data.Common.DataColumnMapping("IdAgregado", "IdAgregado"), new System.Data.Common.DataColumnMapping("Fechaini", "Fechaini"), new System.Data.Common.DataColumnMapping("Fechafin", "Fechafin"), new System.Data.Common.DataColumnMapping("Planta", "Planta"), new System.Data.Common.DataColumnMapping("Muestras", "Muestras"), new System.Data.Common.DataColumnMapping("d3a7", "d3a7"), new System.Data.Common.DataColumnMapping("d3aEE", "d3aEE"), new System.Data.Common.DataColumnMapping("d7aEE", "d7aEE"), new System.Data.Common.DataColumnMapping("s3a7", "s3a7"), new System.Data.Common.DataColumnMapping("s3EE", "s3EE"), new System.Data.Common.DataColumnMapping("s7EE", "s7EE"), new System.Data.Common.DataColumnMapping("IdPrueba", "IdPrueba"), new System.Data.Common.DataColumnMapping("Unidad", "Unidad"), new System.Data.Common.DataColumnMapping("Diametro", "Diametro") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = resources.GetString("sqlSelectCommand2.CommandText"); this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdConcretera", System.Data.SqlDbType.NVarChar, 10, "Premez") }); // // sqlCMBorra // this.sqlCMBorra.CommandText = "DELETE FROM Experiencia WHERE (Identificador = @Identificador)"; this.sqlCMBorra.Connection = this.sqlConn; this.sqlCMBorra.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@Identificador", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Identificador", System.Data.DataRowVersion.Original, null) }); // // dgExperiencia // this.dgExperiencia.AutoGenerateColumns = false; this.dgExperiencia.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgExperiencia.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.premezDataGridViewTextBoxColumn, this.ptaDataGridViewTextBoxColumn, this.fcDataGridViewTextBoxColumn, this.tipoDataGridViewTextBoxColumn, this.tmaDataGridViewTextBoxColumn, this.revDataGridViewTextBoxColumn, this.grDataGridViewTextBoxColumn, this.tADataGridViewTextBoxColumn, this.muestrasDataGridViewTextBoxColumn, this.a7DataGridViewTextBoxColumn, this.aEEDataGridViewTextBoxColumn, this.aEEDataGridViewTextBoxColumn1, this.fIniDataGridViewTextBoxColumn, this.fFinDataGridViewTextBoxColumn, this.d3A7DataGridViewTextBoxColumn, this.d3AEEDataGridViewTextBoxColumn, this.d7AEEDataGridViewTextBoxColumn, this.unidadDataGridViewTextBoxColumn, this.pruebaDataGridViewTextBoxColumn, this.identificadorDataGridViewTextBoxColumn }); this.dgExperiencia.DataSource = this.experienciaBindingSource; this.dgExperiencia.Location = new System.Drawing.Point(0, 80); this.dgExperiencia.Name = "dgExperiencia"; this.dgExperiencia.Size = new System.Drawing.Size(957, 529); this.dgExperiencia.TabIndex = 8; // // premezDataGridViewTextBoxColumn // this.premezDataGridViewTextBoxColumn.DataPropertyName = "Premez"; this.premezDataGridViewTextBoxColumn.HeaderText = "Premez"; this.premezDataGridViewTextBoxColumn.Name = "premezDataGridViewTextBoxColumn"; // // ptaDataGridViewTextBoxColumn // this.ptaDataGridViewTextBoxColumn.DataPropertyName = "Pta"; this.ptaDataGridViewTextBoxColumn.HeaderText = "Pta"; this.ptaDataGridViewTextBoxColumn.Name = "ptaDataGridViewTextBoxColumn"; // // fcDataGridViewTextBoxColumn // this.fcDataGridViewTextBoxColumn.DataPropertyName = "f´c "; this.fcDataGridViewTextBoxColumn.HeaderText = "f´c "; this.fcDataGridViewTextBoxColumn.Name = "fcDataGridViewTextBoxColumn"; // // tipoDataGridViewTextBoxColumn // this.tipoDataGridViewTextBoxColumn.DataPropertyName = "Tipo "; this.tipoDataGridViewTextBoxColumn.HeaderText = "Tipo "; this.tipoDataGridViewTextBoxColumn.Name = "tipoDataGridViewTextBoxColumn"; // // tmaDataGridViewTextBoxColumn // this.tmaDataGridViewTextBoxColumn.DataPropertyName = "Tma "; this.tmaDataGridViewTextBoxColumn.HeaderText = "Tma "; this.tmaDataGridViewTextBoxColumn.Name = "tmaDataGridViewTextBoxColumn"; // // revDataGridViewTextBoxColumn // this.revDataGridViewTextBoxColumn.DataPropertyName = "Rev "; this.revDataGridViewTextBoxColumn.HeaderText = "Rev "; this.revDataGridViewTextBoxColumn.Name = "revDataGridViewTextBoxColumn"; // // grDataGridViewTextBoxColumn // this.grDataGridViewTextBoxColumn.DataPropertyName = "Gr"; this.grDataGridViewTextBoxColumn.HeaderText = "Gr"; this.grDataGridViewTextBoxColumn.Name = "grDataGridViewTextBoxColumn"; // // tADataGridViewTextBoxColumn // this.tADataGridViewTextBoxColumn.DataPropertyName = " T A "; this.tADataGridViewTextBoxColumn.HeaderText = " T A "; this.tADataGridViewTextBoxColumn.Name = "tADataGridViewTextBoxColumn"; // // muestrasDataGridViewTextBoxColumn // this.muestrasDataGridViewTextBoxColumn.DataPropertyName = "Muestras"; this.muestrasDataGridViewTextBoxColumn.HeaderText = "Muestras"; this.muestrasDataGridViewTextBoxColumn.Name = "muestrasDataGridViewTextBoxColumn"; // // a7DataGridViewTextBoxColumn // this.a7DataGridViewTextBoxColumn.DataPropertyName = "3 a 7"; this.a7DataGridViewTextBoxColumn.HeaderText = "3 a 7"; this.a7DataGridViewTextBoxColumn.Name = "a7DataGridViewTextBoxColumn"; this.a7DataGridViewTextBoxColumn.ReadOnly = true; // // aEEDataGridViewTextBoxColumn // this.aEEDataGridViewTextBoxColumn.DataPropertyName = "3 a EE"; this.aEEDataGridViewTextBoxColumn.HeaderText = "3 a EE"; this.aEEDataGridViewTextBoxColumn.Name = "aEEDataGridViewTextBoxColumn"; this.aEEDataGridViewTextBoxColumn.ReadOnly = true; // // aEEDataGridViewTextBoxColumn1 // this.aEEDataGridViewTextBoxColumn1.DataPropertyName = "7 a EE"; this.aEEDataGridViewTextBoxColumn1.HeaderText = "7 a EE"; this.aEEDataGridViewTextBoxColumn1.Name = "aEEDataGridViewTextBoxColumn1"; this.aEEDataGridViewTextBoxColumn1.ReadOnly = true; // // fIniDataGridViewTextBoxColumn // this.fIniDataGridViewTextBoxColumn.DataPropertyName = "F. Ini"; this.fIniDataGridViewTextBoxColumn.HeaderText = "F. Ini"; this.fIniDataGridViewTextBoxColumn.Name = "fIniDataGridViewTextBoxColumn"; // // fFinDataGridViewTextBoxColumn // this.fFinDataGridViewTextBoxColumn.DataPropertyName = "F. Fin"; this.fFinDataGridViewTextBoxColumn.HeaderText = "F. Fin"; this.fFinDataGridViewTextBoxColumn.Name = "fFinDataGridViewTextBoxColumn"; // // d3A7DataGridViewTextBoxColumn // this.d3A7DataGridViewTextBoxColumn.DataPropertyName = "d3 a 7"; this.d3A7DataGridViewTextBoxColumn.HeaderText = "d3 a 7"; this.d3A7DataGridViewTextBoxColumn.Name = "d3A7DataGridViewTextBoxColumn"; this.d3A7DataGridViewTextBoxColumn.ReadOnly = true; // // d3AEEDataGridViewTextBoxColumn // this.d3AEEDataGridViewTextBoxColumn.DataPropertyName = "d3 a EE"; this.d3AEEDataGridViewTextBoxColumn.HeaderText = "d3 a EE"; this.d3AEEDataGridViewTextBoxColumn.Name = "d3AEEDataGridViewTextBoxColumn"; this.d3AEEDataGridViewTextBoxColumn.ReadOnly = true; // // d7AEEDataGridViewTextBoxColumn // this.d7AEEDataGridViewTextBoxColumn.DataPropertyName = "d7 a EE"; this.d7AEEDataGridViewTextBoxColumn.HeaderText = "d7 a EE"; this.d7AEEDataGridViewTextBoxColumn.Name = "d7AEEDataGridViewTextBoxColumn"; this.d7AEEDataGridViewTextBoxColumn.ReadOnly = true; // // unidadDataGridViewTextBoxColumn // this.unidadDataGridViewTextBoxColumn.DataPropertyName = "Unidad"; this.unidadDataGridViewTextBoxColumn.HeaderText = "Unidad"; this.unidadDataGridViewTextBoxColumn.Name = "unidadDataGridViewTextBoxColumn"; // // pruebaDataGridViewTextBoxColumn // this.pruebaDataGridViewTextBoxColumn.DataPropertyName = "Prueba"; this.pruebaDataGridViewTextBoxColumn.HeaderText = "Prueba"; this.pruebaDataGridViewTextBoxColumn.Name = "pruebaDataGridViewTextBoxColumn"; // // identificadorDataGridViewTextBoxColumn // this.identificadorDataGridViewTextBoxColumn.DataPropertyName = "Identificador"; this.identificadorDataGridViewTextBoxColumn.HeaderText = "Identificador"; this.identificadorDataGridViewTextBoxColumn.Name = "identificadorDataGridViewTextBoxColumn"; this.identificadorDataGridViewTextBoxColumn.ReadOnly = true; // // experienciaBindingSource // this.experienciaBindingSource.DataMember = "Experiencia"; this.experienciaBindingSource.DataSource = this.dsExperiencia1; // // sqlCCalcula // this.sqlCCalcula.CommandText = "ExpTotal"; this.sqlCCalcula.CommandTimeout = 600; this.sqlCCalcula.CommandType = System.Data.CommandType.StoredProcedure; this.sqlCCalcula.Connection = this.sqlConn; this.sqlCCalcula.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null) }); // // Experiencia // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.Highlight; this.ClientSize = new System.Drawing.Size(960, 613); this.Controls.Add(this.dgExperiencia); this.Controls.Add(this.panel2); this.Name = "Experiencia"; this.Text = "Experiencia"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Experiencia_Load); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsExperiencia1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsConcretera1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgExperiencia)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.experienciaBindingSource)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Copia)); System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.panel1 = new System.Windows.Forms.Panel(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.txtIdObra = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObraO = new System.Windows.Forms.ComboBox(); this.dsBuscaObra1 = new LancNeo.dsBuscaObra(); this.dsBuscaObra2 = new LancNeo.dsBuscaObra(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.sqlDABusObraO = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDABusObraD = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlComCopia = new System.Data.SqlClient.SqlCommand(); this.panel2 = new System.Windows.Forms.Panel(); this.tbBtn1 = new Soluciones2000.Tools.WinLib.tbBtn(); this.txtBuscar = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.cmbRes = new System.Windows.Forms.ComboBox(); this.dsBusResistencia1 = new LancNeo.dsBusResistencia(); this.label6 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.sqlDARes = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand7 = new System.Data.SqlClient.SqlCommand(); this.sqlComRemplaza = new System.Data.SqlClient.SqlCommand(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsBuscaObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBuscaObra2)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsBusResistencia1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.txtIdObra); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObraO); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(552, 72); this.panel1.TabIndex = 0; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(478, 4); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 64); this.btnVistaPrevia.TabIndex = 13; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // txtIdObra // this.txtIdObra.Location = new System.Drawing.Point(284, 44); this.txtIdObra.Name = "txtIdObra"; this.txtIdObra.Size = new System.Drawing.Size(80, 20); this.txtIdObra.TabIndex = 15; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(4, 4); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(142, 24); this.label3.TabIndex = 14; this.label3.Text = "Copia de obra"; // // label1 // this.label1.AutoSize = true; this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(205, 44); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(70, 13); this.label1.TabIndex = 12; this.label1.Text = "Obra destino:"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label2 // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(210, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(65, 13); this.label2.TabIndex = 10; this.label2.Text = "Obra origen:"; this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight; // // cmbIdObraO // this.cmbIdObraO.DataSource = this.dsBuscaObra1.Obra; this.cmbIdObraO.DisplayMember = "Idobra"; this.cmbIdObraO.Location = new System.Drawing.Point(284, 14); this.cmbIdObraO.Name = "cmbIdObraO"; this.cmbIdObraO.Size = new System.Drawing.Size(80, 21); this.cmbIdObraO.TabIndex = 9; this.cmbIdObraO.ValueMember = "IdObra"; // // dsBuscaObra1 // this.dsBuscaObra1.DataSetName = "dsBuscaObra"; this.dsBuscaObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBuscaObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dsBuscaObra2 // this.dsBuscaObra2.DataSetName = "dsBuscaObra"; this.dsBuscaObra2.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBuscaObra2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // sqlDABusObraO // this.sqlDABusObraO.SelectCommand = this.sqlCommand1; this.sqlDABusObraO.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // sqlDABusObraD // this.sqlDABusObraD.SelectCommand = this.sqlCommand2; this.sqlDABusObraD.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand2 // this.sqlCommand2.CommandText = resources.GetString("sqlCommand2.CommandText"); this.sqlCommand2.Connection = this.sqlConn; // // sqlComCopia // this.sqlComCopia.CommandText = "[copia]"; this.sqlComCopia.CommandType = System.Data.CommandType.StoredProcedure; this.sqlComCopia.Connection = this.sqlConn; this.sqlComCopia.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObraOrigen", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@IdObraDestino", System.Data.SqlDbType.NVarChar, 6) }); // // panel2 // this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel2.Controls.Add(this.tbBtn1); this.panel2.Controls.Add(this.txtBuscar); this.panel2.Controls.Add(this.label5); this.panel2.Controls.Add(this.cmbRes); this.panel2.Controls.Add(this.label6); this.panel2.Controls.Add(this.label4); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 89); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(552, 100); this.panel2.TabIndex = 1; this.panel2.Visible = false; // // tbBtn1 // this.tbBtn1.BackColor = System.Drawing.Color.Transparent; this.tbBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("tbBtn1.Icon"))); this.tbBtn1.Location = new System.Drawing.Point(478, 4); this.tbBtn1.Name = "tbBtn1"; this.tbBtn1.Size = new System.Drawing.Size(64, 64); this.tbBtn1.TabIndex = 43; this.tbBtn1.Click += new System.EventHandler(this.tbBtn1_Click); // // txtBuscar // this.txtBuscar.Location = new System.Drawing.Point(282, 40); this.txtBuscar.Name = "txtBuscar"; this.txtBuscar.Size = new System.Drawing.Size(174, 20); this.txtBuscar.TabIndex = 42; // // label5 // this.label5.AutoSize = true; this.label5.ForeColor = System.Drawing.Color.White; this.label5.Location = new System.Drawing.Point(234, 42); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(43, 13); this.label5.TabIndex = 41; this.label5.Text = "Buscar:"; this.label5.TextAlign = System.Drawing.ContentAlignment.TopRight; // // cmbRes // this.cmbRes.DataSource = this.dsBusResistencia1.Resistencia; this.cmbRes.DisplayMember = "Resistencia"; this.cmbRes.Location = new System.Drawing.Point(282, 64); this.cmbRes.Name = "cmbRes"; this.cmbRes.Size = new System.Drawing.Size(64, 21); this.cmbRes.TabIndex = 40; this.cmbRes.ValueMember = "ResistenciaKG"; // // dsBusResistencia1 // this.dsBusResistencia1.DataSetName = "dsBusResistencia"; this.dsBusResistencia1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusResistencia1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label6 // this.label6.AutoSize = true; this.label6.ForeColor = System.Drawing.Color.White; this.label6.Location = new System.Drawing.Point(158, 66); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(114, 13); this.label6.TabIndex = 18; this.label6.Text = "Resistencia resultante:"; this.label6.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.ForeColor = System.Drawing.Color.White; this.label4.Location = new System.Drawing.Point(4, 4); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(258, 24); this.label4.TabIndex = 15; this.label4.Text = "Sustitución de resistencias"; // // sqlDARes // this.sqlDARes.SelectCommand = this.sqlSelectCommand7; this.sqlDARes.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Resistencia", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("ResistenciaKG", "ResistenciaKG"), new System.Data.Common.DataColumnMapping("ResistenciaMPa", "ResistenciaMPa") }) }); // // sqlSelectCommand7 // this.sqlSelectCommand7.CommandText = "SELECT ResistenciaKG, STR(ResistenciaKG) AS Resistencia FROM Resistencia"; this.sqlSelectCommand7.Connection = this.sqlConn; // // sqlComRemplaza // this.sqlComRemplaza.CommandText = "[Remplaza]"; this.sqlComRemplaza.CommandType = System.Data.CommandType.StoredProcedure; this.sqlComRemplaza.Connection = this.sqlConn; this.sqlComRemplaza.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@Busca", System.Data.SqlDbType.NVarChar, 20), new System.Data.SqlClient.SqlParameter("@IdObraDestino", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@Resistencia", System.Data.SqlDbType.Real, 4) }); // // Copia // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.Highlight; this.ClientSize = new System.Drawing.Size(552, 189); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Copia"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Copia"; this.Load += new System.EventHandler(this.Copia_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsBuscaObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBuscaObra2)).EndInit(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsBusResistencia1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InfTabique)); this.sqlDAInfTabiqueMdor = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.dsInfTabiqueMdor1 = new LancNeo.dsInfTabiqueMdor(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDAFirmas = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand7 = new System.Data.SqlClient.SqlCommand(); this.dsBusObra1 = new LancNeo.dsBusObra(); this.dsFirmas1 = new LancNeo.dsFirmas(); this.panel1 = new System.Windows.Forms.Panel(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsTabiqueMdor1 = new LancNeo.dsTabiqueMdor(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.chbLab = new System.Windows.Forms.CheckBox(); this.chbDuplicado = new System.Windows.Forms.CheckBox(); this.txtFolio = new System.Windows.Forms.TextBox(); this.Fecha = new System.Windows.Forms.Label(); this.cmbUnidad = new System.Windows.Forms.ComboBox(); this.dsUnidad1 = new LancNeo.dsUnidad(); this.label5 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.chbLeyenda = new System.Windows.Forms.CheckBox(); this.chbLab1 = new System.Windows.Forms.CheckBox(); this.crvInfTabique = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.sqlDAInfTabiqueResC = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlDAInfTabiqueResA = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlDATabiqueMdor = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.cryRepTabique1 = new LancNeo.CryRepTabique(); this.sqlDAUnidad = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand3 = new System.Data.SqlClient.SqlCommand(); this.sqlDANorma = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand4 = new System.Data.SqlClient.SqlCommand(); ((System.ComponentModel.ISupportInitialize)(this.dsInfTabiqueMdor1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsTabiqueMdor1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsUnidad1)).BeginInit(); this.SuspendLayout(); // // sqlDAInfTabiqueMdor // this.sqlDAInfTabiqueMdor.SelectCommand = this.sqlSelectCommand1; this.sqlDAInfTabiqueMdor.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "TabiqueRep", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("FMuestreo", "FMuestreo"), new System.Data.Common.DataColumnMapping("FEnsaye", "FEnsaye"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("Lab", "Lab"), new System.Data.Common.DataColumnMapping("Anos", "Anos"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Hoja", "Hoja"), new System.Data.Common.DataColumnMapping("MReducida", "MReducida"), new System.Data.Common.DataColumnMapping("Unidad", "Unidad"), new System.Data.Common.DataColumnMapping("Cumple", "Cumple"), new System.Data.Common.DataColumnMapping("Norma", "Norma"), new System.Data.Common.DataColumnMapping("Como", "Como"), new System.Data.Common.DataColumnMapping("ObsComo", "ObsComo"), new System.Data.Common.DataColumnMapping("Tipo", "Tipo"), new System.Data.Common.DataColumnMapping("Subtipo", "Subtipo"), new System.Data.Common.DataColumnMapping("Grado", "Grado"), new System.Data.Common.DataColumnMapping("Empleado", "Empleado"), new System.Data.Common.DataColumnMapping("Observac", "Observac"), new System.Data.Common.DataColumnMapping("Razonsocial", "Razonsocial"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("Colonia", "Colonia"), new System.Data.Common.DataColumnMapping("Zona", "Zona") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[TabiqueRep]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@Folio1", System.Data.SqlDbType.VarChar, 10) }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // dsInfTabiqueMdor1 // this.dsInfTabiqueMdor1.DataSetName = "dsInfTabiqueMdor"; this.dsInfTabiqueMdor1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsInfTabiqueMdor1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // sqlDAFirmas // this.sqlDAFirmas.SelectCommand = this.sqlSelectCommand7; this.sqlDAFirmas.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Firmas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdFirma", "IdFirma"), new System.Data.Common.DataColumnMapping("Nombre", "Nombre"), new System.Data.Common.DataColumnMapping("Cargo", "Cargo"), new System.Data.Common.DataColumnMapping("Imprime", "Imprime") }) }); // // sqlSelectCommand7 // this.sqlSelectCommand7.CommandText = "SELECT IdFirma, Nombre, Cargo, Imprime FROM Firmas WHERE (Imprime = 1) ORDER BY I" + "dFirma"; this.sqlSelectCommand7.Connection = this.sqlConn; // // dsBusObra1 // this.dsBusObra1.DataSetName = "dsBusObra"; this.dsBusObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dsFirmas1 // this.dsFirmas1.DataSetName = "dsFirmas"; this.dsFirmas1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsFirmas1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.chbLab); this.panel1.Controls.Add(this.chbDuplicado); this.panel1.Controls.Add(this.txtFolio); this.panel1.Controls.Add(this.Fecha); this.panel1.Controls.Add(this.cmbUnidad); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Controls.Add(this.chbLeyenda); this.panel1.Controls.Add(this.chbLab1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(856, 109); this.panel1.TabIndex = 12; // // buscaBtn1 // this.buscaBtn1.AnchoColTit = true; this.buscaBtn1.AnchoDlgBusq = 450; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsTabiqueMdor1.TabiqueMdor; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(560, 0); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 64); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsTabiqueMdor1 // this.dsTabiqueMdor1.DataSetName = "dsTabiqueMdor"; this.dsTabiqueMdor1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsTabiqueMdor1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(748, 7); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 64); this.btnVistaPrevia.TabIndex = 11; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Load += new System.EventHandler(this.btnVistaPrevia_Load); this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // chbLab // this.chbLab.Checked = true; this.chbLab.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab.Location = new System.Drawing.Point(562, 76); this.chbLab.Name = "chbLab"; this.chbLab.Size = new System.Drawing.Size(115, 24); this.chbLab.TabIndex = 78; this.chbLab.Text = "Incluye laboratorio"; // // chbDuplicado // this.chbDuplicado.Location = new System.Drawing.Point(628, 32); this.chbDuplicado.Name = "chbDuplicado"; this.chbDuplicado.Size = new System.Drawing.Size(89, 24); this.chbDuplicado.TabIndex = 34; this.chbDuplicado.Text = "¿Duplicado?"; // // txtFolio // this.txtFolio.Location = new System.Drawing.Point(665, 6); this.txtFolio.Name = "txtFolio"; this.txtFolio.Size = new System.Drawing.Size(56, 20); this.txtFolio.TabIndex = 33; // // Fecha // this.Fecha.AutoSize = true; this.Fecha.Location = new System.Drawing.Point(628, 8); this.Fecha.Name = "Fecha"; this.Fecha.Size = new System.Drawing.Size(32, 13); this.Fecha.TabIndex = 32; this.Fecha.Text = "Folio:"; // // cmbUnidad // this.cmbUnidad.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dsUnidad1, "Unidad.Undescr", true)); this.cmbUnidad.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.dsUnidad1, "Unidad.IdUnidad", true)); this.cmbUnidad.DataSource = this.dsUnidad1.Unidad; this.cmbUnidad.DisplayMember = "Undescr"; this.cmbUnidad.Location = new System.Drawing.Point(472, 32); this.cmbUnidad.Name = "cmbUnidad"; this.cmbUnidad.Size = new System.Drawing.Size(80, 21); this.cmbUnidad.TabIndex = 25; this.cmbUnidad.ValueMember = "IdUnidad"; // // dsUnidad1 // this.dsUnidad1.DataSetName = "dsUnidad"; this.dsUnidad1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsUnidad1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(429, 34); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(44, 13); this.label5.TabIndex = 26; this.label5.Text = "Unidad:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(440, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsBusObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(472, 6); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(8, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(392, 75); this.label1.TabIndex = 0; this.label1.Text = "Informe de verificación de las propiedades físicas del ladrillo, tabique, block y" + " adoquin"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(560, 32); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // chbLeyenda // this.chbLeyenda.Checked = true; this.chbLeyenda.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLeyenda.Location = new System.Drawing.Point(432, 76); this.chbLeyenda.Name = "chbLeyenda"; this.chbLeyenda.Size = new System.Drawing.Size(116, 24); this.chbLeyenda.TabIndex = 33; this.chbLeyenda.Text = "Formato leyenda"; // // chbLab1 // this.chbLab1.Checked = true; this.chbLab1.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab1.Location = new System.Drawing.Point(686, 76); this.chbLab1.Name = "chbLab1"; this.chbLab1.Size = new System.Drawing.Size(140, 28); this.chbLab1.TabIndex = 41; this.chbLab1.Text = "Incluye laboratorista"; // // crvInfTabique // this.crvInfTabique.ActiveViewIndex = -1; this.crvInfTabique.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvInfTabique.Cursor = System.Windows.Forms.Cursors.Default; this.crvInfTabique.Dock = System.Windows.Forms.DockStyle.Fill; this.crvInfTabique.EnableRefresh = false; this.crvInfTabique.Location = new System.Drawing.Point(0, 109); this.crvInfTabique.Name = "crvInfTabique"; this.crvInfTabique.ShowCloseButton = false; this.crvInfTabique.ShowGroupTreeButton = false; this.crvInfTabique.ShowLogo = false; this.crvInfTabique.Size = new System.Drawing.Size(856, 415); this.crvInfTabique.TabIndex = 13; this.crvInfTabique.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; // // sqlDAInfTabiqueResC // this.sqlDAInfTabiqueResC.SelectCommand = this.sqlSelectCommand2; this.sqlDAInfTabiqueResC.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "TabiqueRep1", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("Muestra", "Muestra"), new System.Data.Common.DataColumnMapping("TMuestra", "TMuestra"), new System.Data.Common.DataColumnMapping("Largo", "Largo"), new System.Data.Common.DataColumnMapping("Ancho", "Ancho"), new System.Data.Common.DataColumnMapping("Peralte", "Peralte"), new System.Data.Common.DataColumnMapping("Area", "Area"), new System.Data.Common.DataColumnMapping("RcAInd", "RcAInd"), new System.Data.Common.DataColumnMapping("RcAPro", "RcAPro"), new System.Data.Common.DataColumnMapping("EspInd", "EspInd"), new System.Data.Common.DataColumnMapping("EspPro", "EspPro") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "[TabiqueRep1]"; this.sqlSelectCommand2.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@Folio1", System.Data.SqlDbType.VarChar, 10), new System.Data.SqlClient.SqlParameter("@Prueba", System.Data.SqlDbType.Bit, 1), new System.Data.SqlClient.SqlParameter("@IdUnidad", System.Data.SqlDbType.SmallInt, 2) }); // // sqlDAInfTabiqueResA // this.sqlDAInfTabiqueResA.SelectCommand = this.sqlCommand2; this.sqlDAInfTabiqueResA.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "TabiqueRep1", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("Muestra", "Muestra"), new System.Data.Common.DataColumnMapping("TMuestra", "TMuestra"), new System.Data.Common.DataColumnMapping("Largo", "Largo"), new System.Data.Common.DataColumnMapping("Ancho", "Ancho"), new System.Data.Common.DataColumnMapping("Peralte", "Peralte"), new System.Data.Common.DataColumnMapping("Area", "Area"), new System.Data.Common.DataColumnMapping("RcAInd", "RcAInd"), new System.Data.Common.DataColumnMapping("RcAPro", "RcAPro"), new System.Data.Common.DataColumnMapping("EspInd", "EspInd"), new System.Data.Common.DataColumnMapping("EspPro", "EspPro") }) }); // // sqlCommand2 // this.sqlCommand2.CommandText = "[TabiqueRep1]"; this.sqlCommand2.CommandType = System.Data.CommandType.StoredProcedure; this.sqlCommand2.Connection = this.sqlConn; this.sqlCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@Folio1", System.Data.SqlDbType.VarChar, 10), new System.Data.SqlClient.SqlParameter("@Prueba", System.Data.SqlDbType.Bit, 1), new System.Data.SqlClient.SqlParameter("@IdUnidad", System.Data.SqlDbType.SmallInt, 2) }); // // sqlDATabiqueMdor // this.sqlDATabiqueMdor.SelectCommand = this.sqlSelectCommand3; this.sqlDATabiqueMdor.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "TabiqueMdor", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("FOLIO", "FOLIO"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("FMuestreo", "FMuestreo"), new System.Data.Common.DataColumnMapping("FEnsaye", "FEnsaye"), new System.Data.Common.DataColumnMapping("FInforme", "FInforme"), new System.Data.Common.DataColumnMapping("NoEco", "NoEco"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("MReducida", "MReducida"), new System.Data.Common.DataColumnMapping("Unidad", "Unidad"), new System.Data.Common.DataColumnMapping("Cumple", "Cumple"), new System.Data.Common.DataColumnMapping("Norma", "Norma"), new System.Data.Common.DataColumnMapping("Como", "Como"), new System.Data.Common.DataColumnMapping("ObsComo", "ObsComo"), new System.Data.Common.DataColumnMapping("Tipo", "Tipo"), new System.Data.Common.DataColumnMapping("Subtipo", "Subtipo"), new System.Data.Common.DataColumnMapping("Grado", "Grado"), new System.Data.Common.DataColumnMapping("Empleado", "Empleado"), new System.Data.Common.DataColumnMapping("Observaciones", "Observaciones") }) }); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = resources.GetString("sqlSelectCommand3.CommandText"); this.sqlSelectCommand3.Connection = this.sqlConn; this.sqlSelectCommand3.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // sqlDAUnidad // this.sqlDAUnidad.SelectCommand = this.sqlCommand3; this.sqlDAUnidad.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Unidad", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdUnidad", "IdUnidad"), new System.Data.Common.DataColumnMapping("Factor", "Factor"), new System.Data.Common.DataColumnMapping("Undescr", "Undescr"), new System.Data.Common.DataColumnMapping("MaxagrUn", "MaxagrUn"), new System.Data.Common.DataColumnMapping("RevenUn", "RevenUn") }) }); // // sqlCommand3 // this.sqlCommand3.CommandText = "SELECT IdUnidad, Factor, Undescr, MaxagrUn, RevenUn FROM Unidad"; this.sqlCommand3.Connection = this.sqlConn; // // sqlDANorma // this.sqlDANorma.SelectCommand = this.sqlSelectCommand4; this.sqlDANorma.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Normas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdNorma", "IdNorma"), new System.Data.Common.DataColumnMapping("Informe", "Informe"), new System.Data.Common.DataColumnMapping("Normas", "Normas"), new System.Data.Common.DataColumnMapping("Titulo", "Titulo"), new System.Data.Common.DataColumnMapping("IdInforme", "IdInforme"), new System.Data.Common.DataColumnMapping("Norma1", "Norma1"), new System.Data.Common.DataColumnMapping("Norma2", "Norma2"), new System.Data.Common.DataColumnMapping("Norma3", "Norma3"), new System.Data.Common.DataColumnMapping("Norma4", "Norma4"), new System.Data.Common.DataColumnMapping("Norma5", "Norma5") }) }); // // sqlSelectCommand4 // this.sqlSelectCommand4.CommandText = "SELECT IdNorma, Informe, Normas, Titulo, IdInforme, Norma1, Norma2, Norma3, Norma" + "4, Norma5 FROM Normas WHERE (IdNorma = @IdNorma)"; this.sqlSelectCommand4.Connection = this.sqlConn; this.sqlSelectCommand4.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdNorma", System.Data.SqlDbType.SmallInt, 2, "IdNorma") }); // // InfTabique // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(856, 524); this.Controls.Add(this.crvInfTabique); this.Controls.Add(this.panel1); this.Name = "InfTabique"; this.Text = "infTabique"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.InfTabique_Load); ((System.ComponentModel.ISupportInitialize)(this.dsInfTabiqueMdor1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsTabiqueMdor1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsUnidad1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RepPromedios)); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.sqlDAUnidad = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDAConcretera = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand5 = new System.Data.SqlClient.SqlCommand(); this.sqlDAPLanta = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand6 = new System.Data.SqlClient.SqlCommand(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.dsUnidad1 = new LancNeo.dsUnidad(); this.dsPlanta1 = new LancNeo.dsPlanta(); this.dsConcretera1 = new LancNeo.dsConcretera(); this.panel1 = new System.Windows.Forms.Panel(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsConcreto1 = new LancNeo.dsConcreto(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.chbLab = new System.Windows.Forms.CheckBox(); this.cmbIdDiam = new System.Windows.Forms.ComboBox(); this.dsDiametro1 = new LancNeo.dsDiametro(); this.label14 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.cbkPrefijo = new System.Windows.Forms.CheckBox(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.cmbUnidad = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.dtpFin = new System.Windows.Forms.DateTimePicker(); this.label4 = new System.Windows.Forms.Label(); this.dtpIni = new System.Windows.Forms.DateTimePicker(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.dsBuscaObra1 = new LancNeo.dsBuscaObra(); this.label1 = new System.Windows.Forms.Label(); this.Fecha = new System.Windows.Forms.Label(); this.cmbConcretera = new System.Windows.Forms.ComboBox(); this.cmbPlanta = new System.Windows.Forms.ComboBox(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.sqlDAConcreto = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand2 = new System.Data.SqlClient.SqlCommand(); this.crvRepPromedios = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.sqlDAPromedios = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.dsPromedios1 = new LancNeo.dsPromedios(); this.cryRepPromedios1 = new LancNeo.CryRepPromedios(); this.dsMuestra1 = new LancNeo.dsMuestra(); this.sqlDADiametro = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand9 = new System.Data.SqlClient.SqlCommand(); this.sqlDATipo = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand11 = new System.Data.SqlClient.SqlCommand(); this.dsTipo1 = new LancNeo.dsTipo(); this.cmbTipo = new System.Windows.Forms.ComboBox(); ((System.ComponentModel.ISupportInitialize)(this.dsUnidad1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsPlanta1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsConcretera1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsConcreto1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDiametro1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBuscaObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsPromedios1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsMuestra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsTipo1)).BeginInit(); this.SuspendLayout(); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // sqlDAUnidad // this.sqlDAUnidad.SelectCommand = this.sqlSelectCommand1; this.sqlDAUnidad.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Unidad", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdUnidad", "IdUnidad"), new System.Data.Common.DataColumnMapping("Factor", "Factor"), new System.Data.Common.DataColumnMapping("Undescr", "Undescr"), new System.Data.Common.DataColumnMapping("MaxagrUn", "MaxagrUn"), new System.Data.Common.DataColumnMapping("RevenUn", "RevenUn") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "SELECT IdUnidad, Factor, Undescr, MaxagrUn, RevenUn FROM Unidad"; this.sqlSelectCommand1.Connection = this.sqlConn; // // sqlDAConcretera // this.sqlDAConcretera.SelectCommand = this.sqlSelectCommand5; this.sqlDAConcretera.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Concretera", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdConcretera", "IdConcretera"), new System.Data.Common.DataColumnMapping("Concretera", "Concretera"), new System.Data.Common.DataColumnMapping("Direccion", "Direccion") }) }); // // sqlSelectCommand5 // this.sqlSelectCommand5.CommandText = "SELECT IdConcretera, Concretera, Direccion FROM Concretera"; this.sqlSelectCommand5.Connection = this.sqlConn; // // sqlDAPLanta // this.sqlDAPLanta.SelectCommand = this.sqlSelectCommand6; this.sqlDAPLanta.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Planta", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdConcretera", "IdConcretera"), new System.Data.Common.DataColumnMapping("IdPlanta", "IdPlanta"), new System.Data.Common.DataColumnMapping("Planta", "Planta") }) }); // // sqlSelectCommand6 // this.sqlSelectCommand6.CommandText = "SELECT IdConcretera, IdPlanta, Planta FROM Planta WHERE (IdConcretera LIKE @IdCon" + "cretera)"; this.sqlSelectCommand6.Connection = this.sqlConn; this.sqlSelectCommand6.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdConcretera", System.Data.SqlDbType.NVarChar, 10, "IdConcretera") }); // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // dsUnidad1 // this.dsUnidad1.DataSetName = "dsUnidad"; this.dsUnidad1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsUnidad1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dsPlanta1 // this.dsPlanta1.DataSetName = "dsPlanta"; this.dsPlanta1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsPlanta1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dsConcretera1 // this.dsConcretera1.DataSetName = "dsConcretera"; this.dsConcretera1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsConcretera1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.cmbTipo); this.panel1.Controls.Add(this.chbLab); this.panel1.Controls.Add(this.cmbIdDiam); this.panel1.Controls.Add(this.label14); this.panel1.Controls.Add(this.textBox1); this.panel1.Controls.Add(this.cbkPrefijo); this.panel1.Controls.Add(this.label9); this.panel1.Controls.Add(this.label8); this.panel1.Controls.Add(this.cmbUnidad); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.dtpFin); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.dtpIni); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.Fecha); this.panel1.Controls.Add(this.cmbConcretera); this.panel1.Controls.Add(this.cmbPlanta); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1046, 78); this.panel1.TabIndex = 10; // // buscaBtn1 // this.buscaBtn1.AnchoDlgBusq = 450; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsConcreto1.Muestras; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(360, 0); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 64); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsConcreto1 // this.dsConcreto1.DataSetName = "dsConcreto"; this.dsConcreto1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsConcreto1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(792, 8); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 64); this.btnVistaPrevia.TabIndex = 11; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // chbLab // this.chbLab.Checked = true; this.chbLab.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab.Location = new System.Drawing.Point(440, 52); this.chbLab.Name = "chbLab"; this.chbLab.Size = new System.Drawing.Size(116, 24); this.chbLab.TabIndex = 77; this.chbLab.Text = "Incluye laboratorio"; // // cmbIdDiam // this.cmbIdDiam.DataSource = this.dsDiametro1; this.cmbIdDiam.DisplayMember = "Diametro.Figura"; this.cmbIdDiam.Location = new System.Drawing.Point(224, 28); this.cmbIdDiam.Name = "cmbIdDiam"; this.cmbIdDiam.Size = new System.Drawing.Size(128, 21); this.cmbIdDiam.TabIndex = 76; this.cmbIdDiam.ValueMember = "IdDiam"; // // dsDiametro1 // this.dsDiametro1.DataSetName = "dsDiametro"; this.dsDiametro1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsDiametro1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(144, 28); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(74, 13); this.label14.TabIndex = 75; this.label14.Text = "F. geométrica:"; this.label14.TextAlign = System.Drawing.ContentAlignment.TopRight; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(16, 48); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(76, 20); this.textBox1.TabIndex = 74; this.textBox1.Text = "textBox1"; this.textBox1.Visible = false; // // cbkPrefijo // this.cbkPrefijo.Checked = true; this.cbkPrefijo.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkPrefijo.Location = new System.Drawing.Point(112, 48); this.cbkPrefijo.Name = "cbkPrefijo"; this.cbkPrefijo.Size = new System.Drawing.Size(74, 24); this.cbkPrefijo.TabIndex = 73; this.cbkPrefijo.Text = "No prefijo"; this.cbkPrefijo.CheckedChanged += new System.EventHandler(this.cbkPrefijo_CheckedChanged); // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(672, 30); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(40, 13); this.label9.TabIndex = 24; this.label9.Text = "Planta:"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(648, 6); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(62, 13); this.label8.TabIndex = 23; this.label8.Text = "Concretera:"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // cmbUnidad // this.cmbUnidad.DataSource = this.dsUnidad1.Unidad; this.cmbUnidad.DisplayMember = "Undescr"; this.cmbUnidad.Location = new System.Drawing.Point(696, 52); this.cmbUnidad.Name = "cmbUnidad"; this.cmbUnidad.Size = new System.Drawing.Size(84, 21); this.cmbUnidad.TabIndex = 10; this.cmbUnidad.ValueMember = "IdUnidad"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(656, 54); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(44, 13); this.label5.TabIndex = 13; this.label5.Text = "Unidad:"; // // dtpFin // this.dtpFin.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpFin.Location = new System.Drawing.Point(560, 28); this.dtpFin.Name = "dtpFin"; this.dtpFin.Size = new System.Drawing.Size(84, 20); this.dtpFin.TabIndex = 4; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(524, 32); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(32, 13); this.label4.TabIndex = 11; this.label4.Text = "Final:"; // // dtpIni // this.dtpIni.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpIni.Location = new System.Drawing.Point(560, 4); this.dtpIni.Name = "dtpIni"; this.dtpIni.Size = new System.Drawing.Size(84, 20); this.dtpIni.TabIndex = 3; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(520, 6); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(37, 13); this.label3.TabIndex = 9; this.label3.Text = "Inicial:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(192, 6); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsBuscaObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(224, 4); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // dsBuscaObra1 // this.dsBuscaObra1.DataSetName = "dsBuscaObra"; this.dsBuscaObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBuscaObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(8, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(187, 24); this.label1.TabIndex = 0; this.label1.Text = "Análisis promedios"; // // Fecha // this.Fecha.AutoSize = true; this.Fecha.Location = new System.Drawing.Point(424, 6); this.Fecha.Name = "Fecha"; this.Fecha.Size = new System.Drawing.Size(95, 13); this.Fecha.TabIndex = 4; this.Fecha.Text = "Fechas de periodo"; // // cmbConcretera // this.cmbConcretera.DataSource = this.dsConcretera1.Concretera; this.cmbConcretera.DisplayMember = "Concretera"; this.cmbConcretera.Location = new System.Drawing.Point(712, 4); this.cmbConcretera.Name = "cmbConcretera"; this.cmbConcretera.Size = new System.Drawing.Size(68, 21); this.cmbConcretera.TabIndex = 5; this.cmbConcretera.ValueMember = "IdConcretera"; // // cmbPlanta // this.cmbPlanta.DataSource = this.dsPlanta1.Planta; this.cmbPlanta.DisplayMember = "Planta"; this.cmbPlanta.Enabled = false; this.cmbPlanta.Location = new System.Drawing.Point(712, 28); this.cmbPlanta.Name = "cmbPlanta"; this.cmbPlanta.Size = new System.Drawing.Size(68, 21); this.cmbPlanta.TabIndex = 6; this.cmbPlanta.ValueMember = "IdPlanta"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(368, 24); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // sqlDAConcreto // this.sqlDAConcreto.SelectCommand = this.sqlCommand2; this.sqlDAConcreto.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Muestras", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("Resistencia", "Resistencia"), new System.Data.Common.DataColumnMapping("Tipo", "Tipo"), new System.Data.Common.DataColumnMapping("T.M.A.", "T.M.A."), new System.Data.Common.DataColumnMapping("Rev.", "Rev."), new System.Data.Common.DataColumnMapping("T. A.", "T. A.") }) }); // // sqlCommand2 // this.sqlCommand2.CommandText = resources.GetString("sqlCommand2.CommandText"); this.sqlCommand2.Connection = this.sqlConn; this.sqlCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // crvRepPromedios // this.crvRepPromedios.ActiveViewIndex = -1; this.crvRepPromedios.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvRepPromedios.Cursor = System.Windows.Forms.Cursors.Default; this.crvRepPromedios.Dock = System.Windows.Forms.DockStyle.Fill; this.crvRepPromedios.EnableRefresh = false; this.crvRepPromedios.Location = new System.Drawing.Point(0, 78); this.crvRepPromedios.Name = "crvRepPromedios"; this.crvRepPromedios.ShowCloseButton = false; this.crvRepPromedios.ShowGroupTreeButton = false; this.crvRepPromedios.ShowLogo = false; this.crvRepPromedios.ShowRefreshButton = false; this.crvRepPromedios.Size = new System.Drawing.Size(1046, 670); this.crvRepPromedios.TabIndex = 11; this.crvRepPromedios.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; this.crvRepPromedios.ToolPanelWidth = 167; // // sqlDAPromedios // this.sqlDAPromedios.SelectCommand = this.sqlSelectCommand2; // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "[Promedios]"; this.sqlSelectCommand2.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@IdConcretera", System.Data.SqlDbType.NVarChar, 10), new System.Data.SqlClient.SqlParameter("@IdPlanta", System.Data.SqlDbType.SmallInt, 2), new System.Data.SqlClient.SqlParameter("@FechaIni", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FechaFin", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@ResistenciaKG", System.Data.SqlDbType.Real, 4), new System.Data.SqlClient.SqlParameter("@Tipo", System.Data.SqlDbType.Int, 4), new System.Data.SqlClient.SqlParameter("@Agregado", System.Data.SqlDbType.Real, 4), new System.Data.SqlClient.SqlParameter("@Renvenimiento", System.Data.SqlDbType.Real, 4), new System.Data.SqlClient.SqlParameter("@IdAgregado", System.Data.SqlDbType.Int, 4), new System.Data.SqlClient.SqlParameter("@IdPrueba", System.Data.SqlDbType.SmallInt, 2), new System.Data.SqlClient.SqlParameter("@IdUnidad", System.Data.SqlDbType.SmallInt, 2), new System.Data.SqlClient.SqlParameter("@Todos", System.Data.SqlDbType.Bit, 1), new System.Data.SqlClient.SqlParameter("@IdDiam", System.Data.SqlDbType.SmallInt, 2) }); // // dsPromedios1 // this.dsPromedios1.DataSetName = "dsPromedios"; this.dsPromedios1.Locale = new System.Globalization.CultureInfo("en-US"); this.dsPromedios1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dsMuestra1 // this.dsMuestra1.DataSetName = "dsMuestra"; this.dsMuestra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsMuestra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDADiametro // this.sqlDADiametro.SelectCommand = this.sqlSelectCommand9; this.sqlDADiametro.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Diametro", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdDiam", "IdDiam"), new System.Data.Common.DataColumnMapping("Diametro", "Diametro") }) }); // // sqlSelectCommand9 // this.sqlSelectCommand9.CommandText = "SELECT IdDiam, Diametro, Diametro + \' \' + Figura AS Figura FROM Diametro"; this.sqlSelectCommand9.Connection = this.sqlConn; // // sqlDATipo // this.sqlDATipo.SelectCommand = this.sqlSelectCommand11; this.sqlDATipo.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Tipo", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Tipo", "Tipo"), new System.Data.Common.DataColumnMapping("DesTipo", "DesTipo") }) }); // // sqlSelectCommand11 // this.sqlSelectCommand11.CommandText = "SELECT Tipo, DesTipo FROM Tipo ORDER BY Tipo"; this.sqlSelectCommand11.Connection = this.sqlConn; // // dsTipo1 // this.dsTipo1.DataSetName = "dsTipo"; this.dsTipo1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsTipo1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // cmbTipo // this.cmbTipo.DataSource = this.dsTipo1; this.cmbTipo.DisplayMember = "Tipo.DesTipo"; this.cmbTipo.Location = new System.Drawing.Point(560, 52); this.cmbTipo.Name = "cmbTipo"; this.cmbTipo.Size = new System.Drawing.Size(64, 21); this.cmbTipo.TabIndex = 78; this.cmbTipo.ValueMember = "Tipo.Tipo"; // // RepPromedios // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1046, 748); this.Controls.Add(this.crvRepPromedios); this.Controls.Add(this.panel1); this.Name = "RepPromedios"; this.Text = "RepPromedios"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.RepPromedios_Load); ((System.ComponentModel.ISupportInitialize)(this.dsUnidad1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsPlanta1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsConcretera1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsConcreto1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDiametro1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBuscaObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsPromedios1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsMuestra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsTipo1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Concentrado)); this.sqlDAConcentrado = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.dsConcentrado1 = new LancNeo.dsConcentrado(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.panel1 = new System.Windows.Forms.Panel(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsConcentra1 = new LancNeo.dsConcentra(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.cbkPrefijo = new System.Windows.Forms.CheckBox(); this.dtpFin = new System.Windows.Forms.DateTimePicker(); this.label4 = new System.Windows.Forms.Label(); this.dtpIni = new System.Windows.Forms.DateTimePicker(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.dsDGObra1 = new LancNeo.dsDGObra(); this.label1 = new System.Windows.Forms.Label(); this.Fecha = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.sqlDAConcentra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.crvConcentrado = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.cryRepConcentrado1 = new LancNeo.CryRepConcentrado(); this.dsConcentrados1 = new LancNeo.dsConcentrados(); this.sqlDAConcetradoTotal = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.cbkMortero = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.dsConcentrado1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsConcentra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsConcentrados1)).BeginInit(); this.SuspendLayout(); // // sqlDAConcentrado // this.sqlDAConcentrado.SelectCommand = this.sqlSelectCommand1; this.sqlDAConcentrado.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Repdetcon", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("Fecha", "Fecha"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Muestra", "Muestra"), new System.Data.Common.DataColumnMapping("Elemento", "Elemento"), new System.Data.Common.DataColumnMapping("Nivel", "Nivel"), new System.Data.Common.DataColumnMapping("Hora", "Hora"), new System.Data.Common.DataColumnMapping("Volumen", "Volumen"), new System.Data.Common.DataColumnMapping("Textra", "Textra"), new System.Data.Common.DataColumnMapping("NoEco", "NoEco"), new System.Data.Common.DataColumnMapping("Htrabajadas", "Htrabajadas"), new System.Data.Common.DataColumnMapping("MorteroI", "MorteroI"), new System.Data.Common.DataColumnMapping("MorteroC", "MorteroC"), new System.Data.Common.DataColumnMapping("MorteroQ", "MorteroQ"), new System.Data.Common.DataColumnMapping("AceroAI", "AceroAI"), new System.Data.Common.DataColumnMapping("AceroAC", "AceroAC"), new System.Data.Common.DataColumnMapping("AceroAQ", "AceroAQ"), new System.Data.Common.DataColumnMapping("AceroBI", "AceroBI"), new System.Data.Common.DataColumnMapping("AceroBC", "AceroBC"), new System.Data.Common.DataColumnMapping("AceroBQ", "AceroBQ"), new System.Data.Common.DataColumnMapping("AceroCI", "AceroCI"), new System.Data.Common.DataColumnMapping("AceroCC", "AceroCC"), new System.Data.Common.DataColumnMapping("AceroCQ", "AceroCQ"), new System.Data.Common.DataColumnMapping("VigasI", "VigasI"), new System.Data.Common.DataColumnMapping("VigasC", "VigasC"), new System.Data.Common.DataColumnMapping("VigasQ", "VigasQ"), new System.Data.Common.DataColumnMapping("TensionI", "TensionI"), new System.Data.Common.DataColumnMapping("TensionC", "TensionC"), new System.Data.Common.DataColumnMapping("TensionQ", "TensionQ"), new System.Data.Common.DataColumnMapping("SoldaI", "SoldaI"), new System.Data.Common.DataColumnMapping("SoldaC", "SoldaC"), new System.Data.Common.DataColumnMapping("SoldaQ", "SoldaQ"), new System.Data.Common.DataColumnMapping("CompactI", "CompactI"), new System.Data.Common.DataColumnMapping("CompactC", "CompactC"), new System.Data.Common.DataColumnMapping("CompactQ", "CompactQ"), new System.Data.Common.DataColumnMapping("PrefabrI", "PrefabrI"), new System.Data.Common.DataColumnMapping("PrefabrC", "PrefabrC"), new System.Data.Common.DataColumnMapping("PrefabrQ", "PrefabrQ"), new System.Data.Common.DataColumnMapping("VisualI", "VisualI"), new System.Data.Common.DataColumnMapping("VisualC", "VisualC"), new System.Data.Common.DataColumnMapping("VisualQ", "VisualQ"), new System.Data.Common.DataColumnMapping("CalifiI", "CalifiI"), new System.Data.Common.DataColumnMapping("CalifiC", "CalifiC"), new System.Data.Common.DataColumnMapping("CalifiQ", "CalifiQ"), new System.Data.Common.DataColumnMapping("LQPenI", "LQPenI"), new System.Data.Common.DataColumnMapping("LQPenC", "LQPenC"), new System.Data.Common.DataColumnMapping("LQPenQ", "LQPenQ"), new System.Data.Common.DataColumnMapping("PorterI", "PorterI"), new System.Data.Common.DataColumnMapping("PorterC", "PorterC"), new System.Data.Common.DataColumnMapping("PorterQ", "PorterQ"), new System.Data.Common.DataColumnMapping("ProctorI", "ProctorI"), new System.Data.Common.DataColumnMapping("ProctorC", "ProctorC"), new System.Data.Common.DataColumnMapping("ProctorQ", "ProctorQ"), new System.Data.Common.DataColumnMapping("AsshtoI", "AsshtoI"), new System.Data.Common.DataColumnMapping("AsshtoC", "AsshtoC"), new System.Data.Common.DataColumnMapping("AsshtoQ", "AsshtoQ"), new System.Data.Common.DataColumnMapping("RadiogI", "RadiogI"), new System.Data.Common.DataColumnMapping("RadiogC", "RadiogC"), new System.Data.Common.DataColumnMapping("RadiogQ", "RadiogQ") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[Repdetcon]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@FIni", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FFin", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@Mortero", System.Data.SqlDbType.Bit, 1) }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // dsConcentrado1 // this.dsConcentrado1.DataSetName = "dsConcentrado"; this.dsConcentrado1.EnforceConstraints = false; this.dsConcentrado1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsConcentrado1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.cbkMortero); this.panel1.Controls.Add(this.cbkPrefijo); this.panel1.Controls.Add(this.dtpFin); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.dtpIni); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.Fecha); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(856, 76); this.panel1.TabIndex = 11; // // buscaBtn1 // this.buscaBtn1.AnchoDlgBusq = 650; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsConcentra1.Concentra; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(371, 4); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 64); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsConcentra1 // this.dsConcentra1.DataSetName = "dsConcentra"; this.dsConcentra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsConcentra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(760, 0); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 64); this.btnVistaPrevia.TabIndex = 11; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // cbkPrefijo // this.cbkPrefijo.Checked = true; this.cbkPrefijo.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkPrefijo.Location = new System.Drawing.Point(441, 40); this.cbkPrefijo.Name = "cbkPrefijo"; this.cbkPrefijo.Size = new System.Drawing.Size(74, 24); this.cbkPrefijo.TabIndex = 36; this.cbkPrefijo.Text = "No prefijo"; // // dtpFin // this.dtpFin.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpFin.Location = new System.Drawing.Point(664, 42); this.dtpFin.Name = "dtpFin"; this.dtpFin.Size = new System.Drawing.Size(84, 20); this.dtpFin.TabIndex = 4; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(640, 46); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(32, 13); this.label4.TabIndex = 11; this.label4.Text = "Final:"; // // dtpIni // this.dtpIni.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpIni.Location = new System.Drawing.Point(664, 10); this.dtpIni.Name = "dtpIni"; this.dtpIni.Size = new System.Drawing.Size(84, 20); this.dtpIni.TabIndex = 3; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(635, 14); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(37, 13); this.label3.TabIndex = 9; this.label3.Text = "Inicial:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(250, 10); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsDGObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(282, 8); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // dsDGObra1 // this.dsDGObra1.DataSetName = "dsDGObra"; this.dsDGObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsDGObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(8, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(272, 56); this.label1.TabIndex = 0; this.label1.Text = "Concentrado de labores ejecutadas por laboratoristas"; // // Fecha // this.Fecha.AutoSize = true; this.Fecha.Location = new System.Drawing.Point(538, 29); this.Fecha.Name = "Fecha"; this.Fecha.Size = new System.Drawing.Size(95, 13); this.Fecha.TabIndex = 4; this.Fecha.Text = "Fechas de periodo"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(384, 32); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // sqlDAConcentra // this.sqlDAConcentra.SelectCommand = this.sqlSelectCommand2; this.sqlDAConcentra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Concentra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("Fecha", "Fecha"), new System.Data.Common.DataColumnMapping("Semana", "Semana") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT IdObra, Fecha, Semana FROM Concentra WHERE (IdObra = @IdObra) ORDER BY IdO" + "bra, Fecha"; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // crvConcentrado // this.crvConcentrado.ActiveViewIndex = -1; this.crvConcentrado.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvConcentrado.Cursor = System.Windows.Forms.Cursors.Default; this.crvConcentrado.Dock = System.Windows.Forms.DockStyle.Fill; this.crvConcentrado.EnableRefresh = false; this.crvConcentrado.Location = new System.Drawing.Point(0, 76); this.crvConcentrado.Name = "crvConcentrado"; this.crvConcentrado.ShowCloseButton = false; this.crvConcentrado.ShowGroupTreeButton = false; this.crvConcentrado.ShowLogo = false; this.crvConcentrado.Size = new System.Drawing.Size(856, 329); this.crvConcentrado.TabIndex = 12; this.crvConcentrado.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; // // dsConcentrados1 // this.dsConcentrados1.DataSetName = "dsConcentrados"; this.dsConcentrados1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsConcentrados1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAConcetradoTotal // this.sqlDAConcetradoTotal.SelectCommand = this.sqlSelectCommand3; this.sqlDAConcetradoTotal.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Repdetcon1", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Principal", "Principal"), new System.Data.Common.DataColumnMapping("Adicional", "Adicional") }) }); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = "[Repdetcon1]"; this.sqlSelectCommand3.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand3.Connection = this.sqlConn; this.sqlSelectCommand3.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@FIni", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FFin", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@Mortero", System.Data.SqlDbType.Bit, 1) }); // // cbkMortero // this.cbkMortero.Checked = true; this.cbkMortero.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkMortero.Location = new System.Drawing.Point(441, 8); this.cbkMortero.Name = "cbkMortero"; this.cbkMortero.Size = new System.Drawing.Size(102, 24); this.cbkMortero.TabIndex = 52; this.cbkMortero.Text = "Incluye mortero"; // // Concentrado // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(856, 405); this.Controls.Add(this.crvConcentrado); this.Controls.Add(this.panel1); this.Name = "Concentrado"; this.Text = "Concentrado"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Concentrado_Load); ((System.ComponentModel.ISupportInitialize)(this.dsConcentrado1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsConcentra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsConcentrados1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Resumen)); this.sqlDAResumen = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.dsDGObra1 = new LancNeo.dsDGObra(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.dsResumen1 = new LancNeo.dsResumen(); this.panel1 = new System.Windows.Forms.Panel(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsConcentra1 = new LancNeo.dsConcentra(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.ckbAdicional4 = new System.Windows.Forms.CheckBox(); this.ckbAdicional3 = new System.Windows.Forms.CheckBox(); this.ckbAdicional2 = new System.Windows.Forms.CheckBox(); this.ckbAdicional1 = new System.Windows.Forms.CheckBox(); this.cmbIdObr4 = new System.Windows.Forms.ComboBox(); this.dsDGObra5 = new LancNeo.dsDGObra(); this.cmbIdObr3 = new System.Windows.Forms.ComboBox(); this.dsDGObra4 = new LancNeo.dsDGObra(); this.cmbIdObr2 = new System.Windows.Forms.ComboBox(); this.dsDGObra3 = new LancNeo.dsDGObra(); this.cmbIdObr1 = new System.Windows.Forms.ComboBox(); this.dsDGObra2 = new LancNeo.dsDGObra(); this.cbkTotal = new System.Windows.Forms.CheckBox(); this.label7 = new System.Windows.Forms.Label(); this.dtpFin2 = new System.Windows.Forms.DateTimePicker(); this.dtpIni2 = new System.Windows.Forms.DateTimePicker(); this.label6 = new System.Windows.Forms.Label(); this.dtpFin1 = new System.Windows.Forms.DateTimePicker(); this.dtpIni1 = new System.Windows.Forms.DateTimePicker(); this.label5 = new System.Windows.Forms.Label(); this.cbkPrefijo = new System.Windows.Forms.CheckBox(); this.dtpFin = new System.Windows.Forms.DateTimePicker(); this.label4 = new System.Windows.Forms.Label(); this.dtpIni = new System.Windows.Forms.DateTimePicker(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.Fecha = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.sqlDAConcentra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.crvResumen = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.cryRepResumen1 = new LancNeo.CryRepResumen(); this.sqlDAConcepto = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.sqlDASumaResumen = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand4 = new System.Data.SqlClient.SqlCommand(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsResumen1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsConcentra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra2)).BeginInit(); this.SuspendLayout(); // // sqlDAResumen // this.sqlDAResumen.SelectCommand = this.sqlSelectCommand1; this.sqlDAResumen.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "ResumenTrabajos", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Column1", "Column1"), new System.Data.Common.DataColumnMapping("IdConcepto", "IdConcepto"), new System.Data.Common.DataColumnMapping("Column2", "Column2"), new System.Data.Common.DataColumnMapping("Column3", "Column3"), new System.Data.Common.DataColumnMapping("Column4", "Column4"), new System.Data.Common.DataColumnMapping("Column5", "Column5"), new System.Data.Common.DataColumnMapping("Column6", "Column6") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[ResumenTrabajos]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@FIni", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FFin", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FIni1", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FFin1", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FIni2", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FFin2", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FHoy", System.Data.SqlDbType.DateTime, 8) }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // dsDGObra1 // this.dsDGObra1.DataSetName = "dsDGObra"; this.dsDGObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsDGObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // dsResumen1 // this.dsResumen1.DataSetName = "dsResumen"; this.dsResumen1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsResumen1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.ckbAdicional4); this.panel1.Controls.Add(this.ckbAdicional3); this.panel1.Controls.Add(this.ckbAdicional2); this.panel1.Controls.Add(this.ckbAdicional1); this.panel1.Controls.Add(this.cmbIdObr4); this.panel1.Controls.Add(this.cmbIdObr3); this.panel1.Controls.Add(this.cmbIdObr2); this.panel1.Controls.Add(this.cmbIdObr1); this.panel1.Controls.Add(this.cbkTotal); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.dtpFin2); this.panel1.Controls.Add(this.dtpIni2); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.dtpFin1); this.panel1.Controls.Add(this.dtpIni1); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.cbkPrefijo); this.panel1.Controls.Add(this.dtpFin); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.dtpIni); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.Fecha); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(848, 116); this.panel1.TabIndex = 12; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); // // buscaBtn1 // this.buscaBtn1.AnchoDlgBusq = 450; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsConcentra1.Concentra; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(368, 2); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(58, 54); this.buscaBtn1.TabIndex = 44; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsConcentra1 // this.dsConcentra1.DataSetName = "dsConcentra"; this.dsConcentra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsConcentra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(774, 4); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 64); this.btnVistaPrevia.TabIndex = 45; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // ckbAdicional4 // this.ckbAdicional4.Location = new System.Drawing.Point(214, 86); this.ckbAdicional4.Name = "ckbAdicional4"; this.ckbAdicional4.Size = new System.Drawing.Size(62, 24); this.ckbAdicional4.TabIndex = 58; this.ckbAdicional4.Text = "Clave 4"; this.ckbAdicional4.CheckedChanged += new System.EventHandler(this.ckbAdicional4_CheckedChanged); // // ckbAdicional3 // this.ckbAdicional3.Location = new System.Drawing.Point(214, 64); this.ckbAdicional3.Name = "ckbAdicional3"; this.ckbAdicional3.Size = new System.Drawing.Size(62, 24); this.ckbAdicional3.TabIndex = 57; this.ckbAdicional3.Text = "Clave 3"; this.ckbAdicional3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged); // // ckbAdicional2 // this.ckbAdicional2.Location = new System.Drawing.Point(214, 42); this.ckbAdicional2.Name = "ckbAdicional2"; this.ckbAdicional2.Size = new System.Drawing.Size(62, 24); this.ckbAdicional2.TabIndex = 56; this.ckbAdicional2.Text = "Clave 2"; this.ckbAdicional2.CheckedChanged += new System.EventHandler(this.ckbAdicional2_CheckedChanged); // // ckbAdicional1 // this.ckbAdicional1.Location = new System.Drawing.Point(214, 20); this.ckbAdicional1.Name = "ckbAdicional1"; this.ckbAdicional1.Size = new System.Drawing.Size(62, 24); this.ckbAdicional1.TabIndex = 55; this.ckbAdicional1.Text = "Clave 1"; this.ckbAdicional1.CheckedChanged += new System.EventHandler(this.ckbAdicional1_CheckedChanged); // // cmbIdObr4 // this.cmbIdObr4.DataSource = this.dsDGObra5.Obra; this.cmbIdObr4.DisplayMember = "Idobra"; this.cmbIdObr4.Enabled = false; this.cmbIdObr4.Location = new System.Drawing.Point(280, 88); this.cmbIdObr4.Name = "cmbIdObr4"; this.cmbIdObr4.Size = new System.Drawing.Size(80, 21); this.cmbIdObr4.TabIndex = 53; this.cmbIdObr4.ValueMember = "IdObra"; // // dsDGObra5 // this.dsDGObra5.DataSetName = "dsDGObra"; this.dsDGObra5.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsDGObra5.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // cmbIdObr3 // this.cmbIdObr3.DataSource = this.dsDGObra4.Obra; this.cmbIdObr3.DisplayMember = "Idobra"; this.cmbIdObr3.Enabled = false; this.cmbIdObr3.Location = new System.Drawing.Point(280, 66); this.cmbIdObr3.Name = "cmbIdObr3"; this.cmbIdObr3.Size = new System.Drawing.Size(80, 21); this.cmbIdObr3.TabIndex = 51; this.cmbIdObr3.ValueMember = "IdObra"; // // dsDGObra4 // this.dsDGObra4.DataSetName = "dsDGObra"; this.dsDGObra4.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsDGObra4.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // cmbIdObr2 // this.cmbIdObr2.DataSource = this.dsDGObra3.Obra; this.cmbIdObr2.DisplayMember = "Idobra"; this.cmbIdObr2.Enabled = false; this.cmbIdObr2.Location = new System.Drawing.Point(280, 44); this.cmbIdObr2.Name = "cmbIdObr2"; this.cmbIdObr2.Size = new System.Drawing.Size(80, 21); this.cmbIdObr2.TabIndex = 49; this.cmbIdObr2.ValueMember = "IdObra"; // // dsDGObra3 // this.dsDGObra3.DataSetName = "dsDGObra"; this.dsDGObra3.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsDGObra3.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // cmbIdObr1 // this.cmbIdObr1.DataSource = this.dsDGObra2.Obra; this.cmbIdObr1.DisplayMember = "Idobra"; this.cmbIdObr1.Enabled = false; this.cmbIdObr1.Location = new System.Drawing.Point(280, 22); this.cmbIdObr1.Name = "cmbIdObr1"; this.cmbIdObr1.Size = new System.Drawing.Size(80, 21); this.cmbIdObr1.TabIndex = 47; this.cmbIdObr1.ValueMember = "IdObra"; // // dsDGObra2 // this.dsDGObra2.DataSetName = "dsDGObra"; this.dsDGObra2.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsDGObra2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // cbkTotal // this.cbkTotal.Checked = true; this.cbkTotal.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkTotal.Location = new System.Drawing.Point(2, 52); this.cbkTotal.Name = "cbkTotal"; this.cbkTotal.Size = new System.Drawing.Size(148, 24); this.cbkTotal.TabIndex = 46; this.cbkTotal.Text = "Incluye total de muestas"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(686, 4); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(76, 13); this.label7.TabIndex = 43; this.label7.Text = "Tercer periodo"; // // dtpFin2 // this.dtpFin2.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpFin2.Location = new System.Drawing.Point(686, 44); this.dtpFin2.Name = "dtpFin2"; this.dtpFin2.Size = new System.Drawing.Size(84, 20); this.dtpFin2.TabIndex = 42; this.dtpFin2.ValueChanged += new System.EventHandler(this.dateTimePicker3_ValueChanged); // // dtpIni2 // this.dtpIni2.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpIni2.Location = new System.Drawing.Point(686, 22); this.dtpIni2.Name = "dtpIni2"; this.dtpIni2.Size = new System.Drawing.Size(84, 20); this.dtpIni2.TabIndex = 41; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(586, 4); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(88, 13); this.label6.TabIndex = 40; this.label6.Text = "Segundo periodo"; // // dtpFin1 // this.dtpFin1.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpFin1.Location = new System.Drawing.Point(586, 44); this.dtpFin1.Name = "dtpFin1"; this.dtpFin1.Size = new System.Drawing.Size(84, 20); this.dtpFin1.TabIndex = 39; // // dtpIni1 // this.dtpIni1.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpIni1.Location = new System.Drawing.Point(586, 22); this.dtpIni1.Name = "dtpIni1"; this.dtpIni1.Size = new System.Drawing.Size(84, 20); this.dtpIni1.TabIndex = 38; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(486, 4); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(74, 13); this.label5.TabIndex = 37; this.label5.Text = "Primer periodo"; // // cbkPrefijo // this.cbkPrefijo.Checked = true; this.cbkPrefijo.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkPrefijo.Location = new System.Drawing.Point(2, 76); this.cbkPrefijo.Name = "cbkPrefijo"; this.cbkPrefijo.Size = new System.Drawing.Size(74, 24); this.cbkPrefijo.TabIndex = 36; this.cbkPrefijo.Text = "No prefijo"; // // dtpFin // this.dtpFin.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpFin.Location = new System.Drawing.Point(486, 44); this.dtpFin.Name = "dtpFin"; this.dtpFin.Size = new System.Drawing.Size(84, 20); this.dtpFin.TabIndex = 4; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(450, 46); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(32, 13); this.label4.TabIndex = 11; this.label4.Text = "Final:"; // // dtpIni // this.dtpIni.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpIni.Location = new System.Drawing.Point(486, 22); this.dtpIni.Name = "dtpIni"; this.dtpIni.Size = new System.Drawing.Size(84, 20); this.dtpIni.TabIndex = 3; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(446, 24); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(37, 13); this.label3.TabIndex = 9; this.label3.Text = "Inicial:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(244, 2); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsDGObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(280, 0); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(2, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(200, 56); this.label1.TabIndex = 0; this.label1.Text = "Resumen de trabajos de laboratorio"; // // Fecha // this.Fecha.AutoSize = true; this.Fecha.Location = new System.Drawing.Point(436, 4); this.Fecha.Name = "Fecha"; this.Fecha.Size = new System.Drawing.Size(45, 13); this.Fecha.TabIndex = 4; this.Fecha.Text = "Fechas:"; this.Fecha.Click += new System.EventHandler(this.Fecha_Click); // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(370, 30); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // sqlDAConcentra // this.sqlDAConcentra.SelectCommand = this.sqlSelectCommand2; this.sqlDAConcentra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Concentra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("Fecha", "Fecha"), new System.Data.Common.DataColumnMapping("Semana", "Semana") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT IdObra, Fecha, Semana FROM Concentra WHERE (IdObra = @IdObra) ORDER BY IdO" + "bra, Fecha"; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // crvResumen // this.crvResumen.ActiveViewIndex = -1; this.crvResumen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvResumen.Cursor = System.Windows.Forms.Cursors.Default; this.crvResumen.Dock = System.Windows.Forms.DockStyle.Fill; this.crvResumen.EnableRefresh = false; this.crvResumen.Location = new System.Drawing.Point(0, 116); this.crvResumen.Name = "crvResumen"; this.crvResumen.ShowCloseButton = false; this.crvResumen.ShowGroupTreeButton = false; this.crvResumen.ShowLogo = false; this.crvResumen.Size = new System.Drawing.Size(848, 265); this.crvResumen.TabIndex = 13; this.crvResumen.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; // // sqlDAConcepto // this.sqlDAConcepto.SelectCommand = this.sqlSelectCommand3; this.sqlDAConcepto.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Concepto", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdConcepto", "IdConcepto"), new System.Data.Common.DataColumnMapping("Concepto", "Concepto") }) }); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = "SELECT IdConcepto, Concepto FROM Concepto ORDER BY IdConcepto"; this.sqlSelectCommand3.Connection = this.sqlConn; // // sqlDASumaResumen // this.sqlDASumaResumen.SelectCommand = this.sqlSelectCommand4; this.sqlDASumaResumen.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "SumaResumen", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("IdConcepto", "IdConcepto"), new System.Data.Common.DataColumnMapping("Pres", "Pres"), new System.Data.Common.DataColumnMapping("Parc1", "Parc1"), new System.Data.Common.DataColumnMapping("Parc2", "Parc2"), new System.Data.Common.DataColumnMapping("Parc3", "Parc3"), new System.Data.Common.DataColumnMapping("total", "total"), new System.Data.Common.DataColumnMapping("PreUni", "PreUni"), new System.Data.Common.DataColumnMapping("PreLis", "PreLis") }) }); // // sqlSelectCommand4 // this.sqlSelectCommand4.CommandText = "[SumaResumen]"; this.sqlSelectCommand4.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand4.Connection = this.sqlConn; this.sqlSelectCommand4.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@IdObr1", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@IdObr2", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@IdObr3", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@IdObr4", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@FIni", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FFin", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FIni1", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FFin1", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FIni2", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FFin2", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FHoy", System.Data.SqlDbType.DateTime, 8) }); // // Resumen // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(848, 381); this.Controls.Add(this.crvResumen); this.Controls.Add(this.panel1); this.Name = "Resumen"; this.Text = "Resumen de trabajos de laboratorio"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Resumen_Load); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsResumen1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsConcentra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsDGObra2)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InfAgregados)); this.sqlDAInfAgregados = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.dsBusObra1 = new LancNeo.dsBusObra(); this.sqlDAFirmas = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand7 = new System.Data.SqlClient.SqlCommand(); this.dsFirmas1 = new LancNeo.dsFirmas(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.panel1 = new System.Windows.Forms.Panel(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsAgregadosInf1 = new LancNeo.dsAgregadosInf(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.chbTodos = new System.Windows.Forms.CheckBox(); this.chbLab = new System.Windows.Forms.CheckBox(); this.chbLeyenda = new System.Windows.Forms.CheckBox(); this.chbDuplicado = new System.Windows.Forms.CheckBox(); this.txtTamaño = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.txtFolioFin = new System.Windows.Forms.TextBox(); this.txtFolioIni = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.chbLab1 = new System.Windows.Forms.CheckBox(); this.sqlDAAgregadosInf = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.crvInfAgregados = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.sqlDAInfAgregadosMal = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.dsInfAgregadosMal1 = new LancNeo.dsInfAgregadosMal(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.sqlDANorma = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand4 = new System.Data.SqlClient.SqlCommand(); this.dsInfAgregados1 = new LancNeo.dsInfAgregados(); this.cryRepAgregados1 = new LancNeo.CryRepAgregados(); this.chbRespaldo = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsAgregadosInf1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInfAgregadosMal1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInfAgregados1)).BeginInit(); this.SuspendLayout(); // // sqlDAInfAgregados // this.sqlDAInfAgregados.SelectCommand = this.sqlSelectCommand1; this.sqlDAInfAgregados.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "AgregadosRep", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("FMuestreo", "FMuestreo"), new System.Data.Common.DataColumnMapping("FEnsaye", "FEnsaye"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("Material", "Material"), new System.Data.Common.DataColumnMapping("Lab", "Lab"), new System.Data.Common.DataColumnMapping("Anos", "Anos"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Hoja", "Hoja"), new System.Data.Common.DataColumnMapping("Observac", "Observac"), new System.Data.Common.DataColumnMapping("Muestreadas", "Muestreadas"), new System.Data.Common.DataColumnMapping("Procedencia", "Procedencia"), new System.Data.Common.DataColumnMapping("Usarse", "Usarse"), new System.Data.Common.DataColumnMapping("MasaSuelta", "MasaSuelta"), new System.Data.Common.DataColumnMapping("MasaCompacta", "MasaCompacta"), new System.Data.Common.DataColumnMapping("MasaEspecifica", "MasaEspecifica"), new System.Data.Common.DataColumnMapping("Agua", "Agua"), new System.Data.Common.DataColumnMapping("Impureza", "Impureza"), new System.Data.Common.DataColumnMapping("Fino", "Fino"), new System.Data.Common.DataColumnMapping("Finura", "Finura"), new System.Data.Common.DataColumnMapping("Razonsocial", "Razonsocial"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("Colonia", "Colonia"), new System.Data.Common.DataColumnMapping("Zona", "Zona") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[AgregadosRep]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, "AFB"), new System.Data.SqlClient.SqlParameter("@FolioIni", System.Data.SqlDbType.VarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, "39/13"), new System.Data.SqlClient.SqlParameter("@FOlioFin", System.Data.SqlDbType.VarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, "39/13") }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // dsBusObra1 // this.dsBusObra1.DataSetName = "dsBusObra"; this.dsBusObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAFirmas // this.sqlDAFirmas.SelectCommand = this.sqlSelectCommand7; this.sqlDAFirmas.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Firmas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdFirma", "IdFirma"), new System.Data.Common.DataColumnMapping("Nombre", "Nombre"), new System.Data.Common.DataColumnMapping("Cargo", "Cargo"), new System.Data.Common.DataColumnMapping("Imprime", "Imprime") }) }); // // sqlSelectCommand7 // this.sqlSelectCommand7.CommandText = "SELECT IdFirma, Nombre, Cargo, Imprime FROM Firmas WHERE (Imprime = 1) ORDER BY I" + "dFirma"; this.sqlSelectCommand7.Connection = this.sqlConn; // // dsFirmas1 // this.dsFirmas1.DataSetName = "dsFirmas"; this.dsFirmas1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsFirmas1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.chbRespaldo); this.panel1.Controls.Add(this.chbTodos); this.panel1.Controls.Add(this.chbLab); this.panel1.Controls.Add(this.chbLeyenda); this.panel1.Controls.Add(this.chbDuplicado); this.panel1.Controls.Add(this.txtTamaño); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.txtFolioFin); this.panel1.Controls.Add(this.txtFolioIni); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Controls.Add(this.chbLab1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(856, 95); this.panel1.TabIndex = 12; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); // // buscaBtn1 // this.buscaBtn1.AnchoColTit = true; this.buscaBtn1.AnchoDlgBusq = 650; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsAgregadosInf1.Agregados; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(332, 0); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 64); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsAgregadosInf1 // this.dsAgregadosInf1.DataSetName = "dsAgregadosInf"; this.dsAgregadosInf1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsAgregadosInf1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(630, 0); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 64); this.btnVistaPrevia.TabIndex = 11; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // chbTodos // this.chbTodos.ForeColor = System.Drawing.Color.White; this.chbTodos.Location = new System.Drawing.Point(400, 28); this.chbTodos.Name = "chbTodos"; this.chbTodos.Size = new System.Drawing.Size(126, 25); this.chbTodos.TabIndex = 76; this.chbTodos.Text = "Todos los informes"; // // chbLab // this.chbLab.Checked = true; this.chbLab.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab.ForeColor = System.Drawing.Color.White; this.chbLab.Location = new System.Drawing.Point(210, 54); this.chbLab.Name = "chbLab"; this.chbLab.Size = new System.Drawing.Size(116, 24); this.chbLab.TabIndex = 38; this.chbLab.Text = "Incluye laboratorio"; // // chbLeyenda // this.chbLeyenda.Checked = true; this.chbLeyenda.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLeyenda.ForeColor = System.Drawing.Color.White; this.chbLeyenda.Location = new System.Drawing.Point(532, 53); this.chbLeyenda.Name = "chbLeyenda"; this.chbLeyenda.Size = new System.Drawing.Size(108, 25); this.chbLeyenda.TabIndex = 32; this.chbLeyenda.Text = "Formato leyenda"; // // chbDuplicado // this.chbDuplicado.ForeColor = System.Drawing.Color.White; this.chbDuplicado.Location = new System.Drawing.Point(212, 26); this.chbDuplicado.Name = "chbDuplicado"; this.chbDuplicado.Size = new System.Drawing.Size(89, 24); this.chbDuplicado.TabIndex = 31; this.chbDuplicado.Text = "¿Duplicado?"; // // txtTamaño // this.txtTamaño.Location = new System.Drawing.Point(532, 32); this.txtTamaño.MaxLength = 25; this.txtTamaño.Name = "txtTamaño"; this.txtTamaño.Size = new System.Drawing.Size(74, 20); this.txtTamaño.TabIndex = 30; // // label5 // this.label5.ForeColor = System.Drawing.Color.White; this.label5.Location = new System.Drawing.Point(537, 2); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(70, 26); this.label5.TabIndex = 29; this.label5.Text = "Tamaño nominal:"; this.label5.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // txtFolioFin // this.txtFolioFin.Location = new System.Drawing.Point(782, 46); this.txtFolioFin.Name = "txtFolioFin"; this.txtFolioFin.Size = new System.Drawing.Size(54, 20); this.txtFolioFin.TabIndex = 28; this.txtFolioFin.Visible = false; // // txtFolioIni // this.txtFolioIni.Location = new System.Drawing.Point(470, 2); this.txtFolioIni.Name = "txtFolioIni"; this.txtFolioIni.Size = new System.Drawing.Size(54, 20); this.txtFolioIni.TabIndex = 27; // // label4 // this.label4.AutoSize = true; this.label4.ForeColor = System.Drawing.Color.White; this.label4.Location = new System.Drawing.Point(720, 48); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(54, 13); this.label4.TabIndex = 11; this.label4.Text = "Folio final:"; this.label4.Visible = false; // // label3 // this.label3.AutoSize = true; this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(400, 3); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(61, 13); this.label3.TabIndex = 9; this.label3.Text = "Folio inicial:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(212, 5); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsBusObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(243, 2); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(6, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(202, 69); this.label1.TabIndex = 0; this.label1.Text = "Informe de calidad de agregados petreos"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(366, 32); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // chbLab1 // this.chbLab1.Checked = true; this.chbLab1.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab1.ForeColor = System.Drawing.Color.White; this.chbLab1.Location = new System.Drawing.Point(718, 0); this.chbLab1.Name = "chbLab1"; this.chbLab1.Size = new System.Drawing.Size(130, 24); this.chbLab1.TabIndex = 75; this.chbLab1.Text = "Incluye laboratorista"; // // sqlDAAgregadosInf // this.sqlDAAgregadosInf.SelectCommand = this.sqlSelectCommand2; this.sqlDAAgregadosInf.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Agregados", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("FOLIO", "FOLIO"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("Material", "Material"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("Fmuestreo", "Fmuestreo"), new System.Data.Common.DataColumnMapping("Fensaye", "Fensaye"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("NoEco", "NoEco"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Muestreadas", "Muestreadas"), new System.Data.Common.DataColumnMapping("Procedencia", "Procedencia"), new System.Data.Common.DataColumnMapping("Usarse", "Usarse") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT FOLIO, IdObra, Material, ConsObra, Fmuestreo, Fensaye, Finforme, NoEco, Se" + "mana, Muestreadas, Procedencia, Usarse FROM Agregados WHERE (IdObra = @IdObra) O" + "RDER BY FOLIO"; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra") }); // // crvInfAgregados // this.crvInfAgregados.ActiveViewIndex = -1; this.crvInfAgregados.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvInfAgregados.Cursor = System.Windows.Forms.Cursors.Default; this.crvInfAgregados.Dock = System.Windows.Forms.DockStyle.Fill; this.crvInfAgregados.EnableRefresh = false; this.crvInfAgregados.Location = new System.Drawing.Point(0, 95); this.crvInfAgregados.Name = "crvInfAgregados"; this.crvInfAgregados.ShowCloseButton = false; this.crvInfAgregados.ShowGroupTreeButton = false; this.crvInfAgregados.ShowLogo = false; this.crvInfAgregados.Size = new System.Drawing.Size(856, 553); this.crvInfAgregados.TabIndex = 13; this.crvInfAgregados.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; // // sqlDAInfAgregadosMal // this.sqlDAInfAgregadosMal.SelectCommand = this.sqlSelectCommand3; this.sqlDAInfAgregadosMal.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "AgregadosMal", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("Renglon", "Renglon"), new System.Data.Common.DataColumnMapping("Grava", "Grava"), new System.Data.Common.DataColumnMapping("GravaSI", "GravaSI"), new System.Data.Common.DataColumnMapping("Arena", "Arena"), new System.Data.Common.DataColumnMapping("ArenaSI", "ArenaSI"), new System.Data.Common.DataColumnMapping("Acumulado", "Acumulado"), new System.Data.Common.DataColumnMapping("Quepasa", "Quepasa"), new System.Data.Common.DataColumnMapping("Nomina", "Nomina"), new System.Data.Common.DataColumnMapping("NominalSup", "NominalSup") }) }); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = resources.GetString("sqlSelectCommand3.CommandText"); this.sqlSelectCommand3.Connection = this.sqlConn; this.sqlSelectCommand3.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdFolioFin", System.Data.SqlDbType.Char, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Folio", System.Data.DataRowVersion.Current, "15/14"), new System.Data.SqlClient.SqlParameter("@IdFolioini", System.Data.SqlDbType.Char, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Folio", System.Data.DataRowVersion.Current, "15/14") }); // // dsInfAgregadosMal1 // this.dsInfAgregadosMal1.DataSetName = "dsInfAgregadosMal"; this.dsInfAgregadosMal1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsInfAgregadosMal1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // pictureBox1 // this.pictureBox1.Location = new System.Drawing.Point(2, 112); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(276, 402); this.pictureBox1.TabIndex = 74; this.pictureBox1.TabStop = false; this.pictureBox1.Visible = false; // // sqlDANorma // this.sqlDANorma.SelectCommand = this.sqlSelectCommand4; this.sqlDANorma.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Normas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdNorma", "IdNorma"), new System.Data.Common.DataColumnMapping("Informe", "Informe"), new System.Data.Common.DataColumnMapping("Normas", "Normas"), new System.Data.Common.DataColumnMapping("Titulo", "Titulo"), new System.Data.Common.DataColumnMapping("IdInforme", "IdInforme"), new System.Data.Common.DataColumnMapping("Norma1", "Norma1"), new System.Data.Common.DataColumnMapping("Norma2", "Norma2"), new System.Data.Common.DataColumnMapping("Norma3", "Norma3"), new System.Data.Common.DataColumnMapping("Norma4", "Norma4"), new System.Data.Common.DataColumnMapping("Norma5", "Norma5") }) }); // // sqlSelectCommand4 // this.sqlSelectCommand4.CommandText = "SELECT IdNorma, Informe, Normas, Titulo, IdInforme, Norma1, Norma2, Norma3, Norma" + "4, Norma5 FROM Normas WHERE (IdNorma = 10) ORDER BY IdNorma"; this.sqlSelectCommand4.Connection = this.sqlConn; // // dsInfAgregados1 // this.dsInfAgregados1.DataSetName = "dsInfAgregados"; this.dsInfAgregados1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // chbRespaldo // this.chbRespaldo.ForeColor = System.Drawing.Color.White; this.chbRespaldo.Location = new System.Drawing.Point(400, 54); this.chbRespaldo.Name = "chbRespaldo"; this.chbRespaldo.Size = new System.Drawing.Size(82, 24); this.chbRespaldo.TabIndex = 81; this.chbRespaldo.Text = "Respaldo"; // // InfAgregados // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(856, 648); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.crvInfAgregados); this.Controls.Add(this.panel1); this.Name = "InfAgregados"; this.Text = "InfAgregados"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.InfAgregados_Load); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsAgregadosInf1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInfAgregadosMal1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInfAgregados1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Procesa)); System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.panel1 = new System.Windows.Forms.Panel(); this.tbBtn1 = new Soluciones2000.Tools.WinLib.tbBtn(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.txtFIMin = new System.Windows.Forms.TextBox(); this.txtFIMax = new System.Windows.Forms.TextBox(); this.dtpPFf = new System.Windows.Forms.DateTimePicker(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.dtpPFi = new System.Windows.Forms.DateTimePicker(); this.label5 = new System.Windows.Forms.Label(); this.dtpFin = new System.Windows.Forms.DateTimePicker(); this.label4 = new System.Windows.Forms.Label(); this.dtpIni = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.Fecha = new System.Windows.Forms.Label(); this.cbkPrefijo = new System.Windows.Forms.CheckBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObraO = new System.Windows.Forms.ComboBox(); this.dsBuscaObra1 = new LancNeo.dsBuscaObra(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.sqlComAgrega = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.sqlDABusObraO = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlComAgregaP = new System.Data.SqlClient.SqlCommand(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsBuscaObra1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.tbBtn1); this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.txtFIMin); this.panel1.Controls.Add(this.txtFIMax); this.panel1.Controls.Add(this.dtpPFf); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.dtpPFi); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.dtpFin); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.dtpIni); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.Fecha); this.panel1.Controls.Add(this.cbkPrefijo); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObraO); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(942, 192); this.panel1.TabIndex = 1; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); // // tbBtn1 // this.tbBtn1.BackColor = System.Drawing.Color.Transparent; this.tbBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("tbBtn1.Icon"))); this.tbBtn1.Location = new System.Drawing.Point(692, 86); this.tbBtn1.Name = "tbBtn1"; this.tbBtn1.Size = new System.Drawing.Size(64, 64); this.tbBtn1.TabIndex = 49; this.tbBtn1.Click += new System.EventHandler(this.tbBtn1_Click); // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(692, 2); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 64); this.btnVistaPrevia.TabIndex = 13; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // txtFIMin // this.txtFIMin.Enabled = false; this.txtFIMin.Location = new System.Drawing.Point(584, 123); this.txtFIMin.Name = "txtFIMin"; this.txtFIMin.Size = new System.Drawing.Size(84, 20); this.txtFIMin.TabIndex = 51; // // txtFIMax // this.txtFIMax.Enabled = false; this.txtFIMax.Location = new System.Drawing.Point(584, 94); this.txtFIMax.Name = "txtFIMax"; this.txtFIMax.Size = new System.Drawing.Size(84, 20); this.txtFIMax.TabIndex = 50; // // dtpPFf // this.dtpPFf.Enabled = false; this.dtpPFf.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpPFf.Location = new System.Drawing.Point(466, 120); this.dtpPFf.Name = "dtpPFf"; this.dtpPFf.Size = new System.Drawing.Size(84, 20); this.dtpPFf.TabIndex = 47; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(438, 122); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(32, 13); this.label7.TabIndex = 48; this.label7.Text = "Final:"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(323, 120); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(155, 13); this.label6.TabIndex = 46; this.label6.Text = "Fechas de NUEVOS PRECIOS"; // // dtpPFi // this.dtpPFi.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpPFi.Location = new System.Drawing.Point(465, 95); this.dtpPFi.Name = "dtpPFi"; this.dtpPFi.Size = new System.Drawing.Size(84, 20); this.dtpPFi.TabIndex = 44; this.dtpPFi.ValueChanged += new System.EventHandler(this.dtpPFi_ValueChanged); // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(429, 97); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(37, 13); this.label5.TabIndex = 45; this.label5.Text = "Inicial:"; // // dtpFin // this.dtpFin.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpFin.Location = new System.Drawing.Point(584, 42); this.dtpFin.Name = "dtpFin"; this.dtpFin.Size = new System.Drawing.Size(84, 20); this.dtpFin.TabIndex = 40; // // label4 // this.label4.AutoSize = true; this.label4.ForeColor = System.Drawing.Color.White; this.label4.Location = new System.Drawing.Point(556, 44); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(32, 13); this.label4.TabIndex = 42; this.label4.Text = "Final:"; // // dtpIni // this.dtpIni.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpIni.Location = new System.Drawing.Point(584, 8); this.dtpIni.Name = "dtpIni"; this.dtpIni.Size = new System.Drawing.Size(84, 20); this.dtpIni.TabIndex = 38; // // label1 // this.label1.AutoSize = true; this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(548, 10); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(37, 13); this.label1.TabIndex = 41; this.label1.Text = "Inicial:"; // // Fecha // this.Fecha.AutoSize = true; this.Fecha.ForeColor = System.Drawing.Color.White; this.Fecha.Location = new System.Drawing.Point(452, 26); this.Fecha.Name = "Fecha"; this.Fecha.Size = new System.Drawing.Size(95, 13); this.Fecha.TabIndex = 39; this.Fecha.Text = "Fechas de periodo"; // // cbkPrefijo // this.cbkPrefijo.ForeColor = System.Drawing.Color.White; this.cbkPrefijo.Location = new System.Drawing.Point(366, 40); this.cbkPrefijo.Name = "cbkPrefijo"; this.cbkPrefijo.Size = new System.Drawing.Size(74, 24); this.cbkPrefijo.TabIndex = 37; this.cbkPrefijo.Text = "No prefijo"; // // label3 // this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(4, 4); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(290, 82); this.label3.TabIndex = 14; this.label3.Text = "Acumula y agrupa los servicios de todos los informes"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(332, 10); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 10; this.label2.Text = "Obra:"; this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight; // // cmbIdObraO // this.cmbIdObraO.DataSource = this.dsBuscaObra1.Obra; this.cmbIdObraO.DisplayMember = "Idobra"; this.cmbIdObraO.Location = new System.Drawing.Point(366, 8); this.cmbIdObraO.Name = "cmbIdObraO"; this.cmbIdObraO.Size = new System.Drawing.Size(80, 21); this.cmbIdObraO.TabIndex = 9; this.cmbIdObraO.ValueMember = "IdObra"; this.cmbIdObraO.SelectedIndexChanged += new System.EventHandler(this.cmbIdObraO_SelectedIndexChanged); // // dsBuscaObra1 // this.dsBuscaObra1.DataSetName = "dsBuscaObra"; this.dsBuscaObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBuscaObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(378, 10); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 43; this.txtIdobra.Visible = false; // // sqlComAgrega // this.sqlComAgrega.CommandText = "[agregaconcentra]"; this.sqlComAgrega.CommandType = System.Data.CommandType.StoredProcedure; this.sqlComAgrega.Connection = this.sqlConn; this.sqlComAgrega.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@FIni", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@FFin", System.Data.SqlDbType.DateTime, 8) }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // sqlDABusObraO // this.sqlDABusObraO.SelectCommand = this.sqlCommand1; this.sqlDABusObraO.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // sqlComAgregaP // this.sqlComAgregaP.CommandText = "[actualizaprecios]"; this.sqlComAgregaP.CommandType = System.Data.CommandType.StoredProcedure; this.sqlComAgregaP.Connection = this.sqlConn; this.sqlComAgregaP.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@FfMax", System.Data.SqlDbType.SmallDateTime, 4), new System.Data.SqlClient.SqlParameter("@FfMin", System.Data.SqlDbType.SmallDateTime, 4), new System.Data.SqlClient.SqlParameter("@FiMax", System.Data.SqlDbType.SmallDateTime, 4), new System.Data.SqlClient.SqlParameter("@FiMin", System.Data.SqlDbType.SmallDateTime, 4) }); // // Procesa // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.HighlightText; this.ClientSize = new System.Drawing.Size(942, 204); this.Controls.Add(this.panel1); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Procesa"; this.Text = "Procesa servicios"; this.Load += new System.EventHandler(this.Procesa_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsBuscaObra1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InfGrad50)); System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.panel1 = new System.Windows.Forms.Panel(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.buscaBtn1 = new Soluciones2000.Tools.WinLib.BuscaBtn(); this.dsGrad50Mdor1 = new LancNeo.dsGrad50Mdor(); this.chbTodos = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.rbColada = new System.Windows.Forms.RadioButton(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.chbLab = new System.Windows.Forms.CheckBox(); this.chbLeyenda = new System.Windows.Forms.CheckBox(); this.chbDuplicado = new System.Windows.Forms.CheckBox(); this.txtFolio = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.txtRenglon = new System.Windows.Forms.TextBox(); this.cmbUnidad = new System.Windows.Forms.ComboBox(); this.dsUnidad1 = new LancNeo.dsUnidad(); this.label5 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.cmbIdObra = new System.Windows.Forms.ComboBox(); this.dsBusObra1 = new LancNeo.dsBusObra(); this.label1 = new System.Windows.Forms.Label(); this.Fecha = new System.Windows.Forms.Label(); this.txtIdobra = new System.Windows.Forms.TextBox(); this.chbFormato = new System.Windows.Forms.CheckBox(); this.chbLab1 = new System.Windows.Forms.CheckBox(); this.sqlDAInfGrad50 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.sqlDAUnidad = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlDAFirmas = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand7 = new System.Data.SqlClient.SqlCommand(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.dsFirmas1 = new LancNeo.dsFirmas(); this.dsInfGra501 = new LancNeo.dsInfGra50(); this.sqlDAGrad50 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.crvInfAcero = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); this.cryRepGra501 = new LancNeo.CryRepGra50(); this.sqlDANorma = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.cryRepGra50O1 = new LancNeo.CryRepGra50O(); this.chbRespaldo = new System.Windows.Forms.CheckBox(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsGrad50Mdor1)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsUnidad1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInfGra501)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Highlight; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.btnVistaPrevia); this.panel1.Controls.Add(this.buscaBtn1); this.panel1.Controls.Add(this.chbRespaldo); this.panel1.Controls.Add(this.chbTodos); this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.chbLab); this.panel1.Controls.Add(this.chbLeyenda); this.panel1.Controls.Add(this.chbDuplicado); this.panel1.Controls.Add(this.txtFolio); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.txtRenglon); this.panel1.Controls.Add(this.cmbUnidad); this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cmbIdObra); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.Fecha); this.panel1.Controls.Add(this.txtIdobra); this.panel1.Controls.Add(this.chbFormato); this.panel1.Controls.Add(this.chbLab1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(878, 114); this.panel1.TabIndex = 13; // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(778, 6); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 63); this.btnVistaPrevia.TabIndex = 45; this.btnVistaPrevia.Visible = false; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // buscaBtn1 // this.buscaBtn1.AnchoColTit = true; this.buscaBtn1.AnchoDlgBusq = 650; this.buscaBtn1.BackColor = System.Drawing.Color.Transparent; this.buscaBtn1.Datos = this.dsGrad50Mdor1.Grad50Mdor; this.buscaBtn1.Icon = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon"))); this.buscaBtn1.Location = new System.Drawing.Point(432, 4); this.buscaBtn1.Name = "buscaBtn1"; this.buscaBtn1.Size = new System.Drawing.Size(64, 64); this.buscaBtn1.TabIndex = 2; this.buscaBtn1.Visible = false; this.buscaBtn1.Click += new System.EventHandler(this.buscaBtn1_Click); // // dsGrad50Mdor1 // this.dsGrad50Mdor1.DataSetName = "dsGrad50Mdor"; this.dsGrad50Mdor1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsGrad50Mdor1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // chbTodos // this.chbTodos.ForeColor = System.Drawing.Color.White; this.chbTodos.Location = new System.Drawing.Point(646, 76); this.chbTodos.Name = "chbTodos"; this.chbTodos.Size = new System.Drawing.Size(114, 24); this.chbTodos.TabIndex = 46; this.chbTodos.Text = "Todos los informes"; // // groupBox1 // this.groupBox1.Controls.Add(this.rbColada); this.groupBox1.Controls.Add(this.radioButton1); this.groupBox1.ForeColor = System.Drawing.Color.White; this.groupBox1.Location = new System.Drawing.Point(602, 5); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(158, 67); this.groupBox1.TabIndex = 44; this.groupBox1.TabStop = false; this.groupBox1.Text = "Formato"; // // rbColada // this.rbColada.AutoSize = true; this.rbColada.Checked = true; this.rbColada.ForeColor = System.Drawing.Color.White; this.rbColada.Location = new System.Drawing.Point(7, 43); this.rbColada.Name = "rbColada"; this.rbColada.Size = new System.Drawing.Size(98, 17); this.rbColada.TabIndex = 1; this.rbColada.TabStop = true; this.rbColada.Text = "Colada, remesa"; this.rbColada.UseVisualStyleBackColor = true; // // radioButton1 // this.radioButton1.AutoSize = true; this.radioButton1.ForeColor = System.Drawing.Color.White; this.radioButton1.Location = new System.Drawing.Point(7, 19); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(96, 17); this.radioButton1.TabIndex = 0; this.radioButton1.Text = "Características"; this.radioButton1.UseVisualStyleBackColor = true; // // chbLab // this.chbLab.Checked = true; this.chbLab.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab.Location = new System.Drawing.Point(345, 76); this.chbLab.Name = "chbLab"; this.chbLab.Size = new System.Drawing.Size(116, 24); this.chbLab.TabIndex = 43; this.chbLab.Text = "Incluye laboratorio"; // // chbLeyenda // this.chbLeyenda.Checked = true; this.chbLeyenda.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLeyenda.ForeColor = System.Drawing.Color.White; this.chbLeyenda.Location = new System.Drawing.Point(229, 76); this.chbLeyenda.Name = "chbLeyenda"; this.chbLeyenda.Size = new System.Drawing.Size(115, 24); this.chbLeyenda.TabIndex = 32; this.chbLeyenda.Text = "Formato leyenda"; // // chbDuplicado // this.chbDuplicado.ForeColor = System.Drawing.Color.White; this.chbDuplicado.Location = new System.Drawing.Point(137, 76); this.chbDuplicado.Name = "chbDuplicado"; this.chbDuplicado.Size = new System.Drawing.Size(87, 24); this.chbDuplicado.TabIndex = 30; this.chbDuplicado.Text = "¿Duplicado?"; // // txtFolio // this.txtFolio.Location = new System.Drawing.Point(540, 6); this.txtFolio.Name = "txtFolio"; this.txtFolio.Size = new System.Drawing.Size(56, 20); this.txtFolio.TabIndex = 27; // // label6 // this.label6.AutoSize = true; this.label6.ForeColor = System.Drawing.Color.White; this.label6.Location = new System.Drawing.Point(500, 33); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(61, 13); this.label6.TabIndex = 26; this.label6.Text = "Renglones:"; // // txtRenglon // this.txtRenglon.Location = new System.Drawing.Point(570, 29); this.txtRenglon.MaxLength = 2; this.txtRenglon.Name = "txtRenglon"; this.txtRenglon.Size = new System.Drawing.Size(23, 20); this.txtRenglon.TabIndex = 25; this.txtRenglon.Text = "20"; this.txtRenglon.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // cmbUnidad // this.cmbUnidad.DataSource = this.dsUnidad1.Unidad; this.cmbUnidad.DisplayMember = "Undescr"; this.cmbUnidad.Location = new System.Drawing.Point(344, 32); this.cmbUnidad.Name = "cmbUnidad"; this.cmbUnidad.Size = new System.Drawing.Size(80, 21); this.cmbUnidad.TabIndex = 23; this.cmbUnidad.ValueMember = "IdUnidad"; // // dsUnidad1 // this.dsUnidad1.DataSetName = "dsUnidad"; this.dsUnidad1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsUnidad1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label5 // this.label5.AutoSize = true; this.label5.ForeColor = System.Drawing.Color.White; this.label5.Location = new System.Drawing.Point(301, 38); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(44, 13); this.label5.TabIndex = 24; this.label5.Text = "Unidad:"; // // label2 // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(312, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(33, 13); this.label2.TabIndex = 8; this.label2.Text = "Obra:"; // // cmbIdObra // this.cmbIdObra.DataSource = this.dsBusObra1.Obra; this.cmbIdObra.DisplayMember = "Idobra"; this.cmbIdObra.Location = new System.Drawing.Point(344, 8); this.cmbIdObra.Name = "cmbIdObra"; this.cmbIdObra.Size = new System.Drawing.Size(80, 21); this.cmbIdObra.TabIndex = 1; this.cmbIdObra.ValueMember = "IdObra"; this.cmbIdObra.SelectedIndexChanged += new System.EventHandler(this.cmbIdObra_SelectedIndexChanged); // // dsBusObra1 // this.dsBusObra1.DataSetName = "dsBusObra"; this.dsBusObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBusObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(10, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(272, 73); this.label1.TabIndex = 0; this.label1.Text = "Informe de verificación de calidad de malla y alambre corrugado y liso grado 50"; // // Fecha // this.Fecha.AutoSize = true; this.Fecha.ForeColor = System.Drawing.Color.White; this.Fecha.Location = new System.Drawing.Point(500, 6); this.Fecha.Name = "Fecha"; this.Fecha.Size = new System.Drawing.Size(32, 13); this.Fecha.TabIndex = 4; this.Fecha.Text = "Folio:"; // // txtIdobra // this.txtIdobra.Location = new System.Drawing.Point(432, 32); this.txtIdobra.Name = "txtIdobra"; this.txtIdobra.ReadOnly = true; this.txtIdobra.Size = new System.Drawing.Size(48, 20); this.txtIdobra.TabIndex = 2; this.txtIdobra.Visible = false; // // chbFormato // this.chbFormato.Location = new System.Drawing.Point(465, 76); this.chbFormato.Name = "chbFormato"; this.chbFormato.Size = new System.Drawing.Size(184, 24); this.chbFormato.TabIndex = 26; this.chbFormato.Text = "Incluye imagen de acreditación"; // // chbLab1 // this.chbLab1.Checked = true; this.chbLab1.CheckState = System.Windows.Forms.CheckState.Checked; this.chbLab1.ForeColor = System.Drawing.Color.White; this.chbLab1.Location = new System.Drawing.Point(14, 76); this.chbLab1.Name = "chbLab1"; this.chbLab1.Size = new System.Drawing.Size(125, 24); this.chbLab1.TabIndex = 41; this.chbLab1.Text = "Incluye laboratorista"; // // sqlDAInfGrad50 // this.sqlDAInfGrad50.SelectCommand = this.sqlSelectCommand1; this.sqlDAInfGrad50.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Gra50Rep", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Folio", "Folio"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("FMuestreo", "FMuestreo"), new System.Data.Common.DataColumnMapping("FEnsaye", "FEnsaye"), new System.Data.Common.DataColumnMapping("Finforme", "Finforme"), new System.Data.Common.DataColumnMapping("Lab", "Lab"), new System.Data.Common.DataColumnMapping("Anos", "Anos"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("Hoja", "Hoja"), new System.Data.Common.DataColumnMapping("MuesEn", "MuesEn"), new System.Data.Common.DataColumnMapping("Observac", "Observac"), new System.Data.Common.DataColumnMapping("Especifica", "Especifica"), new System.Data.Common.DataColumnMapping("Numero", "Numero"), new System.Data.Common.DataColumnMapping("Grado", "Grado"), new System.Data.Common.DataColumnMapping("Masa", "Masa"), new System.Data.Common.DataColumnMapping("Area", "Area"), new System.Data.Common.DataColumnMapping("EsfLE", "EsfLE"), new System.Data.Common.DataColumnMapping("EsfMAX", "EsfMAX"), new System.Data.Common.DataColumnMapping("Alarga", "Alarga"), new System.Data.Common.DataColumnMapping("Separa", "Separa"), new System.Data.Common.DataColumnMapping("Altura", "Altura"), new System.Data.Common.DataColumnMapping("Inclina", "Inclina"), new System.Data.Common.DataColumnMapping("Doblado", "Doblado"), new System.Data.Common.DataColumnMapping("NominalE", "NominalE"), new System.Data.Common.DataColumnMapping("Cortante1", "Cortante1"), new System.Data.Common.DataColumnMapping("Cortante2", "Cortante2"), new System.Data.Common.DataColumnMapping("Muestra", "Muestra"), new System.Data.Common.DataColumnMapping("Marca", "Marca"), new System.Data.Common.DataColumnMapping("Diametro", "Diametro"), new System.Data.Common.DataColumnMapping("MasaR", "MasaR"), new System.Data.Common.DataColumnMapping("AreaR", "AreaR"), new System.Data.Common.DataColumnMapping("CargaLE", "CargaLE"), new System.Data.Common.DataColumnMapping("CargaMax", "CargaMax"), new System.Data.Common.DataColumnMapping("EsfLER", "EsfLER"), new System.Data.Common.DataColumnMapping("EsfMAXR", "EsfMAXR"), new System.Data.Common.DataColumnMapping("AlargaR", "AlargaR"), new System.Data.Common.DataColumnMapping("SeparaR", "SeparaR"), new System.Data.Common.DataColumnMapping("AlturaR", "AlturaR"), new System.Data.Common.DataColumnMapping("InclinaR", "InclinaR"), new System.Data.Common.DataColumnMapping("DobladoR", "DobladoR"), new System.Data.Common.DataColumnMapping("Cortante1R", "Cortante1R"), new System.Data.Common.DataColumnMapping("Cortante2R", "Cortante2R"), new System.Data.Common.DataColumnMapping("Observa", "Observa"), new System.Data.Common.DataColumnMapping("Observa1", "Observa1"), new System.Data.Common.DataColumnMapping("Nota", "Nota"), new System.Data.Common.DataColumnMapping("Nota1", "Nota1"), new System.Data.Common.DataColumnMapping("Razonsocial", "Razonsocial"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("Colonia", "Colonia"), new System.Data.Common.DataColumnMapping("Nominal", "Nominal"), new System.Data.Common.DataColumnMapping("Milimetros", "Milimetros"), new System.Data.Common.DataColumnMapping("Zona", "Zona"), new System.Data.Common.DataColumnMapping("Colada", "Colada"), new System.Data.Common.DataColumnMapping("Remesa", "Remesa") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "[Gra50Rep]"; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((byte)(0)), ((byte)(0)), "", System.Data.DataRowVersion.Current, null), new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6), new System.Data.SqlClient.SqlParameter("@Folio1", System.Data.SqlDbType.Char, 10), new System.Data.SqlClient.SqlParameter("@FolioFin", System.Data.SqlDbType.Char, 10), new System.Data.SqlClient.SqlParameter("@IdUnidad", System.Data.SqlDbType.SmallInt, 2), new System.Data.SqlClient.SqlParameter("@Numren", System.Data.SqlDbType.SmallInt, 2) }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // sqlDAUnidad // this.sqlDAUnidad.SelectCommand = this.sqlCommand2; this.sqlDAUnidad.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Unidad", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdUnidad", "IdUnidad"), new System.Data.Common.DataColumnMapping("Factor", "Factor"), new System.Data.Common.DataColumnMapping("Undescr", "Undescr"), new System.Data.Common.DataColumnMapping("MaxagrUn", "MaxagrUn"), new System.Data.Common.DataColumnMapping("RevenUn", "RevenUn") }) }); // // sqlCommand2 // this.sqlCommand2.CommandText = "SELECT IdUnidad, Factor, Undescr, MaxagrUn, RevenUn FROM Unidad"; this.sqlCommand2.Connection = this.sqlConn; // // sqlDAFirmas // this.sqlDAFirmas.SelectCommand = this.sqlSelectCommand7; this.sqlDAFirmas.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Firmas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdFirma", "IdFirma"), new System.Data.Common.DataColumnMapping("Nombre", "Nombre"), new System.Data.Common.DataColumnMapping("Cargo", "Cargo"), new System.Data.Common.DataColumnMapping("Imprime", "Imprime") }) }); // // sqlSelectCommand7 // this.sqlSelectCommand7.CommandText = "SELECT IdFirma, Nombre, Cargo, Imprime FROM Firmas WHERE (Imprime = 1) ORDER BY I" + "dFirma"; this.sqlSelectCommand7.Connection = this.sqlConn; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // dsFirmas1 // this.dsFirmas1.DataSetName = "dsFirmas"; this.dsFirmas1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsFirmas1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dsInfGra501 // this.dsInfGra501.DataSetName = "dsInfGra50"; this.dsInfGra501.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsInfGra501.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlDAGrad50 // this.sqlDAGrad50.SelectCommand = this.sqlSelectCommand2; this.sqlDAGrad50.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Grad50Mdor", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("FOLIO", "FOLIO"), new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("ConsObra", "ConsObra"), new System.Data.Common.DataColumnMapping("FMuestreo", "FMuestreo"), new System.Data.Common.DataColumnMapping("FEnsaye", "FEnsaye"), new System.Data.Common.DataColumnMapping("FInforme", "FInforme"), new System.Data.Common.DataColumnMapping("NoEco", "NoEco"), new System.Data.Common.DataColumnMapping("Semana", "Semana"), new System.Data.Common.DataColumnMapping("MuestreadasEn", "MuestreadasEn"), new System.Data.Common.DataColumnMapping("Observaciones", "Observaciones") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT FOLIO, IdObra, ConsObra, FMuestreo, FEnsaye, FInforme, NoEco, Semana, Mues" + "treadasEn, Observaciones FROM Grad50Mdor WHERE (IdObra = @IdObra)"; this.sqlSelectCommand2.Connection = this.sqlConn; this.sqlSelectCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 50, "IdObra") }); // // crvInfAcero // this.crvInfAcero.ActiveViewIndex = -1; this.crvInfAcero.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.crvInfAcero.Cursor = System.Windows.Forms.Cursors.Default; this.crvInfAcero.Dock = System.Windows.Forms.DockStyle.Fill; this.crvInfAcero.EnableRefresh = false; this.crvInfAcero.Location = new System.Drawing.Point(0, 114); this.crvInfAcero.Name = "crvInfAcero"; this.crvInfAcero.ShowCloseButton = false; this.crvInfAcero.ShowGroupTreeButton = false; this.crvInfAcero.ShowLogo = false; this.crvInfAcero.Size = new System.Drawing.Size(878, 410); this.crvInfAcero.TabIndex = 14; this.crvInfAcero.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; // // sqlDANorma // this.sqlDANorma.SelectCommand = this.sqlSelectCommand3; this.sqlDANorma.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Normas", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdNorma", "IdNorma"), new System.Data.Common.DataColumnMapping("Informe", "Informe"), new System.Data.Common.DataColumnMapping("Normas", "Normas"), new System.Data.Common.DataColumnMapping("Titulo", "Titulo"), new System.Data.Common.DataColumnMapping("IdInforme", "IdInforme"), new System.Data.Common.DataColumnMapping("Norma1", "Norma1"), new System.Data.Common.DataColumnMapping("Norma2", "Norma2"), new System.Data.Common.DataColumnMapping("Norma3", "Norma3"), new System.Data.Common.DataColumnMapping("Norma4", "Norma4"), new System.Data.Common.DataColumnMapping("Norma5", "Norma5") }) }); // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = "SELECT IdNorma, Informe, Normas, Titulo, IdInforme, Norma1, Norma2, Norma3, Norma" + "4, Norma5 FROM Normas WHERE (IdNorma = @IdNorma) ORDER BY IdNorma"; this.sqlSelectCommand3.Connection = this.sqlConn; this.sqlSelectCommand3.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdNorma", System.Data.SqlDbType.SmallInt, 2, "IdNorma") }); // // chbRespaldo // this.chbRespaldo.ForeColor = System.Drawing.Color.White; this.chbRespaldo.Location = new System.Drawing.Point(766, 76); this.chbRespaldo.Name = "chbRespaldo"; this.chbRespaldo.Size = new System.Drawing.Size(90, 24); this.chbRespaldo.TabIndex = 85; this.chbRespaldo.Text = "Respaldo"; // // InfGrad50 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(878, 524); this.Controls.Add(this.crvInfAcero); this.Controls.Add(this.panel1); this.ForeColor = System.Drawing.Color.White; this.Name = "InfGrad50"; this.Text = "InfGrad50"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.InfGrad50_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsGrad50Mdor1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsUnidad1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsFirmas1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsInfGra501)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Concreto)); System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader(); this.panel2 = new System.Windows.Forms.Panel(); this.btnVistaPrevia = new Soluciones2000.Tools.WinLib.tbBtn(); this.label1 = new System.Windows.Forms.Label(); this.sqlDAConcreto = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConn = new System.Data.SqlClient.SqlConnection(); this.dsConcreto1 = new LancNeo.dsConcreto(); this.idObraDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.resistenciaDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Tipo1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tMADataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.revDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tADataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.idObraDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dgConcreto = new System.Windows.Forms.DataGridView(); this.dsConcreNew1 = new LancNeo.dsConcreNew(); this.idObraDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.resistenciaDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tipo1DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tMADataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.revDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tADataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.nMuestrasDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.label5 = new System.Windows.Forms.Label(); this.cmbObra = new System.Windows.Forms.ComboBox(); this.sqlDABusObra = new System.Data.SqlClient.SqlDataAdapter(); this.sqlCommand1 = new System.Data.SqlClient.SqlCommand(); this.dsBuscaObra1 = new LancNeo.dsBuscaObra(); this.label2 = new System.Windows.Forms.Label(); this.txtMinimo = new System.Windows.Forms.TextBox(); this.cbkPrefijo = new System.Windows.Forms.CheckBox(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dsConcreto1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgConcreto)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsConcreNew1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBuscaObra1)).BeginInit(); this.SuspendLayout(); // // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.Highlight; this.panel2.Controls.Add(this.label1); this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(331, 64); this.panel2.TabIndex = 6; this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint); // // btnVistaPrevia // this.btnVistaPrevia.BackColor = System.Drawing.Color.Transparent; this.btnVistaPrevia.Icon = ((System.Drawing.Icon)(resources.GetObject("btnVistaPrevia.Icon"))); this.btnVistaPrevia.Location = new System.Drawing.Point(662, 0); this.btnVistaPrevia.Name = "btnVistaPrevia"; this.btnVistaPrevia.Size = new System.Drawing.Size(64, 64); this.btnVistaPrevia.TabIndex = 42; this.btnVistaPrevia.Click += new System.EventHandler(this.btnVistaPrevia_Click); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(315, 23); this.label1.TabIndex = 40; this.label1.Text = "Consulta de concretos solicitado"; // // sqlDAConcreto // this.sqlDAConcreto.SelectCommand = this.sqlSelectCommand1; this.sqlDAConcreto.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Muestras", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("IdObra", "IdObra"), new System.Data.Common.DataColumnMapping("Resistencia", "Resistencia"), new System.Data.Common.DataColumnMapping("Tipo", "Tipo"), new System.Data.Common.DataColumnMapping("T.M.A.", "T.M.A."), new System.Data.Common.DataColumnMapping("Rev.", "Rev."), new System.Data.Common.DataColumnMapping("T. A.", "T. A.") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = resources.GetString("sqlSelectCommand1.CommandText"); this.sqlSelectCommand1.Connection = this.sqlConn; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@IdObra", System.Data.SqlDbType.NVarChar, 6, "IdObra"), new System.Data.SqlClient.SqlParameter("@Cuantas", System.Data.SqlDbType.Decimal) }); // // sqlConn // this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string)))); this.sqlConn.FireInfoMessageEventOnUserErrors = false; // // dsConcreto1 // this.dsConcreto1.DataSetName = "dsConcreto"; this.dsConcreto1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsConcreto1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // idObraDataGridViewTextBoxColumn // this.idObraDataGridViewTextBoxColumn.DataPropertyName = "IdObra"; this.idObraDataGridViewTextBoxColumn.HeaderText = "IdObra"; this.idObraDataGridViewTextBoxColumn.Name = "idObraDataGridViewTextBoxColumn"; // // resistenciaDataGridViewTextBoxColumn // this.resistenciaDataGridViewTextBoxColumn.DataPropertyName = "Resistencia"; this.resistenciaDataGridViewTextBoxColumn.HeaderText = "Resistencia"; this.resistenciaDataGridViewTextBoxColumn.Name = "resistenciaDataGridViewTextBoxColumn"; // // Tipo1 // this.Tipo1.DataPropertyName = "Tipo1"; this.Tipo1.HeaderText = "Tipo"; this.Tipo1.Name = "Tipo1"; // // tMADataGridViewTextBoxColumn // this.tMADataGridViewTextBoxColumn.DataPropertyName = "TMA"; this.tMADataGridViewTextBoxColumn.HeaderText = "TMA"; this.tMADataGridViewTextBoxColumn.Name = "tMADataGridViewTextBoxColumn"; // // revDataGridViewTextBoxColumn // this.revDataGridViewTextBoxColumn.DataPropertyName = "Rev"; this.revDataGridViewTextBoxColumn.HeaderText = "Rev"; this.revDataGridViewTextBoxColumn.Name = "revDataGridViewTextBoxColumn"; // // tADataGridViewTextBoxColumn // this.tADataGridViewTextBoxColumn.DataPropertyName = "TA"; this.tADataGridViewTextBoxColumn.HeaderText = "TA"; this.tADataGridViewTextBoxColumn.Name = "tADataGridViewTextBoxColumn"; // // idObraDataGridViewTextBoxColumn1 // this.idObraDataGridViewTextBoxColumn1.DataPropertyName = "IdObra"; this.idObraDataGridViewTextBoxColumn1.HeaderText = "IdObra"; this.idObraDataGridViewTextBoxColumn1.Name = "idObraDataGridViewTextBoxColumn1"; // // dataGridViewTextBoxColumn1 // this.dataGridViewTextBoxColumn1.DataPropertyName = "Tipo1"; this.dataGridViewTextBoxColumn1.HeaderText = "Tipo1"; this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; // // dgConcreto // this.dgConcreto.AutoGenerateColumns = false; this.dgConcreto.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgConcreto.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.idObraDataGridViewTextBoxColumn2, this.resistenciaDataGridViewTextBoxColumn1, this.tipo1DataGridViewTextBoxColumn, this.tMADataGridViewTextBoxColumn1, this.revDataGridViewTextBoxColumn1, this.tADataGridViewTextBoxColumn1, this.nMuestrasDataGridViewTextBoxColumn }); this.dgConcreto.DataMember = "Muestras"; this.dgConcreto.DataSource = this.dsConcreNew1; this.dgConcreto.Location = new System.Drawing.Point(0, 88); this.dgConcreto.Name = "dgConcreto"; this.dgConcreto.Size = new System.Drawing.Size(771, 512); this.dgConcreto.TabIndex = 7; this.dgConcreto.Visible = false; // // dsConcreNew1 // this.dsConcreNew1.DataSetName = "dsConcreNew"; this.dsConcreNew1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // idObraDataGridViewTextBoxColumn2 // this.idObraDataGridViewTextBoxColumn2.DataPropertyName = "IdObra"; this.idObraDataGridViewTextBoxColumn2.HeaderText = "IdObra"; this.idObraDataGridViewTextBoxColumn2.Name = "idObraDataGridViewTextBoxColumn2"; // // resistenciaDataGridViewTextBoxColumn1 // this.resistenciaDataGridViewTextBoxColumn1.DataPropertyName = "Resistencia"; this.resistenciaDataGridViewTextBoxColumn1.HeaderText = "Resistencia"; this.resistenciaDataGridViewTextBoxColumn1.Name = "resistenciaDataGridViewTextBoxColumn1"; // // tipo1DataGridViewTextBoxColumn // this.tipo1DataGridViewTextBoxColumn.DataPropertyName = "Tipo1"; this.tipo1DataGridViewTextBoxColumn.HeaderText = "Tipo1"; this.tipo1DataGridViewTextBoxColumn.Name = "tipo1DataGridViewTextBoxColumn"; // // tMADataGridViewTextBoxColumn1 // this.tMADataGridViewTextBoxColumn1.DataPropertyName = "TMA"; this.tMADataGridViewTextBoxColumn1.HeaderText = "TMA"; this.tMADataGridViewTextBoxColumn1.Name = "tMADataGridViewTextBoxColumn1"; // // revDataGridViewTextBoxColumn1 // this.revDataGridViewTextBoxColumn1.DataPropertyName = "Rev"; this.revDataGridViewTextBoxColumn1.HeaderText = "Rev"; this.revDataGridViewTextBoxColumn1.Name = "revDataGridViewTextBoxColumn1"; // // tADataGridViewTextBoxColumn1 // this.tADataGridViewTextBoxColumn1.DataPropertyName = "TA"; this.tADataGridViewTextBoxColumn1.HeaderText = "TA"; this.tADataGridViewTextBoxColumn1.Name = "tADataGridViewTextBoxColumn1"; // // nMuestrasDataGridViewTextBoxColumn // this.nMuestrasDataGridViewTextBoxColumn.DataPropertyName = "N° muestras"; this.nMuestrasDataGridViewTextBoxColumn.HeaderText = "N° muestras"; this.nMuestrasDataGridViewTextBoxColumn.Name = "nMuestrasDataGridViewTextBoxColumn"; this.nMuestrasDataGridViewTextBoxColumn.ReadOnly = true; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(423, 9); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(33, 13); this.label5.TabIndex = 50; this.label5.Text = "Obra:"; // // cmbObra // this.cmbObra.DataSource = this.dsBuscaObra1; this.cmbObra.DisplayMember = "Obra.Idobra"; this.cmbObra.Location = new System.Drawing.Point(463, 6); this.cmbObra.Name = "cmbObra"; this.cmbObra.Size = new System.Drawing.Size(80, 21); this.cmbObra.TabIndex = 49; this.cmbObra.ValueMember = "IdObra"; // // sqlDABusObra // this.sqlDABusObra.SelectCommand = this.sqlCommand1; this.sqlDABusObra.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Obra", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Idobra", "Idobra"), new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"), new System.Data.Common.DataColumnMapping("RFC", "RFC"), new System.Data.Common.DataColumnMapping("Facturar", "Facturar") }) }); // // sqlCommand1 // this.sqlCommand1.CommandText = resources.GetString("sqlCommand1.CommandText"); this.sqlCommand1.Connection = this.sqlConn; // // dsBuscaObra1 // this.dsBuscaObra1.DataSetName = "dsBuscaObra"; this.dsBuscaObra1.Locale = new System.Globalization.CultureInfo("es-MX"); this.dsBuscaObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(351, 34); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(105, 13); this.label2.TabIndex = 51; this.label2.Text = "Minímo de muestras:"; // // txtMinimo // this.txtMinimo.Location = new System.Drawing.Point(463, 30); this.txtMinimo.MaxLength = 2; this.txtMinimo.Name = "txtMinimo"; this.txtMinimo.Size = new System.Drawing.Size(80, 20); this.txtMinimo.TabIndex = 52; this.txtMinimo.Text = "10"; // // cbkPrefijo // this.cbkPrefijo.Checked = true; this.cbkPrefijo.CheckState = System.Windows.Forms.CheckState.Checked; this.cbkPrefijo.Location = new System.Drawing.Point(463, 56); this.cbkPrefijo.Name = "cbkPrefijo"; this.cbkPrefijo.Size = new System.Drawing.Size(74, 24); this.cbkPrefijo.TabIndex = 53; this.cbkPrefijo.Text = "No prefijo"; // // Concreto // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.Highlight; this.ClientSize = new System.Drawing.Size(772, 605); this.Controls.Add(this.btnVistaPrevia); this.Controls.Add(this.cbkPrefijo); this.Controls.Add(this.txtMinimo); this.Controls.Add(this.label2); this.Controls.Add(this.label5); this.Controls.Add(this.cmbObra); this.Controls.Add(this.dgConcreto); this.Controls.Add(this.panel2); this.Name = "Concreto"; this.Text = "Concreto"; this.Load += new System.EventHandler(this.Concreto_Load); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dsConcreto1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgConcreto)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsConcreNew1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsBuscaObra1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }