protected override void vRefreshProdutosAssociados(ref mdlComponentesGraficos.TreeView tvProdutosAssociados)
        {
            tvProdutosAssociados.Nodes.Clear();
            System.Windows.Forms.TreeNode tvnNorma         = null;
            System.Windows.Forms.TreeNode tvnClassificacao = null;
            System.Windows.Forms.TreeNode tvnProduto       = null;

            // Produtos Certificado
            System.Collections.ArrayList arlProdutosCertificado = arlProdutosCertificadoOrigem();

            // Ordenamento
            System.Collections.SortedList sortProdutosCertificado = new System.Collections.SortedList(new mdlComponentesColecoes.clsComparerNumbersTexts());
            for (int i = 0; i < arlProdutosCertificado.Count; i++)
            {
                mdlDataBaseAccess.Tabelas.XsdTbProdutosCertificadoOrigem.tbProdutosCertificadoOrigemRow dtrwProdutoCertificado = (mdlDataBaseAccess.Tabelas.XsdTbProdutosCertificadoOrigem.tbProdutosCertificadoOrigemRow)arlProdutosCertificado[i];
                if (dtrwProdutoCertificado.RowState != System.Data.DataRowState.Deleted)
                {
                    if (!sortProdutosCertificado.ContainsKey(dtrwProdutoCertificado.idOrdem))
                    {
                        sortProdutosCertificado.Add(dtrwProdutoCertificado.idOrdem, dtrwProdutoCertificado.idOrdem);
                    }
                }
            }

            // Inserindo
            string strNormaUltima         = "";
            string strClassificacaoUltima = "";

            for (int i = 0; i < sortProdutosCertificado.Count; i++)
            {
                int nIdOrdem = (int)sortProdutosCertificado.GetByIndex(i);
                for (int j = 0; j < arlProdutosCertificado.Count; j++)
                {
                    mdlDataBaseAccess.Tabelas.XsdTbProdutosCertificadoOrigem.tbProdutosCertificadoOrigemRow dtrwProdutoCertificado = (mdlDataBaseAccess.Tabelas.XsdTbProdutosCertificadoOrigem.tbProdutosCertificadoOrigemRow)arlProdutosCertificado[j];
                    if ((dtrwProdutoCertificado.RowState != System.Data.DataRowState.Deleted) && (dtrwProdutoCertificado.idOrdem == nIdOrdem))
                    {
                        // Norma
                        string strNorma = strRetornaNorma(dtrwProdutoCertificado.idNorma);
                        if (!dtrwProdutoCertificado.IsmstrNormaNull())
                        {
                            strNorma = dtrwProdutoCertificado.mstrNorma;
                        }
                        if (strNorma != strNormaUltima)
                        {
                            tvnNorma               = tvProdutosAssociados.Nodes.Add(strNorma);
                            tvnNorma.Tag           = dtrwProdutoCertificado.idNorma;
                            strNormaUltima         = strNorma;
                            strClassificacaoUltima = "";
                        }
                        // Classificacao
                        string strClassificacao = strRetornaClassificacao(dtrwProdutoCertificado.idOrdemProduto);

                        // Denominacao
                        string strDenominacao = "";
                        if (!dtrwProdutoCertificado.IsmstrDenominacaoNull())
                        {
                            strDenominacao = dtrwProdutoCertificado.mstrDenominacao;
                        }
                        else
                        {
                            strDenominacao = strRetornaDenominacao(dtrwProdutoCertificado.idOrdemProduto);
                        }

                        if (strClassificacao != strClassificacaoUltima)
                        {
                            tvnClassificacao       = tvnNorma.Nodes.Add(strClassificacao + " " + strDenominacao);
                            tvnClassificacao.Tag   = strClassificacao;
                            strClassificacaoUltima = strClassificacao;
                        }

                        // Descricao
                        string strDescricao = "";
                        if (!dtrwProdutoCertificado.IsmstrDescricaoNull())
                        {
                            strDescricao = dtrwProdutoCertificado.mstrDescricao;
                        }
                        else
                        {
                            strDescricao = strRetornaDescricaoProduto(dtrwProdutoCertificado.idOrdemProduto);
                        }
                        if (tvnClassificacao == null)
                        {
                            tvnClassificacao     = tvnNorma.Nodes.Add(strClassificacao + " " + strDenominacao);
                            tvnClassificacao.Tag = strClassificacao;
                        }
                        tvnProduto     = tvnClassificacao.Nodes.Add(strDescricao);
                        tvnProduto.Tag = dtrwProdutoCertificado.idOrdemProduto;
                    }
                }
            }
        }
        protected override void vRefreshProdutosAssociados(ref mdlComponentesGraficos.TreeView tvProdutosAssociados)
        {
            tvProdutosAssociados.Nodes.Clear();
            System.Windows.Forms.TreeNode tvnClassificacao;
            System.Windows.Forms.TreeNode tvnProduto;

            // Produtos Certificado
            System.Collections.ArrayList arlProdutosCertificado = arlProdutosCertificadoOrigem();

            // Classificacao - Ordenamento
            System.Collections.SortedList sortListClassificacao = new System.Collections.SortedList();
            for (int j = 0; j < arlProdutosCertificado.Count; j++)
            {
                mdlDataBaseAccess.Tabelas.XsdTbProdutosCertificadoOrigem.tbProdutosCertificadoOrigemRow dtrwProdutoCertificado = (mdlDataBaseAccess.Tabelas.XsdTbProdutosCertificadoOrigem.tbProdutosCertificadoOrigemRow)arlProdutosCertificado[j];
                if (dtrwProdutoCertificado.RowState != System.Data.DataRowState.Deleted)
                {
                    // Classificacao
                    string strClassificacao = strRetornaClassificacao(dtrwProdutoCertificado.idOrdemProduto);

                    // Denominacao
                    string strDenominacao = "";
                    if (!dtrwProdutoCertificado.IsmstrDenominacaoNull())
                    {
                        strDenominacao = dtrwProdutoCertificado.mstrDenominacao;
                    }
                    else
                    {
                        strDenominacao = strRetornaDenominacao(dtrwProdutoCertificado.idOrdemProduto);
                    }
                    if (!sortListClassificacao.ContainsKey(strClassificacao + strDenominacao))
                    {
                        sortListClassificacao.Add(strClassificacao + strDenominacao, strClassificacao);
                    }
                }
            }

            // Classificacao - Insercao
            for (int j = 0; j < sortListClassificacao.Count; j++)
            {
                string strClassificacaoDenominacao = sortListClassificacao.GetKey(j).ToString();
                string strClassificacao            = sortListClassificacao.GetByIndex(j).ToString();
                string strDenominacao = strClassificacaoDenominacao.Substring(strClassificacao.Length);
                tvnClassificacao     = tvProdutosAssociados.Nodes.Add(strClassificacao + " : " + strDenominacao);
                tvnClassificacao.Tag = strClassificacao;

                // Produtos - Ordenamento
                System.Collections.SortedList sortListProdutos = new System.Collections.SortedList();
                for (int k = 0; k < arlProdutosCertificado.Count; k++)
                {
                    mdlDataBaseAccess.Tabelas.XsdTbProdutosCertificadoOrigem.tbProdutosCertificadoOrigemRow dtrwProdutoCertificado = (mdlDataBaseAccess.Tabelas.XsdTbProdutosCertificadoOrigem.tbProdutosCertificadoOrigemRow)arlProdutosCertificado[k];
                    if (dtrwProdutoCertificado.RowState != System.Data.DataRowState.Deleted)
                    {
                        string strClassificacaoProduto = strRetornaClassificacao(dtrwProdutoCertificado.idOrdemProduto);
                        if (strClassificacaoProduto == strClassificacao)
                        {
                            string strDescricao = "";
                            if (!dtrwProdutoCertificado.IsmstrDescricaoNull())
                            {
                                strDescricao = dtrwProdutoCertificado.mstrDescricao;
                            }
                            else
                            {
                                strDescricao = strRetornaDescricaoProduto(dtrwProdutoCertificado.idOrdemProduto);
                            }
                            if (strDescricao != "")
                            {
                                if (!sortListProdutos.ContainsKey(strDescricao))
                                {
                                    sortListProdutos.Add(strDescricao, dtrwProdutoCertificado.idOrdemProduto);
                                }
                            }
                        }
                    }
                }

                // Produtos - Insercao
                for (int k = 0; k < sortListProdutos.Count; k++)
                {
                    string strDescricaoProduto = sortListProdutos.GetKey(k).ToString();
                    tvnProduto     = tvnClassificacao.Nodes.Add(strDescricaoProduto);
                    tvnProduto.Tag = sortListProdutos.GetByIndex(k).ToString();
                }
            }
        }
        private void vRefreshProdutos(ref mdlComponentesGraficos.TreeView tvProdutos)
        {
            tvProdutos.Nodes.Clear();
            System.Collections.ArrayList arlProdutosNaoAssociados = arlProdutosFaturaNaoAssociadosCertificados();

            // Classificacao Ordenando
            string strClassificacao = "";
            string strDenominacao   = "";

            System.Collections.SortedList sortLstClassificacao = new System.Collections.SortedList();
            for (int i = 0; i < arlProdutosNaoAssociados.Count; i++)
            {
                mdlDataBaseAccess.Tabelas.XsdTbProdutosFaturaComercial.tbProdutosFaturaComercialRow dtrwProdutoFatura = (mdlDataBaseAccess.Tabelas.XsdTbProdutosFaturaComercial.tbProdutosFaturaComercialRow)arlProdutosNaoAssociados[i];
                mdlDataBaseAccess.Tabelas.XsdTbProdutos.tbProdutosRow dtrwProduto = m_typDatSetTbProdutos.tbProdutos.FindByidExportadoridProduto(m_nIdExportador, dtrwProdutoFatura.idProduto);
                if ((dtrwProdutoFatura != null) && (dtrwProdutoFatura.IsnIdOrdemProdutoParentNull() || dtrwProdutoFatura.nIdOrdemProdutoParent == 0) && (dtrwProduto != null))
                {
                    switch (m_enumClassificacao)
                    {
                    case Classificacao.Ncm:
                        if (!dtrwProdutoFatura.IsstrNcmNull())
                        {
                            strClassificacao = dtrwProdutoFatura.strNcm;
                        }
                        else if (!dtrwProduto.IsstrNcmNull())
                        {
                            strClassificacao = dtrwProduto.strNcm;
                        }
                        else
                        {
                            strClassificacao = "";
                        }
                        if (!dtrwProdutoFatura.IsmstrNcmDenominacaoNull())
                        {
                            strDenominacao = dtrwProdutoFatura.mstrNcmDenominacao;
                        }
                        else
                        {
                            mdlDataBaseAccess.Tabelas.XsdTbProdutosNcm.tbProdutosNcmRow dtrwNcm = m_typDatSetTbProdutosNcm.tbProdutosNcm.FindBynIdExportadorstrNcm(m_nIdExportador, strClassificacao);
                            if (dtrwNcm != null)
                            {
                                strDenominacao = dtrwNcm.mstrDenominacao;
                            }
                            else
                            {
                                strDenominacao = "";
                            }
                        }
                        if (strClassificacao != "")
                        {
                            if (!sortLstClassificacao.ContainsKey(strClassificacao + strDenominacao))
                            {
                                sortLstClassificacao.Add(strClassificacao + strDenominacao, strClassificacao);
                            }
                        }
                        break;

                    case Classificacao.Naladi:
                        if (!dtrwProdutoFatura.IsstrNaladiNull())
                        {
                            strClassificacao = dtrwProdutoFatura.strNaladi;
                        }
                        else if (!dtrwProduto.IsstrNaladiNull())
                        {
                            strClassificacao = dtrwProduto.strNaladi;
                        }
                        else
                        {
                            strClassificacao = "";
                        }
                        if (!dtrwProdutoFatura.IsmstrNaladiDenominacaoNull())
                        {
                            strDenominacao = dtrwProdutoFatura.mstrNaladiDenominacao;
                        }
                        else
                        {
                            mdlDataBaseAccess.Tabelas.XsdTbProdutosNaladi.tbProdutosNaladiRow dtrwNaladi = m_typDatSetTbProdutosNaladi.tbProdutosNaladi.FindBynIdExportadorstrNaladi(m_nIdExportador, strClassificacao);
                            if (dtrwNaladi != null)
                            {
                                strDenominacao = dtrwNaladi.mstrDenominacao;
                            }
                            else
                            {
                                strDenominacao = "";
                            }
                        }
                        if (strClassificacao != "")
                        {
                            if (!sortLstClassificacao.ContainsKey(strClassificacao + strDenominacao))
                            {
                                sortLstClassificacao.Add(strClassificacao + strDenominacao, strClassificacao);
                            }
                        }
                        break;
                    }
                }
            }

            // Classificacao Inserindo
            string strClassificacaoProduto, strDenominacaoProduto;

            for (int i = 0; i < sortLstClassificacao.Count; i++)
            {
                string strClassificacaoDenominacao = sortLstClassificacao.GetKey(i).ToString();
                strClassificacao = sortLstClassificacao.GetByIndex(i).ToString();
                strDenominacao   = strClassificacaoDenominacao.Substring(strClassificacao.Length);

                System.Windows.Forms.TreeNode tvnClassificacao = tvProdutos.Nodes.Add(strClassificacao + " " + strDenominacao);
                System.Windows.Forms.TreeNode tvnProduto       = null;
                tvnClassificacao.Tag = strClassificacao;

                // Produtos Inserindo
                for (int j = 0; j < arlProdutosNaoAssociados.Count; j++)
                {
                    mdlDataBaseAccess.Tabelas.XsdTbProdutosFaturaComercial.tbProdutosFaturaComercialRow dtrwProdutoFatura = (mdlDataBaseAccess.Tabelas.XsdTbProdutosFaturaComercial.tbProdutosFaturaComercialRow)arlProdutosNaoAssociados[j];
                    mdlDataBaseAccess.Tabelas.XsdTbProdutos.tbProdutosRow dtrwProduto = m_typDatSetTbProdutos.tbProdutos.FindByidExportadoridProduto(m_nIdExportador, dtrwProdutoFatura.idProduto);
                    if (dtrwProduto != null)
                    {
                        switch (m_enumClassificacao)
                        {
                        case Classificacao.Ncm:
                            if (!dtrwProdutoFatura.IsstrNcmNull())
                            {
                                strClassificacaoProduto = dtrwProdutoFatura.strNcm;
                            }
                            else if (!dtrwProduto.IsstrNcmNull())
                            {
                                strClassificacaoProduto = dtrwProduto.strNcm;
                            }
                            else
                            {
                                strClassificacaoProduto = "";
                            }
                            if (!dtrwProdutoFatura.IsmstrNcmDenominacaoNull())
                            {
                                strDenominacaoProduto = dtrwProdutoFatura.mstrNcmDenominacao;
                            }
                            else
                            {
                                mdlDataBaseAccess.Tabelas.XsdTbProdutosNcm.tbProdutosNcmRow dtrwNcm = m_typDatSetTbProdutosNcm.tbProdutosNcm.FindBynIdExportadorstrNcm(m_nIdExportador, strClassificacaoProduto);
                                if (dtrwNcm != null)
                                {
                                    strDenominacaoProduto = dtrwNcm.mstrDenominacao;
                                }
                                else
                                {
                                    strDenominacaoProduto = "";
                                }
                            }
                            if (strClassificacaoDenominacao == strClassificacaoProduto + strDenominacaoProduto)
                            {
                                tvnProduto     = tvnClassificacao.Nodes.Add(dtrwProduto.mstrDescricao);
                                tvnProduto.Tag = dtrwProdutoFatura.idOrdem;
                            }
                            break;

                        case Classificacao.Naladi:
                            if (!dtrwProdutoFatura.IsstrNaladiNull())
                            {
                                strClassificacaoProduto = dtrwProdutoFatura.strNaladi;
                            }
                            else if (!dtrwProduto.IsstrNaladiNull())
                            {
                                strClassificacaoProduto = dtrwProduto.strNaladi;
                            }
                            else
                            {
                                strClassificacaoProduto = "";
                            }
                            if (!dtrwProdutoFatura.IsmstrNaladiDenominacaoNull())
                            {
                                strDenominacaoProduto = dtrwProdutoFatura.mstrNaladiDenominacao;
                            }
                            else
                            {
                                mdlDataBaseAccess.Tabelas.XsdTbProdutosNaladi.tbProdutosNaladiRow dtrwNaladi = m_typDatSetTbProdutosNaladi.tbProdutosNaladi.FindBynIdExportadorstrNaladi(m_nIdExportador, strClassificacao);
                                if (dtrwNaladi != null)
                                {
                                    strDenominacaoProduto = dtrwNaladi.mstrDenominacao;
                                }
                                else
                                {
                                    strDenominacaoProduto = "";
                                }
                            }
                            if (strClassificacaoDenominacao == strClassificacaoProduto + strDenominacaoProduto)
                            {
                                tvnProduto     = tvnClassificacao.Nodes.Add(dtrwProduto.mstrDescricao);
                                tvnProduto.Tag = dtrwProdutoFatura.idOrdem;
                            }
                            break;
                        }
                    }
                }
            }
        }
 protected abstract void vRefreshProdutosAssociados(ref mdlComponentesGraficos.TreeView tvProdutosAssociados);
 /// <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(frmFProdutosVinculacao));
     this.m_gbFrame         = new System.Windows.Forms.GroupBox();
     this.m_btCancelar      = new System.Windows.Forms.Button();
     this.m_gbFields        = new System.Windows.Forms.GroupBox();
     this.m_treeVProdutos   = new mdlComponentesGraficos.TreeView();
     this.m_chbxMostrar     = new System.Windows.Forms.CheckBox();
     this.m_btProdutosGeral = new System.Windows.Forms.Button();
     this.m_btOk            = new System.Windows.Forms.Button();
     this.btTrocarCor       = new System.Windows.Forms.Button();
     this.m_ttVinculacao    = new System.Windows.Forms.ToolTip(this.components);
     this.m_gbFrame.SuspendLayout();
     this.m_gbFields.SuspendLayout();
     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_btCancelar);
     this.m_gbFrame.Controls.Add(this.m_gbFields);
     this.m_gbFrame.Controls.Add(this.m_btProdutosGeral);
     this.m_gbFrame.Controls.Add(this.m_btOk);
     this.m_gbFrame.Controls.Add(this.btTrocarCor);
     this.m_gbFrame.Location = new System.Drawing.Point(2, 0);
     this.m_gbFrame.Name     = "m_gbFrame";
     this.m_gbFrame.Size     = new System.Drawing.Size(362, 270);
     this.m_gbFrame.TabIndex = 0;
     this.m_gbFrame.TabStop  = false;
     //
     // 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(217, 239);
     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    = 34;
     this.m_ttVinculacao.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_treeVProdutos);
     this.m_gbFields.Controls.Add(this.m_chbxMostrar);
     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(345, 226);
     this.m_gbFields.TabIndex = 0;
     this.m_gbFields.TabStop  = false;
     this.m_gbFields.Text     = "Produtos";
     //
     // m_treeVProdutos
     //
     this.m_treeVProdutos.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_treeVProdutos.Font               = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_treeVProdutos.ImageIndex         = -1;
     this.m_treeVProdutos.Location           = new System.Drawing.Point(8, 15);
     this.m_treeVProdutos.Name               = "m_treeVProdutos";
     this.m_treeVProdutos.SelectedImageIndex = -1;
     this.m_treeVProdutos.Size               = new System.Drawing.Size(328, 188);
     this.m_treeVProdutos.TabIndex           = 0;
     this.m_treeVProdutos.DoubleClick       += new System.EventHandler(this.m_treeVProdutos_DoubleClick);
     //
     // m_chbxMostrar
     //
     this.m_chbxMostrar.Font            = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_chbxMostrar.Location        = new System.Drawing.Point(8, 205);
     this.m_chbxMostrar.Name            = "m_chbxMostrar";
     this.m_chbxMostrar.Size            = new System.Drawing.Size(329, 19);
     this.m_chbxMostrar.TabIndex        = 2;
     this.m_chbxMostrar.Text            = "Mostrar apenas os produtos sem classificação tarifária";
     this.m_chbxMostrar.CheckedChanged += new System.EventHandler(this.m_chbxMostrar_CheckedChanged);
     //
     // m_btProdutosGeral
     //
     this.m_btProdutosGeral.Anchor      = System.Windows.Forms.AnchorStyles.Bottom;
     this.m_btProdutosGeral.BackColor   = System.Drawing.SystemColors.Control;
     this.m_btProdutosGeral.Cursor      = System.Windows.Forms.Cursors.Hand;
     this.m_btProdutosGeral.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_btProdutosGeral.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.m_btProdutosGeral.Image       = ((System.Drawing.Image)(resources.GetObject("m_btProdutosGeral.Image")));
     this.m_btProdutosGeral.Location    = new System.Drawing.Point(153, 239);
     this.m_btProdutosGeral.Name        = "m_btProdutosGeral";
     this.m_btProdutosGeral.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.m_btProdutosGeral.Size        = new System.Drawing.Size(57, 25);
     this.m_btProdutosGeral.TabIndex    = 33;
     this.m_ttVinculacao.SetToolTip(this.m_btProdutosGeral, "Vincular NCM/NALADI");
     this.m_btProdutosGeral.Click += new System.EventHandler(this.m_btProdutosGeral_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(89, 239);
     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    = 32;
     this.m_ttVinculacao.SetToolTip(this.m_btOk, "Confirmar");
     this.m_btOk.Click += new System.EventHandler(this.m_btOk_Click);
     //
     // btTrocarCor
     //
     this.btTrocarCor.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(64)), ((System.Byte)(0)));
     this.btTrocarCor.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.btTrocarCor.Location  = new System.Drawing.Point(4, 10);
     this.btTrocarCor.Name      = "btTrocarCor";
     this.btTrocarCor.Size      = new System.Drawing.Size(4, 4);
     this.btTrocarCor.TabIndex  = 31;
     this.m_ttVinculacao.SetToolTip(this.btTrocarCor, "Cor");
     this.btTrocarCor.Click += new System.EventHandler(this.m_btTrocarCor_Click);
     //
     // m_ttVinculacao
     //
     this.m_ttVinculacao.AutomaticDelay = 100;
     this.m_ttVinculacao.AutoPopDelay   = 5000;
     this.m_ttVinculacao.InitialDelay   = 100;
     this.m_ttVinculacao.ReshowDelay    = 20;
     //
     // frmFProdutosVinculacao
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(366, 272);
     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            = "frmFProdutosVinculacao";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Código de Classificação Tarifária";
     this.Load           += new System.EventHandler(this.frmFProdutosVinculacao_Load);
     this.m_gbFrame.ResumeLayout(false);
     this.m_gbFields.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemple #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmFProdutosSimplificado));
     this.m_gbGeral                       = new System.Windows.Forms.GroupBox();
     this.m_btAutomatico                  = new System.Windows.Forms.Button();
     this.m_btProdutoDesvincula           = new System.Windows.Forms.Button();
     this.m_btProdutoVincula              = new System.Windows.Forms.Button();
     this.m_gbProdutosRomaneio            = new System.Windows.Forms.GroupBox();
     this.m_btProdutoAcima                = new System.Windows.Forms.Button();
     this.m_btProdutoAbaixo               = new System.Windows.Forms.Button();
     this.m_lvProdutosRomaneio            = new mdlComponentesGraficos.ListView();
     this.m_colhQuantidadeProduto         = new System.Windows.Forms.ColumnHeader();
     this.m_colhQuantidadeVolumes         = new System.Windows.Forms.ColumnHeader();
     this.m_colhProduto                   = new System.Windows.Forms.ColumnHeader();
     this.m_gbInformacoes                 = new System.Windows.Forms.GroupBox();
     this.m_gbRomaneio                    = new System.Windows.Forms.GroupBox();
     this.m_txtPesoBrutoRomaneio          = new System.Windows.Forms.TextBox();
     this.m_lbPesoBrutoRomaneio           = new System.Windows.Forms.Label();
     this.m_txtPesoLiquidoRomaneio        = new System.Windows.Forms.TextBox();
     this.m_lbPesoLiquidoRomaneio         = new System.Windows.Forms.Label();
     this.m_gbFaturaComercial             = new System.Windows.Forms.GroupBox();
     this.m_txtPesoBrutoFaturaComercial   = new System.Windows.Forms.TextBox();
     this.m_lbPesoBrutoFaturaComercial    = new System.Windows.Forms.Label();
     this.m_txtPesoLiquidoFaturaComercial = new System.Windows.Forms.TextBox();
     this.m_lbPesoLiquidoFaturaComercial  = new System.Windows.Forms.Label();
     this.m_btOk       = new System.Windows.Forms.Button();
     this.m_btCancelar = new System.Windows.Forms.Button();
     this.m_gbProdutosFaturaComercial = new System.Windows.Forms.GroupBox();
     this.m_tvProdutosFatura          = new mdlComponentesGraficos.TreeView();
     this.m_ttDicas = new System.Windows.Forms.ToolTip(this.components);
     this.m_gbGeral.SuspendLayout();
     this.m_gbProdutosRomaneio.SuspendLayout();
     this.m_gbInformacoes.SuspendLayout();
     this.m_gbRomaneio.SuspendLayout();
     this.m_gbFaturaComercial.SuspendLayout();
     this.m_gbProdutosFaturaComercial.SuspendLayout();
     this.SuspendLayout();
     //
     // m_gbGeral
     //
     this.m_gbGeral.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_gbGeral.Controls.Add(this.m_btAutomatico);
     this.m_gbGeral.Controls.Add(this.m_btProdutoDesvincula);
     this.m_gbGeral.Controls.Add(this.m_btProdutoVincula);
     this.m_gbGeral.Controls.Add(this.m_gbProdutosRomaneio);
     this.m_gbGeral.Controls.Add(this.m_gbInformacoes);
     this.m_gbGeral.Controls.Add(this.m_btOk);
     this.m_gbGeral.Controls.Add(this.m_btCancelar);
     this.m_gbGeral.Controls.Add(this.m_gbProdutosFaturaComercial);
     this.m_gbGeral.Location = new System.Drawing.Point(3, 0);
     this.m_gbGeral.Name     = "m_gbGeral";
     this.m_gbGeral.Size     = new System.Drawing.Size(738, 489);
     this.m_gbGeral.TabIndex = 0;
     this.m_gbGeral.TabStop  = false;
     //
     // m_btAutomatico
     //
     this.m_btAutomatico.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.m_btAutomatico.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.m_btAutomatico.Image    = ((System.Drawing.Image)(resources.GetObject("m_btAutomatico.Image")));
     this.m_btAutomatico.Location = new System.Drawing.Point(704, 200);
     this.m_btAutomatico.Name     = "m_btAutomatico";
     this.m_btAutomatico.Size     = new System.Drawing.Size(25, 25);
     this.m_btAutomatico.TabIndex = 16;
     this.m_ttDicas.SetToolTip(this.m_btAutomatico, "Automatizar o preenchimento do Romaneio");
     this.m_btAutomatico.Click += new System.EventHandler(this.m_btAutomatico_Click);
     //
     // m_btProdutoDesvincula
     //
     this.m_btProdutoDesvincula.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.m_btProdutoDesvincula.Image    = ((System.Drawing.Image)(resources.GetObject("m_btProdutoDesvincula.Image")));
     this.m_btProdutoDesvincula.Location = new System.Drawing.Point(376, 195);
     this.m_btProdutoDesvincula.Name     = "m_btProdutoDesvincula";
     this.m_btProdutoDesvincula.Size     = new System.Drawing.Size(60, 40);
     this.m_btProdutoDesvincula.TabIndex = 13;
     this.m_ttDicas.SetToolTip(this.m_btProdutoDesvincula, "Remover o produto no romaneio");
     this.m_btProdutoDesvincula.Click += new System.EventHandler(this.m_btProdutoDesvincula_Click);
     //
     // m_btProdutoVincula
     //
     this.m_btProdutoVincula.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.m_btProdutoVincula.Image    = ((System.Drawing.Image)(resources.GetObject("m_btProdutoVincula.Image")));
     this.m_btProdutoVincula.Location = new System.Drawing.Point(304, 195);
     this.m_btProdutoVincula.Name     = "m_btProdutoVincula";
     this.m_btProdutoVincula.Size     = new System.Drawing.Size(60, 40);
     this.m_btProdutoVincula.TabIndex = 12;
     this.m_ttDicas.SetToolTip(this.m_btProdutoVincula, "Inserir o produto no romaneio");
     this.m_btProdutoVincula.Click += new System.EventHandler(this.m_btProdutoVincula_Click);
     //
     // m_gbProdutosRomaneio
     //
     this.m_gbProdutosRomaneio.Controls.Add(this.m_btProdutoAcima);
     this.m_gbProdutosRomaneio.Controls.Add(this.m_btProdutoAbaixo);
     this.m_gbProdutosRomaneio.Controls.Add(this.m_lvProdutosRomaneio);
     this.m_gbProdutosRomaneio.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbProdutosRomaneio.Location = new System.Drawing.Point(8, 232);
     this.m_gbProdutosRomaneio.Name     = "m_gbProdutosRomaneio";
     this.m_gbProdutosRomaneio.Size     = new System.Drawing.Size(720, 168);
     this.m_gbProdutosRomaneio.TabIndex = 11;
     this.m_gbProdutosRomaneio.TabStop  = false;
     this.m_gbProdutosRomaneio.Text     = "Produtos Vinculados ao Romaneio";
     //
     // 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(4, 56);
     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_ttDicas.SetToolTip(this.m_btProdutoAcima, "Mover o produto selecionado para cima");
     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(4, 88);
     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_ttDicas.SetToolTip(this.m_btProdutoAbaixo, "Mover o produto selecionado para baixo");
     this.m_btProdutoAbaixo.Click += new System.EventHandler(this.m_btProdutoAbaixo_Click);
     //
     // m_lvProdutosRomaneio
     //
     this.m_lvProdutosRomaneio.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.m_colhQuantidadeProduto,
         this.m_colhQuantidadeVolumes,
         this.m_colhProduto
     });
     this.m_lvProdutosRomaneio.FullRowSelect = true;
     this.m_lvProdutosRomaneio.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.m_lvProdutosRomaneio.HideSelection = false;
     this.m_lvProdutosRomaneio.Location      = new System.Drawing.Point(32, 16);
     this.m_lvProdutosRomaneio.MultiSelect   = false;
     this.m_lvProdutosRomaneio.Name          = "m_lvProdutosRomaneio";
     this.m_lvProdutosRomaneio.Size          = new System.Drawing.Size(680, 144);
     this.m_lvProdutosRomaneio.TabIndex      = 0;
     this.m_lvProdutosRomaneio.View          = System.Windows.Forms.View.Details;
     this.m_lvProdutosRomaneio.DoubleClick  += new System.EventHandler(this.m_lvProdutosRomaneio_DoubleClick);
     //
     // m_colhQuantidadeProduto
     //
     this.m_colhQuantidadeProduto.Text  = "Quantidade Produto";
     this.m_colhQuantidadeProduto.Width = 123;
     //
     // m_colhQuantidadeVolumes
     //
     this.m_colhQuantidadeVolumes.Text  = "Quantidade Volumes";
     this.m_colhQuantidadeVolumes.Width = 128;
     //
     // m_colhProduto
     //
     this.m_colhProduto.Text  = "Produto";
     this.m_colhProduto.Width = 422;
     //
     // m_gbInformacoes
     //
     this.m_gbInformacoes.Controls.Add(this.m_gbRomaneio);
     this.m_gbInformacoes.Controls.Add(this.m_gbFaturaComercial);
     this.m_gbInformacoes.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbInformacoes.Location = new System.Drawing.Point(9, 400);
     this.m_gbInformacoes.Name     = "m_gbInformacoes";
     this.m_gbInformacoes.Size     = new System.Drawing.Size(720, 56);
     this.m_gbInformacoes.TabIndex = 10;
     this.m_gbInformacoes.TabStop  = false;
     this.m_gbInformacoes.Text     = "Informações";
     //
     // m_gbRomaneio
     //
     this.m_gbRomaneio.Controls.Add(this.m_txtPesoBrutoRomaneio);
     this.m_gbRomaneio.Controls.Add(this.m_lbPesoBrutoRomaneio);
     this.m_gbRomaneio.Controls.Add(this.m_txtPesoLiquidoRomaneio);
     this.m_gbRomaneio.Controls.Add(this.m_lbPesoLiquidoRomaneio);
     this.m_gbRomaneio.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbRomaneio.Location = new System.Drawing.Point(363, 12);
     this.m_gbRomaneio.Name     = "m_gbRomaneio";
     this.m_gbRomaneio.Size     = new System.Drawing.Size(345, 38);
     this.m_gbRomaneio.TabIndex = 1;
     this.m_gbRomaneio.TabStop  = false;
     this.m_gbRomaneio.Text     = "Romaneio";
     //
     // m_txtPesoBrutoRomaneio
     //
     this.m_txtPesoBrutoRomaneio.Location = new System.Drawing.Point(241, 12);
     this.m_txtPesoBrutoRomaneio.Name     = "m_txtPesoBrutoRomaneio";
     this.m_txtPesoBrutoRomaneio.ReadOnly = true;
     this.m_txtPesoBrutoRomaneio.Size     = new System.Drawing.Size(87, 20);
     this.m_txtPesoBrutoRomaneio.TabIndex = 3;
     this.m_txtPesoBrutoRomaneio.Text     = "";
     //
     // m_lbPesoBrutoRomaneio
     //
     this.m_lbPesoBrutoRomaneio.Location = new System.Drawing.Point(175, 15);
     this.m_lbPesoBrutoRomaneio.Name     = "m_lbPesoBrutoRomaneio";
     this.m_lbPesoBrutoRomaneio.Size     = new System.Drawing.Size(80, 16);
     this.m_lbPesoBrutoRomaneio.TabIndex = 2;
     this.m_lbPesoBrutoRomaneio.Text     = "Peso Bruto:";
     //
     // m_txtPesoLiquidoRomaneio
     //
     this.m_txtPesoLiquidoRomaneio.Location = new System.Drawing.Point(81, 12);
     this.m_txtPesoLiquidoRomaneio.Name     = "m_txtPesoLiquidoRomaneio";
     this.m_txtPesoLiquidoRomaneio.ReadOnly = true;
     this.m_txtPesoLiquidoRomaneio.Size     = new System.Drawing.Size(87, 20);
     this.m_txtPesoLiquidoRomaneio.TabIndex = 1;
     this.m_txtPesoLiquidoRomaneio.Text     = "";
     //
     // m_lbPesoLiquidoRomaneio
     //
     this.m_lbPesoLiquidoRomaneio.Location = new System.Drawing.Point(9, 15);
     this.m_lbPesoLiquidoRomaneio.Name     = "m_lbPesoLiquidoRomaneio";
     this.m_lbPesoLiquidoRomaneio.Size     = new System.Drawing.Size(80, 16);
     this.m_lbPesoLiquidoRomaneio.TabIndex = 0;
     this.m_lbPesoLiquidoRomaneio.Text     = "Peso Líquido:";
     //
     // m_gbFaturaComercial
     //
     this.m_gbFaturaComercial.Controls.Add(this.m_txtPesoBrutoFaturaComercial);
     this.m_gbFaturaComercial.Controls.Add(this.m_lbPesoBrutoFaturaComercial);
     this.m_gbFaturaComercial.Controls.Add(this.m_txtPesoLiquidoFaturaComercial);
     this.m_gbFaturaComercial.Controls.Add(this.m_lbPesoLiquidoFaturaComercial);
     this.m_gbFaturaComercial.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbFaturaComercial.Location = new System.Drawing.Point(7, 12);
     this.m_gbFaturaComercial.Name     = "m_gbFaturaComercial";
     this.m_gbFaturaComercial.Size     = new System.Drawing.Size(345, 38);
     this.m_gbFaturaComercial.TabIndex = 0;
     this.m_gbFaturaComercial.TabStop  = false;
     this.m_gbFaturaComercial.Text     = "Fatura Comercial";
     //
     // m_txtPesoBrutoFaturaComercial
     //
     this.m_txtPesoBrutoFaturaComercial.Location = new System.Drawing.Point(241, 12);
     this.m_txtPesoBrutoFaturaComercial.Name     = "m_txtPesoBrutoFaturaComercial";
     this.m_txtPesoBrutoFaturaComercial.ReadOnly = true;
     this.m_txtPesoBrutoFaturaComercial.Size     = new System.Drawing.Size(87, 20);
     this.m_txtPesoBrutoFaturaComercial.TabIndex = 3;
     this.m_txtPesoBrutoFaturaComercial.Text     = "";
     //
     // m_lbPesoBrutoFaturaComercial
     //
     this.m_lbPesoBrutoFaturaComercial.Location = new System.Drawing.Point(175, 15);
     this.m_lbPesoBrutoFaturaComercial.Name     = "m_lbPesoBrutoFaturaComercial";
     this.m_lbPesoBrutoFaturaComercial.Size     = new System.Drawing.Size(80, 16);
     this.m_lbPesoBrutoFaturaComercial.TabIndex = 2;
     this.m_lbPesoBrutoFaturaComercial.Text     = "Peso Bruto:";
     //
     // m_txtPesoLiquidoFaturaComercial
     //
     this.m_txtPesoLiquidoFaturaComercial.Location = new System.Drawing.Point(81, 12);
     this.m_txtPesoLiquidoFaturaComercial.Name     = "m_txtPesoLiquidoFaturaComercial";
     this.m_txtPesoLiquidoFaturaComercial.ReadOnly = true;
     this.m_txtPesoLiquidoFaturaComercial.Size     = new System.Drawing.Size(87, 20);
     this.m_txtPesoLiquidoFaturaComercial.TabIndex = 1;
     this.m_txtPesoLiquidoFaturaComercial.Text     = "";
     //
     // m_lbPesoLiquidoFaturaComercial
     //
     this.m_lbPesoLiquidoFaturaComercial.Location = new System.Drawing.Point(9, 15);
     this.m_lbPesoLiquidoFaturaComercial.Name     = "m_lbPesoLiquidoFaturaComercial";
     this.m_lbPesoLiquidoFaturaComercial.Size     = new System.Drawing.Size(80, 16);
     this.m_lbPesoLiquidoFaturaComercial.TabIndex = 0;
     this.m_lbPesoLiquidoFaturaComercial.Text     = "Peso Líquido:";
     //
     // 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(308, 459);
     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    = 8;
     this.m_ttDicas.SetToolTip(this.m_btOk, "Confirmar");
     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(372, 459);
     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    = 9;
     this.m_ttDicas.SetToolTip(this.m_btCancelar, "Cancelar");
     this.m_btCancelar.Click += new System.EventHandler(this.m_btCancelar_Click);
     //
     // m_gbProdutosFaturaComercial
     //
     this.m_gbProdutosFaturaComercial.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.m_gbProdutosFaturaComercial.Controls.Add(this.m_tvProdutosFatura);
     this.m_gbProdutosFaturaComercial.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbProdutosFaturaComercial.Location = new System.Drawing.Point(5, 8);
     this.m_gbProdutosFaturaComercial.Name     = "m_gbProdutosFaturaComercial";
     this.m_gbProdutosFaturaComercial.Size     = new System.Drawing.Size(728, 184);
     this.m_gbProdutosFaturaComercial.TabIndex = 2;
     this.m_gbProdutosFaturaComercial.TabStop  = false;
     this.m_gbProdutosFaturaComercial.Text     = "Produtos ";
     //
     // m_tvProdutosFatura
     //
     this.m_tvProdutosFatura.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_tvProdutosFatura.HideSelection      = false;
     this.m_tvProdutosFatura.ImageIndex         = -1;
     this.m_tvProdutosFatura.Location           = new System.Drawing.Point(8, 15);
     this.m_tvProdutosFatura.Name               = "m_tvProdutosFatura";
     this.m_tvProdutosFatura.SelectedImageIndex = -1;
     this.m_tvProdutosFatura.Size               = new System.Drawing.Size(712, 161);
     this.m_tvProdutosFatura.TabIndex           = 0;
     //
     // m_ttDicas
     //
     this.m_ttDicas.AutomaticDelay = 100;
     this.m_ttDicas.AutoPopDelay   = 5000;
     this.m_ttDicas.InitialDelay   = 100;
     this.m_ttDicas.ReshowDelay    = 20;
     //
     // frmFProdutosSimplificado
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(744, 496);
     this.Controls.Add(this.m_gbGeral);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmFProdutosSimplificado";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Lançamento dos produtos no romaneio.";
     this.Load           += new System.EventHandler(this.frmFProdutosSimplificado_Load);
     this.m_gbGeral.ResumeLayout(false);
     this.m_gbProdutosRomaneio.ResumeLayout(false);
     this.m_gbInformacoes.ResumeLayout(false);
     this.m_gbRomaneio.ResumeLayout(false);
     this.m_gbFaturaComercial.ResumeLayout(false);
     this.m_gbProdutosFaturaComercial.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemple #7
