Exemple #1
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AsfalticoMal));
     System.Configuration.AppSettingsReader         configurationAppSettings = new System.Configuration.AppSettingsReader();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle4   = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle5   = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle6   = new System.Windows.Forms.DataGridViewCellStyle();
     this.txtFolio                          = new System.Windows.Forms.TextBox();
     this.label1                            = new System.Windows.Forms.Label();
     this.sqlDAAsfalticoMal                 = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlDeleteCommand1                 = new System.Data.SqlClient.SqlCommand();
     this.sqlConn                           = new System.Data.SqlClient.SqlConnection();
     this.sqlInsertCommand1                 = new System.Data.SqlClient.SqlCommand();
     this.sqlSelectCommand1                 = new System.Data.SqlClient.SqlCommand();
     this.sqlUpdateCommand1                 = new System.Data.SqlClient.SqlCommand();
     this.dsAsfalticoMal1                   = new LancNeo.dsAsfalticoMal();
     this.tbBtn1                            = new Soluciones2000.Tools.WinLib.tbBtn();
     this.tbBtn2                            = new Soluciones2000.Tools.WinLib.tbBtn();
     this.cmbMedida                         = new System.Windows.Forms.ComboBox();
     this.dsMedida1                         = new LancNeo.dsMedida();
     this.label2                            = new System.Windows.Forms.Label();
     this.sqlDAMedida                       = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand2                 = new System.Data.SqlClient.SqlCommand();
     this.sqlDAMalla                        = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand3                 = new System.Data.SqlClient.SqlCommand();
     this.dsMalla1                          = new LancNeo.dsMalla();
     this.dgMateriales                      = new System.Windows.Forms.DataGridView();
     this.asfalticoMalBindingSource         = new System.Windows.Forms.BindingSource(this.components);
     this.tbBtn3                            = new Soluciones2000.Tools.WinLib.tbBtn();
     this.folioDataGridViewTextBoxColumn    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.renglonDataGridViewTextBoxColumn  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.mallaDataGridViewTextBoxColumn    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.linea1DataGridViewTextBoxColumn   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.linea2DataGridViewTextBoxColumn   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.quepasaDataGridViewTextBoxColumn  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.proyectoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Designacion                       = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panelToolBar.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsAsfalticoMal1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsMedida1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsMalla1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgMateriales)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.asfalticoMalBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location   = new System.Drawing.Point(0, 505);
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(778, 22);
     //
     // panelToolBar
     //
     this.panelToolBar.Size = new System.Drawing.Size(778, 64);
     //
     // btnSiguiente
     //
     this.btnSiguiente.Visible = false;
     //
     // btnUltimo
     //
     this.btnUltimo.Visible = false;
     //
     // btnAnterior
     //
     this.btnAnterior.Visible = false;
     //
     // btnPrimero
     //
     this.btnPrimero.Visible = false;
     //
     // btnDeshacer
     //
     this.btnDeshacer.Visible = false;
     //
     // btnNuevo
     //
     this.btnNuevo.Visible = false;
     //
     // btnEliminar
     //
     this.btnEliminar.Visible = false;
     //
     // btnGuardar
     //
     this.btnGuardar.Visible = false;
     //
     // btnVistaPrevia
     //
     this.btnVistaPrevia.Visible = false;
     //
     // btnCancelar
     //
     this.btnCancelar.Visible = false;
     //
     // txtFolio
     //
     this.txtFolio.Location     = new System.Drawing.Point(56, 73);
     this.txtFolio.MaxLength    = 10;
     this.txtFolio.Name         = "txtFolio";
     this.txtFolio.Size         = new System.Drawing.Size(64, 20);
     this.txtFolio.TabIndex     = 54;
     this.txtFolio.TextChanged += new System.EventHandler(this.txtFolio_TextChanged);
     this.txtFolio.Validated   += new System.EventHandler(this.txtFolio_Validated);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Location  = new System.Drawing.Point(8, 77);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(41, 13);
     this.label1.TabIndex  = 55;
     this.label1.Text      = "FOLIO:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // sqlDAAsfalticoMal
     //
     this.sqlDAAsfalticoMal.DeleteCommand = this.sqlDeleteCommand1;
     this.sqlDAAsfalticoMal.InsertCommand = this.sqlInsertCommand1;
     this.sqlDAAsfalticoMal.SelectCommand = this.sqlSelectCommand1;
     this.sqlDAAsfalticoMal.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"),
             new System.Data.Common.DataColumnMapping("Designacion", "Designacion")
         })
     });
     this.sqlDAAsfalticoMal.UpdateCommand = this.sqlUpdateCommand1;
     //
     // sqlDeleteCommand1
     //
     this.sqlDeleteCommand1.CommandText = resources.GetString("sqlDeleteCommand1.CommandText");
     this.sqlDeleteCommand1.Connection  = this.sqlConn;
     this.sqlDeleteCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Original_Folio", System.Data.SqlDbType.Char, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Folio", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_Renglon", System.Data.SqlDbType.SmallInt, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Renglon", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Malla", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Malla", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Malla", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(3)), "Malla", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Linea1", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Linea1", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Linea1", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Linea1", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Linea2", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Linea2", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Linea2", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Linea2", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Quepasa", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Quepasa", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Quepasa", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Quepasa", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Proyecto", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Proyecto", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Proyecto", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Proyecto", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Designacion", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Designacion", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Designacion", System.Data.SqlDbType.NVarChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Designacion", System.Data.DataRowVersion.Original, null)
     });
     //
     // sqlConn
     //
     this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string))));
     this.sqlConn.FireInfoMessageEventOnUserErrors = false;
     //
     // sqlInsertCommand1
     //
     this.sqlInsertCommand1.CommandText = resources.GetString("sqlInsertCommand1.CommandText");
     this.sqlInsertCommand1.Connection  = this.sqlConn;
     this.sqlInsertCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Folio", System.Data.SqlDbType.Char, 0, "Folio"),
         new System.Data.SqlClient.SqlParameter("@Renglon", System.Data.SqlDbType.SmallInt, 0, "Renglon"),
         new System.Data.SqlClient.SqlParameter("@Malla", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(3)), "Malla", System.Data.DataRowVersion.Current, null),
         new System.Data.SqlClient.SqlParameter("@Linea1", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Linea1", System.Data.DataRowVersion.Current, null),
         new System.Data.SqlClient.SqlParameter("@Linea2", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Linea2", System.Data.DataRowVersion.Current, null),
         new System.Data.SqlClient.SqlParameter("@Quepasa", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Quepasa", System.Data.DataRowVersion.Current, null),
         new System.Data.SqlClient.SqlParameter("@Proyecto", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Proyecto", System.Data.DataRowVersion.Current, null),
         new System.Data.SqlClient.SqlParameter("@Designacion", System.Data.SqlDbType.NVarChar, 0, "Designacion")
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = "SELECT        Folio, Renglon, Malla, Linea1, Linea2, Quepasa, Proyecto, Designaci" +
                                          "on\r\nFROM            AsfalticoMal\r\nWHERE        (Folio = @Folio)\r\nORDER BY Folio";
     this.sqlSelectCommand1.Connection = this.sqlConn;
     this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Folio", System.Data.SqlDbType.Char, 10, "Folio")
     });
     //
     // sqlUpdateCommand1
     //
     this.sqlUpdateCommand1.CommandText = resources.GetString("sqlUpdateCommand1.CommandText");
     this.sqlUpdateCommand1.Connection  = this.sqlConn;
     this.sqlUpdateCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Folio", System.Data.SqlDbType.Char, 0, "Folio"),
         new System.Data.SqlClient.SqlParameter("@Renglon", System.Data.SqlDbType.SmallInt, 0, "Renglon"),
         new System.Data.SqlClient.SqlParameter("@Malla", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(3)), "Malla", System.Data.DataRowVersion.Current, null),
         new System.Data.SqlClient.SqlParameter("@Linea1", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Linea1", System.Data.DataRowVersion.Current, null),
         new System.Data.SqlClient.SqlParameter("@Linea2", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Linea2", System.Data.DataRowVersion.Current, null),
         new System.Data.SqlClient.SqlParameter("@Quepasa", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Quepasa", System.Data.DataRowVersion.Current, null),
         new System.Data.SqlClient.SqlParameter("@Proyecto", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Proyecto", System.Data.DataRowVersion.Current, null),
         new System.Data.SqlClient.SqlParameter("@Designacion", System.Data.SqlDbType.NVarChar, 0, "Designacion"),
         new System.Data.SqlClient.SqlParameter("@Original_Folio", System.Data.SqlDbType.Char, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Folio", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_Renglon", System.Data.SqlDbType.SmallInt, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Renglon", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Malla", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Malla", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Malla", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(3)), "Malla", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Linea1", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Linea1", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Linea1", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Linea1", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Linea2", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Linea2", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Linea2", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Linea2", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Quepasa", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Quepasa", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Quepasa", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Quepasa", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Proyecto", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Proyecto", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Proyecto", System.Data.SqlDbType.Decimal, 0, System.Data.ParameterDirection.Input, false, ((byte)(6)), ((byte)(2)), "Proyecto", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@IsNull_Designacion", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Designacion", System.Data.DataRowVersion.Original, true, null, "", "", ""),
         new System.Data.SqlClient.SqlParameter("@Original_Designacion", System.Data.SqlDbType.NVarChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Designacion", System.Data.DataRowVersion.Original, null)
     });
     //
     // dsAsfalticoMal1
     //
     this.dsAsfalticoMal1.DataSetName             = "dsAsfalticoMal";
     this.dsAsfalticoMal1.Locale                  = new System.Globalization.CultureInfo("es-MX");
     this.dsAsfalticoMal1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // 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(450, 73);
     this.tbBtn1.Name      = "tbBtn1";
     this.tbBtn1.Size      = new System.Drawing.Size(64, 64);
     this.tbBtn1.TabIndex  = 58;
     this.tbBtn1.Visible   = false;
     this.tbBtn1.Load     += new System.EventHandler(this.tbBtn1_Load);
     this.tbBtn1.Click    += new System.EventHandler(this.tbBtn1_Click);
     //
     // tbBtn2
     //
     this.tbBtn2.BackColor = System.Drawing.Color.Transparent;
     this.tbBtn2.Icon      = ((System.Drawing.Icon)(resources.GetObject("tbBtn2.Icon")));
     this.tbBtn2.Location  = new System.Drawing.Point(132, 73);
     this.tbBtn2.Name      = "tbBtn2";
     this.tbBtn2.Size      = new System.Drawing.Size(64, 64);
     this.tbBtn2.TabIndex  = 59;
     this.tbBtn2.Load     += new System.EventHandler(this.tbBtn2_Load);
     this.tbBtn2.Click    += new System.EventHandler(this.tbBtn2_Click);
     //
     // cmbMedida
     //
     this.cmbMedida.DataSource            = this.dsMedida1.AsfalticoReq;
     this.cmbMedida.DisplayMember         = "IdTamaño";
     this.cmbMedida.Location              = new System.Drawing.Point(322, 73);
     this.cmbMedida.Name                  = "cmbMedida";
     this.cmbMedida.Size                  = new System.Drawing.Size(121, 21);
     this.cmbMedida.TabIndex              = 60;
     this.cmbMedida.ValueMember           = "IdTamaño";
     this.cmbMedida.Visible               = false;
     this.cmbMedida.SelectedIndexChanged += new System.EventHandler(this.cmbMedida_SelectedIndexChanged);
     //
     // dsMedida1
     //
     this.dsMedida1.DataSetName             = "dsMedida";
     this.dsMedida1.Locale                  = new System.Globalization.CultureInfo("es-MX");
     this.dsMedida1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Location  = new System.Drawing.Point(246, 73);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(72, 13);
     this.label2.TabIndex  = 61;
     this.label2.Text      = "Medida malla:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // sqlDAMedida
     //
     this.sqlDAMedida.SelectCommand = this.sqlSelectCommand2;
     this.sqlDAMedida.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "AsfalticoReq", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("IdTamaño", "IdTamaño")
         })
     });
     //
     // sqlSelectCommand2
     //
     this.sqlSelectCommand2.CommandText = "SELECT DISTINCT IdTamaño FROM AsfalticoReq";
     this.sqlSelectCommand2.Connection  = this.sqlConn;
     //
     // sqlDAMalla
     //
     this.sqlDAMalla.SelectCommand = this.sqlSelectCommand3;
     this.sqlDAMalla.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "AsfalticoReq", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("Renglon", "Renglon"),
             new System.Data.Common.DataColumnMapping("IdMalla", "IdMalla"),
             new System.Data.Common.DataColumnMapping("Linea1", "Linea1"),
             new System.Data.Common.DataColumnMapping("Linea2", "Linea2")
         })
     });
     //
     // sqlSelectCommand3
     //
     this.sqlSelectCommand3.CommandText = "SELECT        Renglon, IdMalla, Linea1, Linea2, quepasa, proyecto, Designacion\r\nF" +
                                          "ROM            AsfalticoReq\r\nWHERE        (IdTamaño = @Tamaño)\r\nORDER BY Renglon" +
                                          "";
     this.sqlSelectCommand3.Connection = this.sqlConn;
     this.sqlSelectCommand3.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Tamaño", System.Data.SqlDbType.NVarChar, 6, "IdTamaño")
     });
     //
     // dsMalla1
     //
     this.dsMalla1.DataSetName             = "dsMalla";
     this.dsMalla1.Locale                  = new System.Globalization.CultureInfo("es-MX");
     this.dsMalla1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dgMateriales
     //
     dataGridViewCellStyle4.BackColor                  = System.Drawing.Color.White;
     dataGridViewCellStyle4.ForeColor                  = System.Drawing.Color.Black;
     dataGridViewCellStyle4.SelectionBackColor         = System.Drawing.Color.White;
     dataGridViewCellStyle4.SelectionForeColor         = System.Drawing.Color.DimGray;
     this.dgMateriales.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
     this.dgMateriales.AutoGenerateColumns             = false;
     dataGridViewCellStyle5.Alignment                  = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle5.BackColor                  = System.Drawing.Color.White;
     dataGridViewCellStyle5.Font                     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle5.ForeColor                = System.Drawing.Color.Black;
     dataGridViewCellStyle5.SelectionBackColor       = System.Drawing.Color.White;
     dataGridViewCellStyle5.SelectionForeColor       = System.Drawing.Color.DimGray;
     dataGridViewCellStyle5.WrapMode                 = System.Windows.Forms.DataGridViewTriState.True;
     this.dgMateriales.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
     this.dgMateriales.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgMateriales.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.folioDataGridViewTextBoxColumn,
         this.renglonDataGridViewTextBoxColumn,
         this.mallaDataGridViewTextBoxColumn,
         this.linea1DataGridViewTextBoxColumn,
         this.linea2DataGridViewTextBoxColumn,
         this.quepasaDataGridViewTextBoxColumn,
         this.proyectoDataGridViewTextBoxColumn,
         this.Designacion
     });
     this.dgMateriales.DataSource              = this.asfalticoMalBindingSource;
     dataGridViewCellStyle6.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle6.BackColor          = System.Drawing.Color.White;
     dataGridViewCellStyle6.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle6.ForeColor          = System.Drawing.Color.White;
     dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.White;
     dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.DimGray;
     dataGridViewCellStyle6.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgMateriales.DefaultCellStyle        = dataGridViewCellStyle6;
     this.dgMateriales.Location = new System.Drawing.Point(11, 143);
     this.dgMateriales.Name     = "dgMateriales";
     this.dgMateriales.RowTemplate.DefaultCellStyle.BackColor          = System.Drawing.Color.White;
     this.dgMateriales.RowTemplate.DefaultCellStyle.ForeColor          = System.Drawing.Color.Black;
     this.dgMateriales.RowTemplate.DefaultCellStyle.SelectionBackColor = System.Drawing.Color.White;
     this.dgMateriales.RowTemplate.DefaultCellStyle.SelectionForeColor = System.Drawing.Color.DimGray;
     this.dgMateriales.Size     = new System.Drawing.Size(755, 356);
     this.dgMateriales.TabIndex = 62;
     //
     // asfalticoMalBindingSource
     //
     this.asfalticoMalBindingSource.DataMember = "AsfalticoMal";
     this.asfalticoMalBindingSource.DataSource = this.dsAsfalticoMal1;
     //
     // tbBtn3
     //
     this.tbBtn3.BackColor = System.Drawing.Color.Transparent;
     this.tbBtn3.Icon      = ((System.Drawing.Icon)(resources.GetObject("tbBtn3.Icon")));
     this.tbBtn3.Location  = new System.Drawing.Point(528, 73);
     this.tbBtn3.Name      = "tbBtn3";
     this.tbBtn3.Size      = new System.Drawing.Size(64, 64);
     this.tbBtn3.TabIndex  = 63;
     this.tbBtn3.Visible   = false;
     this.tbBtn3.Click    += new System.EventHandler(this.tbBtn3_Click);
     //
     // folioDataGridViewTextBoxColumn
     //
     this.folioDataGridViewTextBoxColumn.DataPropertyName = "Folio";
     this.folioDataGridViewTextBoxColumn.HeaderText       = "Folio";
     this.folioDataGridViewTextBoxColumn.Name             = "folioDataGridViewTextBoxColumn";
     this.folioDataGridViewTextBoxColumn.Visible          = false;
     //
     // renglonDataGridViewTextBoxColumn
     //
     this.renglonDataGridViewTextBoxColumn.DataPropertyName = "Renglon";
     this.renglonDataGridViewTextBoxColumn.HeaderText       = "Renglon";
     this.renglonDataGridViewTextBoxColumn.Name             = "renglonDataGridViewTextBoxColumn";
     //
     // mallaDataGridViewTextBoxColumn
     //
     this.mallaDataGridViewTextBoxColumn.DataPropertyName = "Malla";
     this.mallaDataGridViewTextBoxColumn.HeaderText       = "Malla";
     this.mallaDataGridViewTextBoxColumn.Name             = "mallaDataGridViewTextBoxColumn";
     //
     // linea1DataGridViewTextBoxColumn
     //
     this.linea1DataGridViewTextBoxColumn.DataPropertyName = "Linea1";
     this.linea1DataGridViewTextBoxColumn.HeaderText       = "Linea1";
     this.linea1DataGridViewTextBoxColumn.Name             = "linea1DataGridViewTextBoxColumn";
     //
     // linea2DataGridViewTextBoxColumn
     //
     this.linea2DataGridViewTextBoxColumn.DataPropertyName = "Linea2";
     this.linea2DataGridViewTextBoxColumn.HeaderText       = "Linea2";
     this.linea2DataGridViewTextBoxColumn.Name             = "linea2DataGridViewTextBoxColumn";
     //
     // quepasaDataGridViewTextBoxColumn
     //
     this.quepasaDataGridViewTextBoxColumn.DataPropertyName = "Quepasa";
     this.quepasaDataGridViewTextBoxColumn.HeaderText       = "Quepasa";
     this.quepasaDataGridViewTextBoxColumn.Name             = "quepasaDataGridViewTextBoxColumn";
     //
     // proyectoDataGridViewTextBoxColumn
     //
     this.proyectoDataGridViewTextBoxColumn.DataPropertyName = "Proyecto";
     this.proyectoDataGridViewTextBoxColumn.HeaderText       = "Proyecto";
     this.proyectoDataGridViewTextBoxColumn.Name             = "proyectoDataGridViewTextBoxColumn";
     //
     // Designacion
     //
     this.Designacion.DataPropertyName = "Designacion";
     this.Designacion.HeaderText       = "Designacion";
     this.Designacion.Name             = "Designacion";
     this.Designacion.ReadOnly         = true;
     //
     // AsfalticoMal
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(778, 527);
     this.Controls.Add(this.tbBtn1);
     this.Controls.Add(this.tbBtn2);
     this.Controls.Add(this.tbBtn3);
     this.Controls.Add(this.dgMateriales);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.cmbMedida);
     this.Controls.Add(this.txtFolio);
     this.Controls.Add(this.label1);
     this.DAGeneral   = this.sqlDAAsfalticoMal;
     this.dsGeneral   = this.dsAsfalticoMal1;
     this.Name        = "AsfalticoMal";
     this.NombreTabla = "AsfalticoMal";
     this.Text        = "AsfalticoMal";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.AsfalticoMal_Load);
     this.Controls.SetChildIndex(this.statusBar1, 0);
     this.Controls.SetChildIndex(this.panelToolBar, 0);
     this.Controls.SetChildIndex(this.label1, 0);
     this.Controls.SetChildIndex(this.txtFolio, 0);
     this.Controls.SetChildIndex(this.cmbMedida, 0);
     this.Controls.SetChildIndex(this.label2, 0);
     this.Controls.SetChildIndex(this.dgMateriales, 0);
     this.Controls.SetChildIndex(this.tbBtn3, 0);
     this.Controls.SetChildIndex(this.tbBtn2, 0);
     this.Controls.SetChildIndex(this.tbBtn1, 0);
     this.panelToolBar.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dsAsfalticoMal1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsMedida1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsMalla1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgMateriales)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.asfalticoMalBindingSource)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #2
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RepMuestreador));
     System.Configuration.AppSettingsReader         configurationAppSettings = new System.Configuration.AppSettingsReader();
     this.label1              = new System.Windows.Forms.Label();
     this.buscaBtn1           = new Soluciones2000.Tools.WinLib.BuscaBtn();
     this.dsBusMuestreador1   = new LancNeo.dsBusMuestreador();
     this.txtIdobra           = new System.Windows.Forms.TextBox();
     this.Fecha               = new System.Windows.Forms.Label();
     this.txtFecha            = new System.Windows.Forms.TextBox();
     this.btnVistaPrevia      = new Soluciones2000.Tools.WinLib.tbBtn();
     this.sqlDABusMuestreador = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand1   = new System.Data.SqlClient.SqlCommand();
     this.sqlConn             = new System.Data.SqlClient.SqlConnection();
     this.sqlDARepMuestreador = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand2   = new System.Data.SqlClient.SqlCommand();
     this.dsRepMuestreador1   = new LancNeo.dsRepMuestreador();
     this.cryRepMuestreador1  = new LancNeo.CryRepMuestreador();
     this.panel1              = new System.Windows.Forms.Panel();
     this.chbLab1             = new System.Windows.Forms.CheckBox();
     this.label2              = new System.Windows.Forms.Label();
     this.comboBox1           = new System.Windows.Forms.ComboBox();
     this.dsBusObra1          = new LancNeo.dsBusObra();
     this.crvRepMuestreador   = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.sqlDABusObra        = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlCommand1         = new System.Data.SqlClient.SqlCommand();
     ((System.ComponentModel.ISupportInitialize)(this.dsBusMuestreador1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsRepMuestreador1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).BeginInit();
     this.SuspendLayout();
     //
     // 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(279, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Reporte de Muestreador";
     //
     // buscaBtn1
     //
     this.buscaBtn1.AnchoDlgBusq = 450;
     this.buscaBtn1.BackColor    = System.Drawing.Color.Transparent;
     this.buscaBtn1.Datos        = this.dsBusMuestreador1.Muestreador;
     this.buscaBtn1.Icon         = ((System.Drawing.Icon)(resources.GetObject("buscaBtn1.Icon")));
     this.buscaBtn1.Location     = new System.Drawing.Point(448, 0);
     this.buscaBtn1.Name         = "buscaBtn1";
     this.buscaBtn1.Size         = new System.Drawing.Size(64, 64);
     this.buscaBtn1.TabIndex     = 1;
     this.buscaBtn1.Visible      = false;
     this.buscaBtn1.Click       += new System.EventHandler(this.buscaBtn1_Click);
     //
     // dsBusMuestreador1
     //
     this.dsBusMuestreador1.DataSetName             = "dsBusMuestreador";
     this.dsBusMuestreador1.Locale                  = new System.Globalization.CultureInfo("es-MX");
     this.dsBusMuestreador1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // txtIdobra
     //
     this.txtIdobra.Location = new System.Drawing.Point(464, 16);
     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;
     //
     // Fecha
     //
     this.Fecha.AutoSize = true;
     this.Fecha.Location = new System.Drawing.Point(520, 16);
     this.Fecha.Name     = "Fecha";
     this.Fecha.Size     = new System.Drawing.Size(40, 13);
     this.Fecha.TabIndex = 4;
     this.Fecha.Text     = "Fecha:";
     //
     // txtFecha
     //
     this.txtFecha.Location     = new System.Drawing.Point(560, 16);
     this.txtFecha.Name         = "txtFecha";
     this.txtFecha.ReadOnly     = true;
     this.txtFecha.Size         = new System.Drawing.Size(80, 20);
     this.txtFecha.TabIndex     = 5;
     this.txtFecha.TextChanged += new System.EventHandler(this.txtFecha_TextChanged);
     //
     // 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(646, 0);
     this.btnVistaPrevia.Name      = "btnVistaPrevia";
     this.btnVistaPrevia.Size      = new System.Drawing.Size(64, 64);
     this.btnVistaPrevia.TabIndex  = 6;
     this.btnVistaPrevia.Visible   = false;
     this.btnVistaPrevia.Click    += new System.EventHandler(this.btnVistaPrevia_Click);
     //
     // sqlDABusMuestreador
     //
     this.sqlDABusMuestreador.SelectCommand = this.sqlSelectCommand1;
     this.sqlDABusMuestreador.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Muestreador", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("IdObra", "IdObra"),
             new System.Data.Common.DataColumnMapping("Fecha", "Fecha")
         })
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = "SELECT IdObra, Fecha FROM Muestreador WHERE (IdObra = @IdObra) ORDER BY IdObra";
     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")
     });
     //
     // sqlConn
     //
     this.sqlConn.ConnectionString = ((string)(configurationAppSettings.GetValue("sqlConn.ConnectionString", typeof(string))));
     this.sqlConn.FireInfoMessageEventOnUserErrors = false;
     //
     // sqlDARepMuestreador
     //
     this.sqlDARepMuestreador.SelectCommand = this.sqlSelectCommand2;
     this.sqlDARepMuestreador.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "RepMuestreado", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("IdObra", "IdObra"),
             new System.Data.Common.DataColumnMapping("Descripcion", "Descripcion"),
             new System.Data.Common.DataColumnMapping("Ubicacion", "Ubicacion"),
             new System.Data.Common.DataColumnMapping("Facturar", "Facturar"),
             new System.Data.Common.DataColumnMapping("Fecha", "Fecha"),
             new System.Data.Common.DataColumnMapping("NoEco", "NoEco"),
             new System.Data.Common.DataColumnMapping("Zona", "Zona"),
             new System.Data.Common.DataColumnMapping("Laboratorista", "Laboratorista"),
             new System.Data.Common.DataColumnMapping("Semana", "Semana"),
             new System.Data.Common.DataColumnMapping("Hinicio", "Hinicio"),
             new System.Data.Common.DataColumnMapping("Hfinal", "Hfinal"),
             new System.Data.Common.DataColumnMapping("Vsolicitado", "Vsolicitado"),
             new System.Data.Common.DataColumnMapping("Textra", "Textra"),
             new System.Data.Common.DataColumnMapping("Volumen", "Volumen"),
             new System.Data.Common.DataColumnMapping("Nmuestras", "Nmuestras"),
             new System.Data.Common.DataColumnMapping("Ncilindros", "Ncilindros"),
             new System.Data.Common.DataColumnMapping("M1dv", "M1dv"),
             new System.Data.Common.DataColumnMapping("M3dv", "M3dv"),
             new System.Data.Common.DataColumnMapping("M3d", "M3d"),
             new System.Data.Common.DataColumnMapping("M7d", "M7d"),
             new System.Data.Common.DataColumnMapping("M14d", "M14d"),
             new System.Data.Common.DataColumnMapping("M28d", "M28d"),
             new System.Data.Common.DataColumnMapping("Observaciones", "Observaciones"),
             new System.Data.Common.DataColumnMapping("Consecutivo", "Consecutivo"),
             new System.Data.Common.DataColumnMapping("Fecham", "Fecham"),
             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("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("Agregado1", "Agregado1"),
             new System.Data.Common.DataColumnMapping("IdRemision", "IdRemision"),
             new System.Data.Common.DataColumnMapping("IdOlla", "IdOlla"),
             new System.Data.Common.DataColumnMapping("Volumen1", "Volumen1"),
             new System.Data.Common.DataColumnMapping("Hora", "Hora"),
             new System.Data.Common.DataColumnMapping("RevObt", "RevObt"),
             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("Observa", "Observa")
         })
     });
     this.sqlDARepMuestreador.RowUpdated += new System.Data.SqlClient.SqlRowUpdatedEventHandler(this.sqlDARepMuestreador_RowUpdated);
     //
     // sqlSelectCommand2
     //
     this.sqlSelectCommand2.CommandText = "[RepMuestreado]";
     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("@Fecha", System.Data.SqlDbType.DateTime, 8)
     });
     //
     // dsRepMuestreador1
     //
     this.dsRepMuestreador1.DataSetName             = "dsRepMuestreador";
     this.dsRepMuestreador1.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.dsRepMuestreador1.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.chbLab1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.txtIdobra);
     this.panel1.Controls.Add(this.txtFecha);
     this.panel1.Controls.Add(this.Fecha);
     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(880, 56);
     this.panel1.TabIndex = 8;
     //
     // chbLab1
     //
     this.chbLab1.Checked    = true;
     this.chbLab1.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chbLab1.Location   = new System.Drawing.Point(106, 34);
     this.chbLab1.Name       = "chbLab1";
     this.chbLab1.Size       = new System.Drawing.Size(133, 21);
     this.chbLab1.TabIndex   = 41;
     this.chbLab1.Text       = "Incluye laboratorista";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(336, 18);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(33, 13);
     this.label2.TabIndex = 8;
     this.label2.Text     = "Obra:";
     //
     // comboBox1
     //
     this.comboBox1.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.dsBusObra1, "Obra.Idobra", true));
     this.comboBox1.DataSource            = this.dsBusObra1.Obra;
     this.comboBox1.DisplayMember         = "IdObra";
     this.comboBox1.Location              = new System.Drawing.Point(376, 16);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(64, 21);
     this.comboBox1.TabIndex              = 7;
     this.comboBox1.ValueMember           = "IdObra";
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // dsBusObra1
     //
     this.dsBusObra1.DataSetName             = "dsBusObra";
     this.dsBusObra1.Locale                  = new System.Globalization.CultureInfo("es-MX");
     this.dsBusObra1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // crvRepMuestreador
     //
     this.crvRepMuestreador.ActiveViewIndex     = -1;
     this.crvRepMuestreador.BorderStyle         = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crvRepMuestreador.Cursor              = System.Windows.Forms.Cursors.Default;
     this.crvRepMuestreador.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.crvRepMuestreador.EnableRefresh       = false;
     this.crvRepMuestreador.Location            = new System.Drawing.Point(0, 56);
     this.crvRepMuestreador.Name                = "crvRepMuestreador";
     this.crvRepMuestreador.ShowCloseButton     = false;
     this.crvRepMuestreador.ShowGroupTreeButton = false;
     this.crvRepMuestreador.ShowLogo            = false;
     this.crvRepMuestreador.Size                = new System.Drawing.Size(880, 645);
     this.crvRepMuestreador.TabIndex            = 9;
     this.crvRepMuestreador.ToolPanelView       = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
     //
     // 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 = "SELECT Obra.Idobra, Obra.Ubicacion, Obra.RFC, Razonsocial.Facturar FROM Obra LEFT" +
                                    " OUTER JOIN Razonsocial ON Obra.IdCliente = Razonsocial.IdCliente AND Obra.RFC =" +
                                    " Razonsocial.RFC ORDER BY Obra.Idobra";
     this.sqlCommand1.Connection = this.sqlConn;
     //
     // RepMuestreador
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(880, 701);
     this.Controls.Add(this.crvRepMuestreador);
     this.Controls.Add(this.panel1);
     this.MinimizeBox = false;
     this.Name        = "RepMuestreador";
     this.Text        = "RepMuestreador";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.RepMuestreador_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dsBusMuestreador1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsRepMuestreador1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsBusObra1)).EndInit();
     this.ResumeLayout(false);
 }