private bool BuildTableStyles(ref mdlComponentesGraficos.DataGrid dgPropriedades) { // Limpando os anteriores dgPropriedades.TableStyles.Clear(); // Criando o Table Style System.Windows.Forms.DataGridTableStyle dtgdtbstMaster = new System.Windows.Forms.DataGridTableStyle(false); // Configurando dtgdtbstMaster.MappingName = TEXTO_MASTER; dtgdtbstMaster.GridLineStyle = System.Windows.Forms.DataGridLineStyle.Solid; dtgdtbstMaster.GridLineColor = System.Drawing.Color.Gray; dtgdtbstMaster.AlternatingBackColor = dgPropriedades.BackColor; dtgdtbstMaster.BackColor = System.Drawing.Color.White; dtgdtbstMaster.HeaderBackColor = dgPropriedades.BackColor; dtgdtbstMaster.AllowSorting = false; // Configurando os GridColumnStyles dtgdtbstMaster.GridColumnStyles.Clear(); dtgdtbstMaster.GridColumnStyles.Add(GetColumnIdOrdem()); InsertDataGridColumnStyleIdiomas(ref dtgdtbstMaster); dgPropriedades.TableStyles.Add(dtgdtbstMaster); return(true); }
private bool RefreshPropriedades(ref mdlComponentesGraficos.DataGrid dgPropriedades) { m_bDataTableEvents = false; System.Data.DataTable dataTable = this.GetDataTableMaster(); System.Data.DataRow[] dtrwPropriedades = this.TypDatSetPropriedades.tbPropriedadesProdutos.Select("", "nIdPropriedade", System.Data.DataViewRowState.Added | System.Data.DataViewRowState.ModifiedCurrent | System.Data.DataViewRowState.Unchanged); if (dtrwPropriedades != null) { int nIdPropriedade = -1; System.Data.DataRow dtrwInserir = null; bool bInserted = false; for (int i = 0; i < dtrwPropriedades.Length; i++) { mdlDataBaseAccess.Tabelas.XsdTbPropriedadesProdutos.tbPropriedadesProdutosRow dtrwPropriedade = (mdlDataBaseAccess.Tabelas.XsdTbPropriedadesProdutos.tbPropriedadesProdutosRow)dtrwPropriedades[i]; if (dtrwPropriedade.RowState == System.Data.DataRowState.Deleted) { continue; } if (nIdPropriedade != dtrwPropriedade.nIdPropriedade) { if ((dtrwInserir != null) && (!bInserted)) { dataTable.Rows.Add(dtrwInserir); bInserted = true; } dtrwInserir = dataTable.NewRow(); bInserted = false; dtrwInserir[TEXT_COLUMN_IDORDEM] = dtrwPropriedade.nIdPropriedade; } //Inserindo Propriedade no Idioma System.Data.DataColumn dtclColuna = dtrwInserir.Table.Columns[GetIdioma(dtrwPropriedade.nIdIdioma)]; if (dtclColuna != null) { dtrwInserir[dtclColuna] = dtrwPropriedade.mstrDescricao; } if (nIdPropriedade != dtrwPropriedade.nIdPropriedade) { if (nIdPropriedade != -1) { dataTable.Rows.Add(dtrwInserir); bInserted = true; } nIdPropriedade = dtrwPropriedade.nIdPropriedade; } } if ((dtrwInserir != null) && (!bInserted)) { dataTable.Rows.Add(dtrwInserir); } } dgPropriedades.DataSource = dataTable; m_bDataTableEvents = true; return(true); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmFProdutosFormARE)); this.m_gbMain = new System.Windows.Forms.GroupBox(); this.m_gbDetalhesRE = new System.Windows.Forms.GroupBox(); this.m_dgFormARE = new mdlComponentesGraficos.DataGrid(); this.m_ggProdutos = new System.Windows.Forms.GroupBox(); this.m_btVincular = new System.Windows.Forms.Button(); this.m_gbProdutosVinculados = new System.Windows.Forms.GroupBox(); this.m_lvProdutosVinculados = new System.Windows.Forms.ListView(); this.m_colhNcmV = new System.Windows.Forms.ColumnHeader(); this.m_colhDescricaoV = new System.Windows.Forms.ColumnHeader(); this.m_gbREs = new System.Windows.Forms.GroupBox(); this.m_btREEditar = new System.Windows.Forms.Button(); this.m_lvREs = new System.Windows.Forms.ListView(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.m_lvProdutosNaoVinculados = new System.Windows.Forms.ListView(); this.m_colhNcm = new System.Windows.Forms.ColumnHeader(); this.m_colhDescricao = new System.Windows.Forms.ColumnHeader(); this.m_btInsereProduto = new System.Windows.Forms.Button(); this.m_btRetiraProduto = new System.Windows.Forms.Button(); this.m_btOk = new System.Windows.Forms.Button(); this.m_btCancelar = new System.Windows.Forms.Button(); this.m_gbMain.SuspendLayout(); this.m_gbDetalhesRE.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.m_dgFormARE)).BeginInit(); this.m_ggProdutos.SuspendLayout(); this.m_gbProdutosVinculados.SuspendLayout(); this.m_gbREs.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // m_gbMain // this.m_gbMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_gbMain.Controls.Add(this.m_gbDetalhesRE); this.m_gbMain.Controls.Add(this.m_ggProdutos); this.m_gbMain.Controls.Add(this.m_btOk); this.m_gbMain.Controls.Add(this.m_btCancelar); this.m_gbMain.Location = new System.Drawing.Point(7, 1); this.m_gbMain.Name = "m_gbMain"; this.m_gbMain.Size = new System.Drawing.Size(680, 528); this.m_gbMain.TabIndex = 0; this.m_gbMain.TabStop = false; // // m_gbDetalhesRE // this.m_gbDetalhesRE.Controls.Add(this.m_dgFormARE); this.m_gbDetalhesRE.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_gbDetalhesRE.Location = new System.Drawing.Point(8, 343); this.m_gbDetalhesRE.Name = "m_gbDetalhesRE"; this.m_gbDetalhesRE.Size = new System.Drawing.Size(656, 153); this.m_gbDetalhesRE.TabIndex = 19; this.m_gbDetalhesRE.TabStop = false; this.m_gbDetalhesRE.Text = "Detalhes"; // // m_dgFormARE // this.m_dgFormARE.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_dgFormARE.DataMember = ""; this.m_dgFormARE.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.m_dgFormARE.Location = new System.Drawing.Point(8, 17); this.m_dgFormARE.Name = "m_dgFormARE"; this.m_dgFormARE.Size = new System.Drawing.Size(640, 129); this.m_dgFormARE.TabIndex = 0; // // m_ggProdutos // this.m_ggProdutos.Controls.Add(this.m_btVincular); this.m_ggProdutos.Controls.Add(this.m_gbProdutosVinculados); this.m_ggProdutos.Controls.Add(this.m_gbREs); this.m_ggProdutos.Controls.Add(this.groupBox1); this.m_ggProdutos.Controls.Add(this.m_btInsereProduto); this.m_ggProdutos.Controls.Add(this.m_btRetiraProduto); this.m_ggProdutos.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_ggProdutos.Location = new System.Drawing.Point(5, 9); this.m_ggProdutos.Name = "m_ggProdutos"; this.m_ggProdutos.Size = new System.Drawing.Size(667, 359); this.m_ggProdutos.TabIndex = 18; this.m_ggProdutos.TabStop = false; // // m_btVincular // this.m_btVincular.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btVincular.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btVincular.ForeColor = System.Drawing.Color.Black; this.m_btVincular.Location = new System.Drawing.Point(511, 174); this.m_btVincular.Name = "m_btVincular"; this.m_btVincular.Size = new System.Drawing.Size(144, 24); this.m_btVincular.TabIndex = 23; this.m_btVincular.Text = "Classificação Tarifária"; this.m_btVincular.Click += new System.EventHandler(this.m_btVincular_Click); // // m_gbProdutosVinculados // this.m_gbProdutosVinculados.Controls.Add(this.m_lvProdutosVinculados); this.m_gbProdutosVinculados.Location = new System.Drawing.Point(6, 208); this.m_gbProdutosVinculados.Name = "m_gbProdutosVinculados"; this.m_gbProdutosVinculados.Size = new System.Drawing.Size(656, 128); this.m_gbProdutosVinculados.TabIndex = 2; this.m_gbProdutosVinculados.TabStop = false; this.m_gbProdutosVinculados.Text = "Produtos Vinculados ao RE "; // // m_lvProdutosVinculados // this.m_lvProdutosVinculados.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_lvProdutosVinculados.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.m_colhNcmV, this.m_colhDescricaoV }); this.m_lvProdutosVinculados.FullRowSelect = true; this.m_lvProdutosVinculados.HideSelection = false; this.m_lvProdutosVinculados.Location = new System.Drawing.Point(8, 16); this.m_lvProdutosVinculados.Name = "m_lvProdutosVinculados"; this.m_lvProdutosVinculados.Size = new System.Drawing.Size(640, 104); this.m_lvProdutosVinculados.TabIndex = 0; this.m_lvProdutosVinculados.View = System.Windows.Forms.View.Details; // // m_colhNcmV // this.m_colhNcmV.Text = "Ncm"; this.m_colhNcmV.Width = 88; // // m_colhDescricaoV // this.m_colhDescricaoV.Text = "Descrição"; this.m_colhDescricaoV.Width = 543; // // m_gbREs // this.m_gbREs.Controls.Add(this.m_btREEditar); this.m_gbREs.Controls.Add(this.m_lvREs); this.m_gbREs.Location = new System.Drawing.Point(8, 8); this.m_gbREs.Name = "m_gbREs"; this.m_gbREs.Size = new System.Drawing.Size(160, 152); this.m_gbREs.TabIndex = 1; this.m_gbREs.TabStop = false; this.m_gbREs.Text = "RE\'s"; // // m_btREEditar // this.m_btREEditar.BackColor = System.Drawing.SystemColors.Control; this.m_btREEditar.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btREEditar.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btREEditar.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btREEditar.Image = ((System.Drawing.Image)(resources.GetObject("m_btREEditar.Image"))); this.m_btREEditar.Location = new System.Drawing.Point(66, 10); this.m_btREEditar.Name = "m_btREEditar"; this.m_btREEditar.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btREEditar.Size = new System.Drawing.Size(25, 25); this.m_btREEditar.TabIndex = 23; this.m_btREEditar.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.m_btREEditar.Click += new System.EventHandler(this.m_btREEditar_Click); // // m_lvREs // this.m_lvREs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_lvREs.HideSelection = false; this.m_lvREs.Location = new System.Drawing.Point(8, 40); this.m_lvREs.Name = "m_lvREs"; this.m_lvREs.Size = new System.Drawing.Size(144, 104); this.m_lvREs.TabIndex = 0; this.m_lvREs.View = System.Windows.Forms.View.List; this.m_lvREs.DoubleClick += new System.EventHandler(this.m_lvREs_DoubleClick); this.m_lvREs.SelectedIndexChanged += new System.EventHandler(this.m_lvREs_SelectedIndexChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.m_lvProdutosNaoVinculados); this.groupBox1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.groupBox1.Location = new System.Drawing.Point(176, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(480, 152); this.groupBox1.TabIndex = 20; this.groupBox1.TabStop = false; this.groupBox1.Text = "Produtos nao Vinculados"; // // m_lvProdutosNaoVinculados // this.m_lvProdutosNaoVinculados.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_lvProdutosNaoVinculados.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.m_colhNcm, this.m_colhDescricao }); this.m_lvProdutosNaoVinculados.FullRowSelect = true; this.m_lvProdutosNaoVinculados.HideSelection = false; this.m_lvProdutosNaoVinculados.Location = new System.Drawing.Point(8, 16); this.m_lvProdutosNaoVinculados.Name = "m_lvProdutosNaoVinculados"; this.m_lvProdutosNaoVinculados.Size = new System.Drawing.Size(464, 128); this.m_lvProdutosNaoVinculados.TabIndex = 0; this.m_lvProdutosNaoVinculados.View = System.Windows.Forms.View.Details; // // m_colhNcm // this.m_colhNcm.Text = "Ncm"; this.m_colhNcm.Width = 86; // // m_colhDescricao // this.m_colhDescricao.Text = "Descrição"; this.m_colhDescricao.Width = 365; // // m_btInsereProduto // this.m_btInsereProduto.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btInsereProduto.Image = ((System.Drawing.Image)(resources.GetObject("m_btInsereProduto.Image"))); this.m_btInsereProduto.Location = new System.Drawing.Point(105, 166); this.m_btInsereProduto.Name = "m_btInsereProduto"; this.m_btInsereProduto.Size = new System.Drawing.Size(60, 40); this.m_btInsereProduto.TabIndex = 21; this.m_btInsereProduto.Click += new System.EventHandler(this.m_btInsereProduto_Click); // // m_btRetiraProduto // this.m_btRetiraProduto.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btRetiraProduto.Image = ((System.Drawing.Image)(resources.GetObject("m_btRetiraProduto.Image"))); this.m_btRetiraProduto.Location = new System.Drawing.Point(177, 166); this.m_btRetiraProduto.Name = "m_btRetiraProduto"; this.m_btRetiraProduto.Size = new System.Drawing.Size(60, 40); this.m_btRetiraProduto.TabIndex = 22; this.m_btRetiraProduto.Click += new System.EventHandler(this.m_btRetiraProduto_Click); // // m_btOk // this.m_btOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.m_btOk.BackColor = System.Drawing.SystemColors.Control; this.m_btOk.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btOk.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btOk.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btOk.Image = ((System.Drawing.Image)(resources.GetObject("m_btOk.Image"))); this.m_btOk.Location = new System.Drawing.Point(279, 497); this.m_btOk.Name = "m_btOk"; this.m_btOk.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btOk.Size = new System.Drawing.Size(57, 25); this.m_btOk.TabIndex = 16; this.m_btOk.Click += new System.EventHandler(this.m_btOk_Click); // // m_btCancelar // this.m_btCancelar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.m_btCancelar.BackColor = System.Drawing.SystemColors.Control; this.m_btCancelar.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btCancelar.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btCancelar.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btCancelar.Image = ((System.Drawing.Image)(resources.GetObject("m_btCancelar.Image"))); this.m_btCancelar.Location = new System.Drawing.Point(343, 497); this.m_btCancelar.Name = "m_btCancelar"; this.m_btCancelar.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btCancelar.Size = new System.Drawing.Size(57, 25); this.m_btCancelar.TabIndex = 17; this.m_btCancelar.Click += new System.EventHandler(this.m_btCancelar_Click); // // frmFProdutosFormARE // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(694, 536); this.Controls.Add(this.m_gbMain); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmFProdutosFormARE"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Form A"; this.Load += new System.EventHandler(this.frmFProdutosFormARE_Load); this.m_gbMain.ResumeLayout(false); this.m_gbDetalhesRE.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.m_dgFormARE)).EndInit(); this.m_ggProdutos.ResumeLayout(false); this.m_gbProdutosVinculados.ResumeLayout(false); this.m_gbREs.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmFQuantidades)); this.m_gbFrame = new System.Windows.Forms.GroupBox(); this.m_btTrocarCor = new System.Windows.Forms.Button(); this.m_btOk = new System.Windows.Forms.Button(); this.m_btCancelar = new System.Windows.Forms.Button(); this.m_gbFields = new System.Windows.Forms.GroupBox(); this.m_dgValores = new mdlComponentesGraficos.DataGrid(); this.m_ttDocumentos = new System.Windows.Forms.ToolTip(this.components); this.m_gbFrame.SuspendLayout(); this.m_gbFields.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.m_dgValores)).BeginInit(); this.SuspendLayout(); // // m_gbFrame // this.m_gbFrame.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_gbFrame.Controls.Add(this.m_btTrocarCor); this.m_gbFrame.Controls.Add(this.m_btOk); this.m_gbFrame.Controls.Add(this.m_btCancelar); this.m_gbFrame.Controls.Add(this.m_gbFields); this.m_gbFrame.Location = new System.Drawing.Point(2, 0); this.m_gbFrame.Name = "m_gbFrame"; this.m_gbFrame.Size = new System.Drawing.Size(690, 277); this.m_gbFrame.TabIndex = 0; this.m_gbFrame.TabStop = false; // // m_btTrocarCor // this.m_btTrocarCor.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(64)), ((System.Byte)(0))); this.m_btTrocarCor.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btTrocarCor.Location = new System.Drawing.Point(4, 10); this.m_btTrocarCor.Name = "m_btTrocarCor"; this.m_btTrocarCor.Size = new System.Drawing.Size(4, 4); this.m_btTrocarCor.TabIndex = 5; this.m_ttDocumentos.SetToolTip(this.m_btTrocarCor, "Cor"); this.m_btTrocarCor.Click += new System.EventHandler(this.m_btTrocarCor_Click); // // m_btOk // this.m_btOk.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.m_btOk.BackColor = System.Drawing.SystemColors.Control; this.m_btOk.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btOk.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btOk.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btOk.Image = ((System.Drawing.Image)(resources.GetObject("m_btOk.Image"))); this.m_btOk.Location = new System.Drawing.Point(285, 246); this.m_btOk.Name = "m_btOk"; this.m_btOk.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btOk.Size = new System.Drawing.Size(57, 25); this.m_btOk.TabIndex = 3; this.m_ttDocumentos.SetToolTip(this.m_btOk, "Confirmar"); this.m_btOk.Click += new System.EventHandler(this.m_btOk_Click); // // m_btCancelar // this.m_btCancelar.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.m_btCancelar.BackColor = System.Drawing.SystemColors.Control; this.m_btCancelar.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btCancelar.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btCancelar.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btCancelar.Image = ((System.Drawing.Image)(resources.GetObject("m_btCancelar.Image"))); this.m_btCancelar.Location = new System.Drawing.Point(349, 246); this.m_btCancelar.Name = "m_btCancelar"; this.m_btCancelar.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btCancelar.Size = new System.Drawing.Size(57, 25); this.m_btCancelar.TabIndex = 4; this.m_ttDocumentos.SetToolTip(this.m_btCancelar, "Cancelar"); this.m_btCancelar.Click += new System.EventHandler(this.m_btCancelar_Click); // // m_gbFields // this.m_gbFields.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_gbFields.Controls.Add(this.m_dgValores); this.m_gbFields.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_gbFields.Location = new System.Drawing.Point(8, 8); this.m_gbFields.Name = "m_gbFields"; this.m_gbFields.Size = new System.Drawing.Size(674, 233); this.m_gbFields.TabIndex = 0; this.m_gbFields.TabStop = false; this.m_gbFields.Text = "Identificar e quantificar"; // // m_dgValores // this.m_dgValores.AcceptsEnter = false; this.m_dgValores.AcceptsTab = false; this.m_dgValores.AllowSorting = false; this.m_dgValores.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_dgValores.BackgroundColor = System.Drawing.SystemColors.ControlLightLight; this.m_dgValores.BorderStyle = System.Windows.Forms.BorderStyle.None; this.m_dgValores.CaptionBackColor = System.Drawing.SystemColors.Control; this.m_dgValores.CaptionFont = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_dgValores.CaptionForeColor = System.Drawing.SystemColors.ControlText; this.m_dgValores.CaptionText = "Valores"; this.m_dgValores.CaptionVisible = false; this.m_dgValores.DataMember = ""; this.m_dgValores.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_dgValores.HeaderBackColor = System.Drawing.SystemColors.ControlText; this.m_dgValores.HeaderForeColor = System.Drawing.SystemColors.ControlLightLight; this.m_dgValores.Location = new System.Drawing.Point(8, 19); this.m_dgValores.Name = "m_dgValores"; this.m_dgValores.PreferredColumnWidth = 50; this.m_dgValores.RowHeadersVisible = false; this.m_dgValores.RowHeaderWidth = 0; this.m_dgValores.Size = new System.Drawing.Size(658, 202); this.m_dgValores.SortedColumnAscendent = false; this.m_dgValores.TabIndex = 0; this.m_ttDocumentos.SetToolTip(this.m_dgValores, "Identificar e Quantificar"); this.m_dgValores.KeyUp += new System.Windows.Forms.KeyEventHandler(this.m_dgValores_KeyUp); this.m_dgValores.CurrentCellChanged += new System.EventHandler(this.m_dgValores_CurrentCellChanged); // // m_ttDocumentos // this.m_ttDocumentos.AutomaticDelay = 100; this.m_ttDocumentos.AutoPopDelay = 5000; this.m_ttDocumentos.InitialDelay = 100; this.m_ttDocumentos.ReshowDelay = 20; // // frmFQuantidades // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(694, 279); this.Controls.Add(this.m_gbFrame); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmFQuantidades"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Documentos"; this.Load += new System.EventHandler(this.frmFQuantidades_Load); this.m_gbFrame.ResumeLayout(false); this.m_gbFields.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.m_dgValores)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmFPropriedades)); this.m_gbMain = new System.Windows.Forms.GroupBox(); this.m_gbPropriedades = new System.Windows.Forms.GroupBox(); this.m_dgPropriedades = new mdlComponentesGraficos.DataGrid(); this.m_btOk = new System.Windows.Forms.Button(); this.m_btCancelar = new System.Windows.Forms.Button(); this.m_gbMain.SuspendLayout(); this.m_gbPropriedades.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.m_dgPropriedades)).BeginInit(); this.SuspendLayout(); // // m_gbMain // this.m_gbMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_gbMain.Controls.Add(this.m_gbPropriedades); this.m_gbMain.Controls.Add(this.m_btOk); this.m_gbMain.Controls.Add(this.m_btCancelar); this.m_gbMain.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_gbMain.Location = new System.Drawing.Point(4, -1); this.m_gbMain.Name = "m_gbMain"; this.m_gbMain.Size = new System.Drawing.Size(687, 367); this.m_gbMain.TabIndex = 0; this.m_gbMain.TabStop = false; // // m_gbPropriedades // this.m_gbPropriedades.Controls.Add(this.m_dgPropriedades); this.m_gbPropriedades.Location = new System.Drawing.Point(8, 8); this.m_gbPropriedades.Name = "m_gbPropriedades"; this.m_gbPropriedades.Size = new System.Drawing.Size(673, 320); this.m_gbPropriedades.TabIndex = 8; this.m_gbPropriedades.TabStop = false; this.m_gbPropriedades.Text = "Propriedades"; // // m_dgPropriedades // this.m_dgPropriedades.AcceptsEnter = false; this.m_dgPropriedades.AcceptsTab = false; this.m_dgPropriedades.DataMember = ""; this.m_dgPropriedades.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.m_dgPropriedades.Location = new System.Drawing.Point(8, 16); this.m_dgPropriedades.Name = "m_dgPropriedades"; this.m_dgPropriedades.Size = new System.Drawing.Size(656, 296); this.m_dgPropriedades.TabIndex = 0; // // m_btOk // this.m_btOk.BackColor = System.Drawing.SystemColors.Control; this.m_btOk.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btOk.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btOk.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btOk.Image = ((System.Drawing.Image)(resources.GetObject("m_btOk.Image"))); this.m_btOk.Location = new System.Drawing.Point(282, 334); this.m_btOk.Name = "m_btOk"; this.m_btOk.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btOk.Size = new System.Drawing.Size(57, 25); this.m_btOk.TabIndex = 6; this.m_btOk.Click += new System.EventHandler(this.m_btOk_Click); // // m_btCancelar // this.m_btCancelar.BackColor = System.Drawing.SystemColors.Control; this.m_btCancelar.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btCancelar.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btCancelar.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btCancelar.Image = ((System.Drawing.Image)(resources.GetObject("m_btCancelar.Image"))); this.m_btCancelar.Location = new System.Drawing.Point(346, 334); this.m_btCancelar.Name = "m_btCancelar"; this.m_btCancelar.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btCancelar.Size = new System.Drawing.Size(57, 25); this.m_btCancelar.TabIndex = 7; this.m_btCancelar.Click += new System.EventHandler(this.m_btCancelar_Click); // // frmFPropriedades // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(694, 368); this.Controls.Add(this.m_gbMain); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmFPropriedades"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Propriedades Dinâmicas"; this.Load += new System.EventHandler(this.frmFPropriedades_Load); this.m_gbMain.ResumeLayout(false); this.m_gbPropriedades.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.m_dgPropriedades)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmFProdutosFormA)); this.m_gbMain = new System.Windows.Forms.GroupBox(); this.m_btRetiraProduto = new System.Windows.Forms.Button(); this.m_btInsereProduto = new System.Windows.Forms.Button(); this.m_gbProdutosCertificado = new System.Windows.Forms.GroupBox(); this.m_btProdutoAcima = new System.Windows.Forms.Button(); this.m_btProdutoAbaixo = new System.Windows.Forms.Button(); this.m_dgProdutosFormA = new mdlComponentesGraficos.DataGrid(); this.m_gbProdutosFatura = new System.Windows.Forms.GroupBox(); this.m_lvProdutosFatura = new System.Windows.Forms.ListView(); this.m_colhOrdem = new System.Windows.Forms.ColumnHeader(); this.m_colhCodigo = new System.Windows.Forms.ColumnHeader(); this.m_colhDescricao = new System.Windows.Forms.ColumnHeader(); this.m_btOk = new System.Windows.Forms.Button(); this.m_btCancelar = new System.Windows.Forms.Button(); this.m_btVincular = new System.Windows.Forms.Button(); this.m_gbMain.SuspendLayout(); this.m_gbProdutosCertificado.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.m_dgProdutosFormA)).BeginInit(); this.m_gbProdutosFatura.SuspendLayout(); this.SuspendLayout(); // // m_gbMain // this.m_gbMain.Controls.Add(this.m_btVincular); this.m_gbMain.Controls.Add(this.m_btRetiraProduto); this.m_gbMain.Controls.Add(this.m_btInsereProduto); this.m_gbMain.Controls.Add(this.m_gbProdutosCertificado); this.m_gbMain.Controls.Add(this.m_gbProdutosFatura); this.m_gbMain.Controls.Add(this.m_btOk); this.m_gbMain.Controls.Add(this.m_btCancelar); this.m_gbMain.Location = new System.Drawing.Point(4, -1); this.m_gbMain.Name = "m_gbMain"; this.m_gbMain.Size = new System.Drawing.Size(684, 513); this.m_gbMain.TabIndex = 0; this.m_gbMain.TabStop = false; // // m_btRetiraProduto // this.m_btRetiraProduto.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btRetiraProduto.Image = ((System.Drawing.Image)(resources.GetObject("m_btRetiraProduto.Image"))); this.m_btRetiraProduto.Location = new System.Drawing.Point(349, 212); this.m_btRetiraProduto.Name = "m_btRetiraProduto"; this.m_btRetiraProduto.Size = new System.Drawing.Size(60, 40); this.m_btRetiraProduto.TabIndex = 17; this.m_btRetiraProduto.Click += new System.EventHandler(this.m_btRetiraProduto_Click); // // m_btInsereProduto // this.m_btInsereProduto.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btInsereProduto.Image = ((System.Drawing.Image)(resources.GetObject("m_btInsereProduto.Image"))); this.m_btInsereProduto.Location = new System.Drawing.Point(277, 212); this.m_btInsereProduto.Name = "m_btInsereProduto"; this.m_btInsereProduto.Size = new System.Drawing.Size(60, 40); this.m_btInsereProduto.TabIndex = 16; this.m_btInsereProduto.Click += new System.EventHandler(this.m_btInsereProduto_Click); // // m_gbProdutosCertificado // this.m_gbProdutosCertificado.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_gbProdutosCertificado.Controls.Add(this.m_btProdutoAcima); this.m_gbProdutosCertificado.Controls.Add(this.m_btProdutoAbaixo); this.m_gbProdutosCertificado.Controls.Add(this.m_dgProdutosFormA); this.m_gbProdutosCertificado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_gbProdutosCertificado.Location = new System.Drawing.Point(8, 256); this.m_gbProdutosCertificado.Name = "m_gbProdutosCertificado"; this.m_gbProdutosCertificado.Size = new System.Drawing.Size(672, 224); this.m_gbProdutosCertificado.TabIndex = 15; this.m_gbProdutosCertificado.TabStop = false; this.m_gbProdutosCertificado.Text = "Produtos Form A"; // // m_btProdutoAcima // this.m_btProdutoAcima.BackColor = System.Drawing.SystemColors.Control; this.m_btProdutoAcima.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btProdutoAcima.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btProdutoAcima.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btProdutoAcima.Image = ((System.Drawing.Image)(resources.GetObject("m_btProdutoAcima.Image"))); this.m_btProdutoAcima.Location = new System.Drawing.Point(5, 77); this.m_btProdutoAcima.Name = "m_btProdutoAcima"; this.m_btProdutoAcima.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btProdutoAcima.Size = new System.Drawing.Size(25, 25); this.m_btProdutoAcima.TabIndex = 62; this.m_btProdutoAcima.Click += new System.EventHandler(this.m_btProdutoAcima_Click); // // m_btProdutoAbaixo // this.m_btProdutoAbaixo.BackColor = System.Drawing.SystemColors.Control; this.m_btProdutoAbaixo.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btProdutoAbaixo.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btProdutoAbaixo.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btProdutoAbaixo.Image = ((System.Drawing.Image)(resources.GetObject("m_btProdutoAbaixo.Image"))); this.m_btProdutoAbaixo.Location = new System.Drawing.Point(5, 106); this.m_btProdutoAbaixo.Name = "m_btProdutoAbaixo"; this.m_btProdutoAbaixo.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btProdutoAbaixo.Size = new System.Drawing.Size(25, 25); this.m_btProdutoAbaixo.TabIndex = 63; this.m_btProdutoAbaixo.Click += new System.EventHandler(this.m_btProdutoAbaixo_Click); // // m_dgProdutosFormA // this.m_dgProdutosFormA.CaptionBackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(192)), ((System.Byte)(0))); this.m_dgProdutosFormA.DataMember = ""; this.m_dgProdutosFormA.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.m_dgProdutosFormA.Location = new System.Drawing.Point(32, 16); this.m_dgProdutosFormA.Name = "m_dgProdutosFormA"; this.m_dgProdutosFormA.Size = new System.Drawing.Size(632, 200); this.m_dgProdutosFormA.TabIndex = 0; // // m_gbProdutosFatura // this.m_gbProdutosFatura.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_gbProdutosFatura.Controls.Add(this.m_lvProdutosFatura); this.m_gbProdutosFatura.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_gbProdutosFatura.Location = new System.Drawing.Point(6, 8); this.m_gbProdutosFatura.Name = "m_gbProdutosFatura"; this.m_gbProdutosFatura.Size = new System.Drawing.Size(673, 200); this.m_gbProdutosFatura.TabIndex = 14; this.m_gbProdutosFatura.TabStop = false; this.m_gbProdutosFatura.Text = "Produtos Fatura Comercial"; // // m_lvProdutosFatura // this.m_lvProdutosFatura.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.m_lvProdutosFatura.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.m_colhOrdem, this.m_colhCodigo, this.m_colhDescricao }); this.m_lvProdutosFatura.FullRowSelect = true; this.m_lvProdutosFatura.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.m_lvProdutosFatura.HideSelection = false; this.m_lvProdutosFatura.Location = new System.Drawing.Point(8, 16); this.m_lvProdutosFatura.Name = "m_lvProdutosFatura"; this.m_lvProdutosFatura.Size = new System.Drawing.Size(656, 176); this.m_lvProdutosFatura.TabIndex = 0; this.m_lvProdutosFatura.View = System.Windows.Forms.View.Details; this.m_lvProdutosFatura.DoubleClick += new System.EventHandler(this.m_lvProdutosFatura_DoubleClick); // // m_colhOrdem // this.m_colhOrdem.Text = "Ordem"; this.m_colhOrdem.Width = 73; // // m_colhCodigo // this.m_colhCodigo.Text = "Código"; this.m_colhCodigo.Width = 122; // // m_colhDescricao // this.m_colhDescricao.Text = "Descrição"; this.m_colhDescricao.Width = 432; // // m_btOk // this.m_btOk.BackColor = System.Drawing.SystemColors.Control; this.m_btOk.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btOk.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btOk.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btOk.Image = ((System.Drawing.Image)(resources.GetObject("m_btOk.Image"))); this.m_btOk.Location = new System.Drawing.Point(282, 483); this.m_btOk.Name = "m_btOk"; this.m_btOk.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btOk.Size = new System.Drawing.Size(57, 25); this.m_btOk.TabIndex = 12; this.m_btOk.Click += new System.EventHandler(this.m_btOk_Click); // // m_btCancelar // this.m_btCancelar.BackColor = System.Drawing.SystemColors.Control; this.m_btCancelar.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btCancelar.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btCancelar.ForeColor = System.Drawing.SystemColors.ControlText; this.m_btCancelar.Image = ((System.Drawing.Image)(resources.GetObject("m_btCancelar.Image"))); this.m_btCancelar.Location = new System.Drawing.Point(346, 483); this.m_btCancelar.Name = "m_btCancelar"; this.m_btCancelar.RightToLeft = System.Windows.Forms.RightToLeft.No; this.m_btCancelar.Size = new System.Drawing.Size(57, 25); this.m_btCancelar.TabIndex = 13; this.m_btCancelar.Click += new System.EventHandler(this.m_btCancelar_Click); // // m_btVincular // this.m_btVincular.Cursor = System.Windows.Forms.Cursors.Hand; this.m_btVincular.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.m_btVincular.Location = new System.Drawing.Point(43, 221); this.m_btVincular.Name = "m_btVincular"; this.m_btVincular.Size = new System.Drawing.Size(144, 24); this.m_btVincular.TabIndex = 18; this.m_btVincular.Text = "Classificação Tarifária"; this.m_btVincular.Visible = false; // // frmFProdutosFormA // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(694, 518); this.Controls.Add(this.m_gbMain); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmFProdutosFormA"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Produtos Form A"; this.Load += new System.EventHandler(this.frmFProdutosFormA_Load); this.m_gbMain.ResumeLayout(false); this.m_gbProdutosCertificado.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.m_dgProdutosFormA)).EndInit(); this.m_gbProdutosFatura.ResumeLayout(false); this.ResumeLayout(false); }