0
 /// <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(frmFProdutosCertificado));
     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_gbGeral          = new System.Windows.Forms.GroupBox();
     this.m_gbProdutos       = new System.Windows.Forms.GroupBox();
     this.m_tvProdutos       = new mdlComponentesGraficos.TreeView();
     this.m_gbProdutosNormas = new System.Windows.Forms.GroupBox();
     this.m_tvProdutosNormas = new mdlComponentesGraficos.TreeView();
     this.m_gbNormas         = new System.Windows.Forms.GroupBox();
     this.m_lvNormas         = new mdlComponentesGraficos.ListView();
     this.m_chFirst          = new System.Windows.Forms.ColumnHeader();
     this.m_gbBotoes         = new System.Windows.Forms.GroupBox();
     this.m_btVincular       = new System.Windows.Forms.Button();
     this.m_pbRetira         = new System.Windows.Forms.PictureBox();
     this.m_pbInsere         = new System.Windows.Forms.PictureBox();
     this.m_btRetiraProduto  = new System.Windows.Forms.Button();
     this.m_btInsereProduto  = new System.Windows.Forms.Button();
     this.m_ttProdutosCOs    = new System.Windows.Forms.ToolTip(this.components);
     this.m_tiLoad           = new System.Windows.Forms.Timer(this.components);
     this.m_gbFrame.SuspendLayout();
     this.m_gbGeral.SuspendLayout();
     this.m_gbProdutos.SuspendLayout();
     this.m_gbProdutosNormas.SuspendLayout();
     this.m_gbNormas.SuspendLayout();
     this.m_gbBotoes.SuspendLayout();
     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_gbGeral);
     this.m_gbFrame.Location = new System.Drawing.Point(2, 0);
     this.m_gbFrame.Name     = "m_gbFrame";
     this.m_gbFrame.Size     = new System.Drawing.Size(734, 510);
     this.m_gbFrame.TabIndex = 0;
     this.m_gbFrame.TabStop  = false;
     //
     // m_btTrocarCor
     //
     this.m_btTrocarCor.Anchor    = System.Windows.Forms.AnchorStyles.None;
     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, 8);
     this.m_btTrocarCor.Name      = "m_btTrocarCor";
     this.m_btTrocarCor.Size      = new System.Drawing.Size(4, 4);
     this.m_btTrocarCor.TabIndex  = 12;
     this.m_ttProdutosCOs.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.None;
     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(305, 480);
     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    = 10;
     this.m_ttProdutosCOs.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.None;
     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(369, 480);
     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    = 11;
     this.m_ttProdutosCOs.SetToolTip(this.m_btCancelar, "Cancelar");
     this.m_btCancelar.Click += new System.EventHandler(this.m_btCancelar_Click);
     //
     // m_gbGeral
     //
     this.m_gbGeral.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_gbGeral.Controls.Add(this.m_gbProdutos);
     this.m_gbGeral.Controls.Add(this.m_gbProdutosNormas);
     this.m_gbGeral.Controls.Add(this.m_gbNormas);
     this.m_gbGeral.Controls.Add(this.m_gbBotoes);
     this.m_gbGeral.Font     = new System.Drawing.Font("Arial", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbGeral.Location = new System.Drawing.Point(8, 7);
     this.m_gbGeral.Name     = "m_gbGeral";
     this.m_gbGeral.Size     = new System.Drawing.Size(717, 466);
     this.m_gbGeral.TabIndex = 0;
     this.m_gbGeral.TabStop  = false;
     //
     // m_gbProdutos
     //
     this.m_gbProdutos.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_gbProdutos.Controls.Add(this.m_tvProdutos);
     this.m_gbProdutos.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbProdutos.Location = new System.Drawing.Point(8, 11);
     this.m_gbProdutos.Name     = "m_gbProdutos";
     this.m_gbProdutos.Size     = new System.Drawing.Size(344, 234);
     this.m_gbProdutos.TabIndex = 0;
     this.m_gbProdutos.TabStop  = false;
     this.m_gbProdutos.Text     = "Produtos da Fatura Comercial";
     //
     // m_tvProdutos
     //
     this.m_tvProdutos.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_tvProdutos.Cursor             = System.Windows.Forms.Cursors.Default;
     this.m_tvProdutos.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_tvProdutos.HideSelection      = false;
     this.m_tvProdutos.ImageIndex         = -1;
     this.m_tvProdutos.Location           = new System.Drawing.Point(8, 15);
     this.m_tvProdutos.Name               = "m_tvProdutos";
     this.m_tvProdutos.SelectedImageIndex = -1;
     this.m_tvProdutos.Size               = new System.Drawing.Size(328, 211);
     this.m_tvProdutos.TabIndex           = 0;
     this.m_tvProdutos.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.m_tvProdutos_AfterSelect);
     //
     // m_gbProdutosNormas
     //
     this.m_gbProdutosNormas.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.m_gbProdutosNormas.Controls.Add(this.m_tvProdutosNormas);
     this.m_gbProdutosNormas.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbProdutosNormas.Location = new System.Drawing.Point(8, 308);
     this.m_gbProdutosNormas.Name     = "m_gbProdutosNormas";
     this.m_gbProdutosNormas.Size     = new System.Drawing.Size(701, 150);
     this.m_gbProdutosNormas.TabIndex = 3;
     this.m_gbProdutosNormas.TabStop  = false;
     this.m_gbProdutosNormas.Text     = "Produtos Inseridos no Certificado";
     //
     // m_tvProdutosNormas
     //
     this.m_tvProdutosNormas.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_tvProdutosNormas.Font               = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_tvProdutosNormas.HideSelection      = false;
     this.m_tvProdutosNormas.ImageIndex         = -1;
     this.m_tvProdutosNormas.Location           = new System.Drawing.Point(8, 15);
     this.m_tvProdutosNormas.Name               = "m_tvProdutosNormas";
     this.m_tvProdutosNormas.SelectedImageIndex = -1;
     this.m_tvProdutosNormas.Size               = new System.Drawing.Size(685, 127);
     this.m_tvProdutosNormas.TabIndex           = 0;
     this.m_tvProdutosNormas.DoubleClick       += new System.EventHandler(this.m_tvProdutosNormas_DoubleClick);
     //
     // m_gbNormas
     //
     this.m_gbNormas.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_gbNormas.Controls.Add(this.m_lvNormas);
     this.m_gbNormas.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbNormas.Location = new System.Drawing.Point(356, 11);
     this.m_gbNormas.Name     = "m_gbNormas";
     this.m_gbNormas.Size     = new System.Drawing.Size(352, 234);
     this.m_gbNormas.TabIndex = 1;
     this.m_gbNormas.TabStop  = false;
     this.m_gbNormas.Text     = "Normas";
     //
     // m_lvNormas
     //
     this.m_lvNormas.Activation = System.Windows.Forms.ItemActivation.OneClick;
     this.m_lvNormas.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_lvNormas.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.m_chFirst
     });
     this.m_lvNormas.Font                  = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_lvNormas.HeaderStyle           = System.Windows.Forms.ColumnHeaderStyle.None;
     this.m_lvNormas.HideSelection         = false;
     this.m_lvNormas.Location              = new System.Drawing.Point(8, 15);
     this.m_lvNormas.Name                  = "m_lvNormas";
     this.m_lvNormas.Size                  = new System.Drawing.Size(336, 211);
     this.m_lvNormas.TabIndex              = 0;
     this.m_lvNormas.View                  = System.Windows.Forms.View.Details;
     this.m_lvNormas.DoubleClick          += new System.EventHandler(this.m_lvNormas_DoubleClick);
     this.m_lvNormas.SelectedIndexChanged += new System.EventHandler(this.m_lvNormas_SelectedIndexChanged);
     //
     // m_chFirst
     //
     this.m_chFirst.Width = 500;
     //
     // m_gbBotoes
     //
     this.m_gbBotoes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.m_gbBotoes.Controls.Add(this.m_btVincular);
     this.m_gbBotoes.Controls.Add(this.m_pbRetira);
     this.m_gbBotoes.Controls.Add(this.m_pbInsere);
     this.m_gbBotoes.Controls.Add(this.m_btRetiraProduto);
     this.m_gbBotoes.Controls.Add(this.m_btInsereProduto);
     this.m_gbBotoes.Location = new System.Drawing.Point(8, 243);
     this.m_gbBotoes.Name     = "m_gbBotoes";
     this.m_gbBotoes.Size     = new System.Drawing.Size(701, 61);
     this.m_gbBotoes.TabIndex = 2;
     this.m_gbBotoes.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.Location = new System.Drawing.Point(8, 24);
     this.m_btVincular.Name     = "m_btVincular";
     this.m_btVincular.Size     = new System.Drawing.Size(144, 24);
     this.m_btVincular.TabIndex = 6;
     this.m_btVincular.Text     = "Classificação Tarifária";
     this.m_btVincular.Click   += new System.EventHandler(this.m_btVincular_Click);
     //
     // m_pbRetira
     //
     this.m_pbRetira.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.m_pbRetira.Image    = ((System.Drawing.Image)(resources.GetObject("m_pbRetira.Image")));
     this.m_pbRetira.Location = new System.Drawing.Point(584, 126);
     this.m_pbRetira.Name     = "m_pbRetira";
     this.m_pbRetira.Size     = new System.Drawing.Size(60, 40);
     this.m_pbRetira.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.m_pbRetira.TabIndex = 4;
     this.m_pbRetira.TabStop  = false;
     this.m_pbRetira.Visible  = false;
     //
     // m_pbInsere
     //
     this.m_pbInsere.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.m_pbInsere.Image    = ((System.Drawing.Image)(resources.GetObject("m_pbInsere.Image")));
     this.m_pbInsere.Location = new System.Drawing.Point(512, 126);
     this.m_pbInsere.Name     = "m_pbInsere";
     this.m_pbInsere.Size     = new System.Drawing.Size(60, 40);
     this.m_pbInsere.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.m_pbInsere.TabIndex = 3;
     this.m_pbInsere.TabStop  = false;
     this.m_pbInsere.Visible  = 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(355, 14);
     this.m_btRetiraProduto.Name     = "m_btRetiraProduto";
     this.m_btRetiraProduto.Size     = new System.Drawing.Size(60, 40);
     this.m_btRetiraProduto.TabIndex = 5;
     this.m_ttProdutosCOs.SetToolTip(this.m_btRetiraProduto, "Retira");
     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(283, 14);
     this.m_btInsereProduto.Name     = "m_btInsereProduto";
     this.m_btInsereProduto.Size     = new System.Drawing.Size(60, 40);
     this.m_btInsereProduto.TabIndex = 4;
     this.m_ttProdutosCOs.SetToolTip(this.m_btInsereProduto, "Insere");
     this.m_btInsereProduto.Click += new System.EventHandler(this.m_btInsereProduto_Click);
     //
     // m_ttProdutosCOs
     //
     this.m_ttProdutosCOs.AutomaticDelay = 100;
     this.m_ttProdutosCOs.AutoPopDelay   = 5000;
     this.m_ttProdutosCOs.InitialDelay   = 100;
     this.m_ttProdutosCOs.ReshowDelay    = 20;
     //
     // m_tiLoad
     //
     this.m_tiLoad.Enabled = true;
     this.m_tiLoad.Tick   += new System.EventHandler(this.m_tiLoad_Tick);
     //
     // frmFProdutosCertificado
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(738, 512);
     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            = "frmFProdutosCertificado";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Produtos do Certificado de Origem";
     this.Load           += new System.EventHandler(this.frmFProdutosCertificado_Load);
     this.m_gbFrame.ResumeLayout(false);
     this.m_gbGeral.ResumeLayout(false);
     this.m_gbProdutos.ResumeLayout(false);
     this.m_gbProdutosNormas.ResumeLayout(false);
     this.m_gbNormas.ResumeLayout(false);
     this.m_gbBotoes.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemple #8
0
        private void refreshDadosInterface(ref mdlComponentesGraficos.TreeView treeVProdutos, bool bMostrarSemClassificacao)
        {
            try
            {
                m_arlClassificacaoProdutos.Clear();
                treeVProdutos.Nodes.Clear();
                System.Windows.Forms.TreeNode NodoProduto;
                mdlDataBaseAccess.Tabelas.XsdTbProdutos.tbProdutosRow dtrwTbProdutos;
                carregaArrayListProdutosSemClassificacao(bMostrarSemClassificacao);
                if (m_arlProdutosSemClassificacao.Count > 0)
                {
                    for (int nCount = 0; nCount < m_arlProdutosSemClassificacao.Count; nCount++)
                    {
                        dtrwTbProdutos = m_typDatSetTbProdutos.tbProdutos.FindByidExportadoridProduto(m_nIdExportador, (int)m_arlProdutosSemClassificacao[nCount]);
                        if (dtrwTbProdutos != null)
                        {
                            NodoProduto     = treeVProdutos.Nodes.Add(dtrwTbProdutos.mstrDescricao);
                            NodoProduto.Tag = dtrwTbProdutos.idProduto;
                            switch (m_nClassificaoTarifaria)
                            {
                                #region NCM
                            case NCM:
                                if (!dtrwTbProdutos.IsstrNcmNull())
                                {
                                    if (dtrwTbProdutos.strNcm.Replace("\0", "").Trim() != "")
                                    {
                                        NodoProduto.Nodes.Add("NCM: " + dtrwTbProdutos.strNcm);
                                    }
                                    else
                                    {
                                        NodoProduto.Nodes.Add("NCM: Indefinida");
                                    }
                                }
                                else
                                {
                                    NodoProduto.Nodes.Add("NCM: Indefinida");
                                }
                                break;

                                #endregion
                                #region NALADI
                            case NALADI:
                                if (!dtrwTbProdutos.IsstrNaladiNull())
                                {
                                    if (dtrwTbProdutos.strNaladi.Replace("\0", "").Trim() != "")
                                    {
                                        NodoProduto.Nodes.Add("NALADI: " + dtrwTbProdutos.strNaladi);
                                    }
                                    else
                                    {
                                        NodoProduto.Nodes.Add("NALADI: Indefinida");
                                    }
                                }
                                else
                                {
                                    NodoProduto.Nodes.Add("NALADI: Indefinida");
                                }
                                break;

                                #endregion
                                #region NCM & NALADI
                            case 3:
                                if (!dtrwTbProdutos.IsstrNcmNull())
                                {
                                    if (dtrwTbProdutos.strNcm.Replace("\0", "").Trim() != "")
                                    {
                                        NodoProduto.Nodes.Add("NCM: " + dtrwTbProdutos.strNcm);
                                    }
                                    else
                                    {
                                        NodoProduto.Nodes.Add("NCM: Indefinida");
                                    }
                                }
                                else
                                {
                                    NodoProduto.Nodes.Add("NCM: Indefinida");
                                }
                                if (!dtrwTbProdutos.IsstrNaladiNull())
                                {
                                    if (dtrwTbProdutos.strNaladi.Replace("\0", "").Trim() != "")
                                    {
                                        NodoProduto.Nodes.Add("NALADI: " + dtrwTbProdutos.strNaladi);
                                        if (!m_arlClassificacaoProdutos.Contains(dtrwTbProdutos.strNaladi))
                                        {
                                            m_arlClassificacaoProdutos.Add(dtrwTbProdutos.strNaladi);
                                        }
                                    }
                                    else
                                    {
                                        NodoProduto.Nodes.Add("NALADI: Indefinida");
                                    }
                                }
                                else
                                {
                                    NodoProduto.Nodes.Add("NALADI: Indefinida");
                                }
                                break;
                                #endregion
                            }
                        }
                    }
                }
                carregaDadosClassificacao();
            }
            catch (Exception err)
            {
                Object erro = err;
                m_cls_ter_tratadorErro.trataErro(ref erro);
            }
        }
Exemple #9
0
 protected void carregaDadosInterface(ref System.Windows.Forms.Form formProdutosVinculacao, ref mdlComponentesGraficos.TreeView treeVProdutos, bool bMostrarSemClassificacao)
 {
     try
     {
         carregaDadosInterfaceEspecificos(ref formProdutosVinculacao);
         refreshDadosInterface(ref treeVProdutos, bMostrarSemClassificacao);
     }
     catch (Exception err)
     {
         Object erro = err;
         m_cls_ter_tratadorErro.trataErro(ref erro);
     }
 }