<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7268146016081828606</id><updated>2025-07-05T23:23:11.518-07:00</updated><category term="Estudos"/><category term="Leituras"/><category term="Sngpc"/><category term="Anvisa"/><category term="UML"/><category term="vciga"/><category term="Manual Syspaf Vciga Informática"/><category term="Sistemas de Informação"/><category term="farmacia popular"/><category term="syspaf"/><category term="15 DE ABRIL DE 2009"/><category term="17 anos"/><category term="3200VS"/><category term="A Linha do Tempo do Facebook"/><category term="A farsa da nação indígena"/><category term="Algoritmo contagem de livros prata e livros bronze"/><category term="Atualização e Modificação."/><category term="Aviso"/><category term="Baixar o atualizador SP3"/><category term="Bolívia"/><category term="Brasil"/><category term="Brasil lidera ranking de ataques virtuais na América Latina"/><category term="Brasil-ID - O padrão de RFID brasileiro"/><category term="CST Fiscal"/><category term="Certificado em Lógica de Programação"/><category term="Cinco bons motivos para investir no atendimento online"/><category term="Cinco dicas para CIOs protegerem os investimentos em TI"/><category term="Como engajar os visitantes do seu website"/><category term="Como melhorar o atendimento de sua empresa"/><category term="Como perder o emprego com a ajuda das redes sociais"/><category term="Consultar NF-e Completa"/><category term="Crystal methodologies"/><category term="CÓDIGO FISCAL DE OPERAÇÕES E DE PRESTAÇÕES - CFOP"/><category term="DATASUS"/><category term="DSDM Consortium"/><category term="DSDM – DYNAMIC SYSTEMS DEVELOPMENT METHOD"/><category term="Datalogic"/><category term="Desenvolvimento de Software"/><category term="Dicionário da Automação Comercial"/><category term="Dropbox"/><category term="Empresa optante pelo Simples Nacional"/><category term="Empresas devem ter cuidado com responsáveis por suas contas em mídias sociais"/><category term="Endereços"/><category term="Entenda um pouco sobre a Orientação a Objetos"/><category term="Experimente esses 15 aplicativos para Windows8"/><category term="Extreme Programming - XP"/><category term="Farmácia Popular"/><category term="Feature Driven Development"/><category term="Fique por dentro"/><category term="Forum"/><category term="GRATUIDADE FARMÁCIA POPULAR"/><category term="Garantia"/><category term="Google Drive"/><category term="Grupo Abril"/><category term="Historia da Caroxinha"/><category term="ICMS"/><category term="Implantação ERP"/><category term="Instalando Certificado Digital no navegador Internet explorer"/><category term="Instalação do sistema de farmácia popular"/><category term="Introdução: Principio básicos da engenharia de software"/><category term="Justa causa"/><category term="Leading Lean Software Development"/><category term="Leia um pouco sobre a Arquitetura de Software!"/><category term="Linguagem de Programação"/><category term="Linguagens de programação mais utilizadas – Fevereiro 2012"/><category term="MODELAGEM DE PROCESSOS DE NEGÓCIOS"/><category term="Magellan"/><category term="NF-e"/><category term="O fim do software livre?"/><category term="O jovem"/><category term="Olinda"/><category term="Orkut"/><category term="Outros tipos de metodos de estrutura e metodologia de programação"/><category term="PAF-ECF"/><category term="PE"/><category term="PORTARIA Nº 749"/><category term="PROGRAMAÇÃO EXTREME (EXTREME PROGRAMMING - XP)"/><category term="Paf-ecf Programa de Aplicativo Fiscal – Emissor de Cupom Fiscal"/><category term="Palestras"/><category term="Perguntas Freqüentes"/><category term="Por que os projetos de ERP ainda atrasam"/><category term="Portal e-CAC Centro Virtual de Atendimento ao Contribuinte"/><category term="Presença Digital"/><category term="Procedimento de troca de RT normalizado"/><category term="Programa Pronto"/><category term="Programação MVC"/><category term="Projetos de Interface"/><category term="RS"/><category term="Raia Drogasil controla estoque com NeoGrid"/><category term="SCRUM - Estrutura de gerenciamento de projeto"/><category term="SUPORTE TECNICO - FARMACIA POPULAR"/><category term="Saiba se seu micro está infectado com o DNSChanger"/><category term="Sebrae"/><category term="Sefaz"/><category term="Senado aprova alteração na repartição do ICMS do comércio eletrônico"/><category term="Sete ajustes essenciais em seu navegador"/><category term="Site"/><category term="SkyDrive e outros"/><category term="Software Emissor NF-e - Versão de Testes"/><category term="Software Scrum"/><category term="Syspaf Vciga"/><category term="TABELA DE PRODUTOS NCM"/><category term="Totvs e Itautec: pacote foca farmácias"/><category term="Totvs é Empresa do Ano do ranking Exame"/><category term="Trabalho pesado"/><category term="Twitter lança ferramenta para perfis verificarem idade de seguidores"/><category term="UTI"/><category term="Validação de sistemas na indústria farmacêutica gera dúvidas"/><category term="Variáveis Globais e Locais"/><category term="Vocabulário e dicionário dos termos fiscais brasileiros"/><category term="Você já foi mal atendido alguma vez na vida"/><category term="abertura"/><category term="ambiente leve"/><category term="ambiente pesado"/><category term="buscas novo"/><category term="caixa"/><category term="constrangimento causado"/><category term="control"/><category term="criptografia"/><category term="demitida por justa causa"/><category term="desenvolveu"/><category term="edição"/><category term="enfermeira da Unidade de Tratamento Intensivo"/><category term="escrituração eletrônica de medicamentos e substâncias contendo antimicrobianos"/><category term="etrade"/><category term="fcia popular"/><category term="fechamento"/><category term="fez comentários"/><category term="fpop"/><category term="fpopular"/><category term="homologação"/><category term="imaturidade"/><category term="implantação"/><category term="jornalista"/><category term="leitores"/><category term="nfe"/><category term="nota fiscal eletronica"/><category term="novo"/><category term="para sistema windows que não esta funcionando o certificado eletrônico NF-e"/><category term="parametros formais"/><category term="parametros reais"/><category term="passo"/><category term="pdv"/><category term="pesquiza"/><category term="postar fotos"/><category term="preocupação"/><category term="produção"/><category term="que tem apenas"/><category term="relação"/><category term="revela"/><category term="revista"/><category term="segurança"/><category term="sistema"/><category term="sistemas"/><category term="soluções"/><category term="símbolos"/><category term="trabalho leve"/><category term="upciga"/><category term="varejo"/><category term="vrsystem"/><title type='text'>Alexssandrolima - Formado em Analise &amp;amp; Desenvolvimento de Sistemas</title><subtitle type='html'>Formado em Análise e Desenvolvimento de Sistemas, analisa, projeta, documenta, especifica, testa, implanta e mantém sistemas computacionais de informação. Trabalha também com ferramentas computacionais, equipamentos de informática e metodologia de projetos na produção de sistemas. Raciocínio lógico, emprego de linguagens de programação e de metodologias de construção de projetos, preocupação com a qualidade, usabilidade, robustez, integridade e segurança de programas computacionais.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>303</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-6965429687825956499</id><published>2019-08-24T12:10:00.001-07:00</published><updated>2019-08-24T12:10:38.393-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3200VS"/><category scheme="http://www.blogger.com/atom/ns#" term="abertura"/><category scheme="http://www.blogger.com/atom/ns#" term="caixa"/><category scheme="http://www.blogger.com/atom/ns#" term="control"/><category scheme="http://www.blogger.com/atom/ns#" term="Datalogic"/><category scheme="http://www.blogger.com/atom/ns#" term="etrade"/><category scheme="http://www.blogger.com/atom/ns#" term="fechamento"/><category scheme="http://www.blogger.com/atom/ns#" term="leitores"/><category scheme="http://www.blogger.com/atom/ns#" term="Magellan"/><category scheme="http://www.blogger.com/atom/ns#" term="pdv"/><category scheme="http://www.blogger.com/atom/ns#" term="sistemas"/><category scheme="http://www.blogger.com/atom/ns#" term="símbolos"/><category scheme="http://www.blogger.com/atom/ns#" term="upciga"/><category scheme="http://www.blogger.com/atom/ns#" term="vciga"/><category scheme="http://www.blogger.com/atom/ns#" term="vrsystem"/><title type='text'>Como Desabilitar o Prefixo na Leitura de Códigos de Barras com o Datalogic Magellan 3200VSI?</title><content type='html'>&lt;h2&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Datalogic Magellan 3200VSI?&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;O leitor de código de barras Magellan 3200VSi, traz a nova tecnologia de captura de imagens para pontos de vendas com alto volume. É o primeiro scanner de código de barras a duplicar a velocidade e a largura do campo de visão de scanners a laser omnidirecional de alto desempenho, acrescentando os benefícios associados à captura de imagens. Sua tecnologia de captura de imagens, proporciona excelente desempenho na captura de códigos de barras difíceis de ler, como impressões ruins, fora da especificação ou truncadas (curtas), e códigos GS1 DataBar, além de fornecer suporte para decodificação linear (1D) e de etiquetas 2D.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/h2&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;Magellan Label ID&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 400;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;As ID’s são símbolos ou letras apresentadas automaticamente no início de dados de código de barras que representam a simbologia do código, abaixo estão alguns dos principais ID’s.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;A = UPC-A,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 400;&quot;&gt;E = UPC-E,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 400;&quot;&gt;FF = EAN-8,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 400;&quot;&gt;F = EAN-13,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 400;&quot;&gt;* = Code 39&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;% = Codabar,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 400;&quot;&gt;I = Interleaved 2 of 5,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 400;&quot;&gt;&amp;amp; = Code 93,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 400;&quot;&gt;# = Code 128&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Por padrão os leitores da série Magellan da Datalogic possuem o Label ID habilitado de fábrica, o que pode gerar um pequeno problema no momento da entradas da informação na leitura dos códigos de barras no seu sistema, observe:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC4U0MCCsmWWAiFH9a5GLHNP7aXey42dm3OEPqRxXpqbFPF0WCAlO6j95MUUPVCiHQ7EfIqJ6C-28nqzZOxXb9ZnSYCzmzCeEa2qZtACumLsrroHq6Yu7bn1ExWu7zbSITqUbmm8tQ_p4/s1600/Datalogic+Magellan+3200VSI.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;130&quot; data-original-width=&quot;283&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC4U0MCCsmWWAiFH9a5GLHNP7aXey42dm3OEPqRxXpqbFPF0WCAlO6j95MUUPVCiHQ7EfIqJ6C-28nqzZOxXb9ZnSYCzmzCeEa2qZtACumLsrroHq6Yu7bn1ExWu7zbSITqUbmm8tQ_p4/s1600/Datalogic+Magellan+3200VSI.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 400;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 400;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;O código a ser lido, um EAN-13. Normalmente as informações que deveriam chegar ao seu sistema: “7891234567895“, porém, devido a configuração de fábrica a informação que chegará ao sistema possui um Label ID, sendo esta: “F7891234567895” com a letra “F” no início do código, o que pode fazer com que seu sistema interprete este código como errado ou inexistente.&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Habilitando / Desabilitando o Label ID&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;A habilitação ou a desabilitação do Label ID nos leitores Magellan é muito simples, basta ser feita a leitura de um código correspondente.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT0PdnVq00B-_TtXHEcnQwyqzT0nvI79WfXjIwO98D_BOp8YjSyCt67BK_T0unCv5vPjR4xhcQpQpn32HPLn9pt05h219dQdg3VxrIAalNMn7mZR8E5bMXOTiHv44SQL9WtxW93k1oTMc/s1600/Datalogic+Magellan+3200VSI+LABEL+ID+DISABLE.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;263&quot; data-original-width=&quot;784&quot; height=&quot;132&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT0PdnVq00B-_TtXHEcnQwyqzT0nvI79WfXjIwO98D_BOp8YjSyCt67BK_T0unCv5vPjR4xhcQpQpn32HPLn9pt05h219dQdg3VxrIAalNMn7mZR8E5bMXOTiHv44SQL9WtxW93k1oTMc/s400/Datalogic+Magellan+3200VSI+LABEL+ID+DISABLE.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Obrigado, e qualquer duvida entra em contato.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/6965429687825956499/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2019/08/como-desabilitar-o-prefixo-na-leitura.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/6965429687825956499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/6965429687825956499'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2019/08/como-desabilitar-o-prefixo-na-leitura.html' title='Como Desabilitar o Prefixo na Leitura de Códigos de Barras com o Datalogic Magellan 3200VSI?'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC4U0MCCsmWWAiFH9a5GLHNP7aXey42dm3OEPqRxXpqbFPF0WCAlO6j95MUUPVCiHQ7EfIqJ6C-28nqzZOxXb9ZnSYCzmzCeEa2qZtACumLsrroHq6Yu7bn1ExWu7zbSITqUbmm8tQ_p4/s72-c/Datalogic+Magellan+3200VSI.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-4263867959700290168</id><published>2017-10-02T20:38:00.001-07:00</published><updated>2017-10-02T20:38:20.963-07:00</updated><title type='text'>HostSpot300 Nova tecnologia de acesso aos clientes via check-in Facebook</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;344&quot; src=&quot;https://www.youtube.com/embed/8mlTrcWPbPk&quot; width=&quot;459&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/4263867959700290168/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2017/10/hostspot300-nova-tecnologia-de-acesso.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4263867959700290168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4263867959700290168'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2017/10/hostspot300-nova-tecnologia-de-acesso.html' title='HostSpot300 Nova tecnologia de acesso aos clientes via check-in Facebook'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/8mlTrcWPbPk/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-7064573585676286375</id><published>2016-11-15T14:07:00.004-08:00</published><updated>2016-11-15T14:07:43.470-08:00</updated><title type='text'>Emissões de Nota Fiscal Eletrônica ao Consumidor (NFC-e) na Paraíba</title><content type='html'>&lt;h2 id=&quot;content-title&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 2em; font-weight: 500; line-height: 1.2em; margin: 0px; padding-bottom: 18px;&quot;&gt;
Emissões de Nota Fiscal Eletrônica ao Consumidor (NFC-e) voltam a expandir em outubro na Paraíba&lt;a href=&quot;https://www.receita.pb.gov.br/ser/announcements/3693-emissoes-de-nota-fiscal-eletronica-ao-consumidor-nfc-e-voltam-a-expandir-em-outubro-na-paraiba?tmpl=component&amp;amp;print=1&amp;amp;layout=default&amp;amp;page=&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #304f91; font-size: 12px; text-align: center; text-decoration: none; white-space: nowrap;&quot; title=&quot;Print&quot;&gt;&lt;span class=&quot;icon-print&quot; style=&quot;box-sizing: border-box; display: inline-block; height: 14px; line-height: 14px; margin-right: 6px; width: 14px;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href=&quot;https://www.receita.pb.gov.br/ser/component/mailto/?tmpl=component&amp;amp;template=base&amp;amp;link=4d964772dc3b95ce8eebc478b73b87b52bad4007&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #304f91; font-size: 12px; text-align: center; text-decoration: none; white-space: nowrap;&quot; title=&quot;Email&quot;&gt;&lt;span class=&quot;icon-envelope&quot; style=&quot;box-sizing: border-box; display: inline-block; height: 14px; line-height: 14px; margin-right: 6px; width: 14px;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;content-text&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;
&lt;div class=&quot;item-image obj-to-left&quot; style=&quot;box-sizing: border-box; float: left !important; margin: 4px 16.9375px 10px 0px; max-width: 40%;&quot;&gt;
&lt;div class=&quot;img-responsive&quot; style=&quot;box-sizing: border-box; height: auto; max-width: 100%;&quot;&gt;
&lt;a class=&quot;set-modal modal_link cboxElement&quot; data-modal-title=&quot;Imagem&quot; href=&quot;https://www.receita.pb.gov.br/ser/images/conteudo/fotos/IMAGEM_NFC-e_OK.jpg&quot; rel=&quot;imageGroup&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #304f91; max-width: 100%; position: relative; text-decoration: none;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;img-responsive&quot; src=&quot;https://www.receita.pb.gov.br/ser/images/conteudo/fotos/IMAGEM_NFC-e_OK.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; height: auto; max-width: 100%; vertical-align: middle;&quot; title=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Em expansão, as emissões de Nota Fiscal Eletrônica ao Consumidor (NFC-e) voltaram a crescer na Paraíba no mês de outubro. As empresas varejistas paraibanas emitiram 17,633 milhões de NFC-e no último mês, alta de 8,38% sobre setembro. No acumulado de janeiro a outubro, o valor já soma um patamar de 139,181 milhões de notas eletrônicas emitidas, o que leva a Paraíba a permanecer na liderança entre os nove Estados da Região Nordeste.&lt;/div&gt;
&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
Um dos principais motivos do crescimento de emissão de outubro veio das empresas do varejo paraibanas com receita anual acima de R$ 3,6 milhões, no exercício de 2014, que passaram a emitir a NFC-e na Paraíba. A secretaria de Estado da Receita da Paraíba implantou a emissão de NFC-e para as empresas do varejo paraibano em julho de 2015. O novo serviço faz parte da modernização da Receita Estadual, que traz redução de custos para empresas do setor, garante transparência e permite acesso eletrônico do cupom fiscal aos consumidores (via QR-Code e armazenamento eletrônico).&lt;/div&gt;
&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;box-sizing: border-box;&quot;&gt;SETE SEGMENTOS JÁ EMITEM&lt;/b&gt;&amp;nbsp;– Em apenas 16 meses de implantação de obrigatoriedade, a Receita Estadual já englobou sete segmentos. A obrigatoriedade foi iniciada em julho de 2015 com as grandes varejistas com faturamento superior a R$ 25 milhões ao ano. No segundo semestre do ano passado, as empresas do comércio varejista de combustíveis de Gás Liquefeito de Petróleo (postos de combustíveis) e revendedores de gás de cozinha; bares, restaurantes, lanchonetes, buffet, casas de chá, cantinas e similares e de bebidas, com faturamento acima de R$ 600 mil no ano, foram incluídos na NFC-e na Paraíba. Em 2016, o calendário já incluiu as empresas com faturamento acima de R$ 9 milhões (em janeiro) e, em julho, aquelas com faturamento acima de R$ 5,5 milhões. Em outubro deste ano, as empresas do varejo com receitas acima de R$ 3,6 milhões foram incluídas no programa de implantação da NFC-e.&lt;/div&gt;
&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;box-sizing: border-box;&quot;&gt;REDUÇÃO DE CUSTO&lt;/b&gt;&amp;nbsp;– A implantação do novo serviço da NFC-e tem como objetivo reduzir os custos das empresas varejistas com a dispensa do uso de impressora fiscal ECF (Emissor do Cupom Fiscal), pois cria a possibilidade de abrir novos caixas de pagamento com impressoras não fiscais. Já para o consumidor, além da compra ficar mais simplificada, terá acesso aos documentos fiscais, que ficarão arquivados de forma eletrônica, no portal da SER-PB (www.receita.pb.gov.br), garantindo autenticidade de sua transação comercial e recuperação do cupom fiscal a qualquer momento.&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;content-text&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;content-text&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;content-text&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;
link:&amp;nbsp;&lt;a href=&quot;https://www.receita.pb.gov.br/ser/announcements/3693-emissoes-de-nota-fiscal-eletronica-ao-consumidor-nfc-e-voltam-a-expandir-em-outubro-na-paraiba&quot;&gt;https://www.receita.pb.gov.br/ser/announcements/3693-emissoes-de-nota-fiscal-eletronica-ao-consumidor-nfc-e-voltam-a-expandir-em-outubro-na-paraiba&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/7064573585676286375/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/11/emissoes-de-nota-fiscal-eletronica-ao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/7064573585676286375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/7064573585676286375'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/11/emissoes-de-nota-fiscal-eletronica-ao.html' title='Emissões de Nota Fiscal Eletrônica ao Consumidor (NFC-e) na Paraíba'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-4751522430148128654</id><published>2016-08-21T19:20:00.000-07:00</published><updated>2016-08-21T19:20:06.188-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Programa de computador!</title><content type='html'>&lt;span style=&quot;font-size: x-large;&quot;&gt;Programa&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
É uma coleção de instruções que descrevem uma tarefa a ser realizada por um computador.&lt;br /&gt;
(LAUREANO, 2005, p. 4).</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/4751522430148128654/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/programa-de-computador.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4751522430148128654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4751522430148128654'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/programa-de-computador.html' title='Programa de computador!'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-7001871563595593315</id><published>2016-08-21T19:17:00.000-07:00</published><updated>2016-08-21T19:17:16.136-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Programa Compilador</title><content type='html'>&lt;span style=&quot;font-size: x-large;&quot;&gt;Compilador&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
É um programa que traduz algoritmos construídos em uma determinada linguagem de programação para arquivos em linguagem de máquina, ou seja, possíveis de serem executados em computadores.</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/7001871563595593315/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/programa-compilador.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/7001871563595593315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/7001871563595593315'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/programa-compilador.html' title='Programa Compilador'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-8651373747981264201</id><published>2016-08-21T19:12:00.000-07:00</published><updated>2016-08-21T19:12:19.631-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Linguagem de programação!</title><content type='html'>&lt;span style=&quot;font-size: x-large;&quot;&gt;Linguagem de programação&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
É um método padronizado para expressar instruções para um computador.&lt;br /&gt;
(LAUREANO, 2005, p. 4).</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/8651373747981264201/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/linguagem-de-programacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/8651373747981264201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/8651373747981264201'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/linguagem-de-programacao.html' title='Linguagem de programação!'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-4225719189383486913</id><published>2016-08-20T19:37:00.001-07:00</published><updated>2016-08-20T19:37:26.212-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Operadores aritméticos e expressões aritméticas!</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-large;&quot;&gt;Operadores aritméticos e expressões&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-large;&quot;&gt;aritméticas&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Os operadores aritméticos são símbolos que representam operações aritméticas,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ou seja, as operações matemáticas básicas. O Quadro 2.2 apresenta os&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;operadores aritméticos que utilizaremos neste curso.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Operadores aritméticos&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Operador Operação matemática&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUd2XAzEaegAN3hjnSPZNf87LPR03FgN8zK0SctgZYBFH6mPYLTmXD44XqkAdVvU7K0SMDLsOsIsW56bEth5dUsEtA9r7cSHwwivHT-tUl-MwdQKuMqA9plu6e4i-BazfhXV2vSSqx6h4/s1600/Operacao+aritimetica.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;171&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUd2XAzEaegAN3hjnSPZNf87LPR03FgN8zK0SctgZYBFH6mPYLTmXD44XqkAdVvU7K0SMDLsOsIsW56bEth5dUsEtA9r7cSHwwivHT-tUl-MwdQKuMqA9plu6e4i-BazfhXV2vSSqx6h4/s640/Operacao+aritimetica.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Quadro 2.2:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Os operadores aritméticos são utilizados para formar expressões aritméticas.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;As expressões aritméticas são formadas por operadores aritméticos que&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;agem sobre operandos. Os operandos podem ser variáveis ou constantes&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;do tipo numérico, ou seja, inteiros ou reais.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Abaixo temos dois exemplos de&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;expressões aritméticas:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwcWQG2GHNSBu8hPxTnoO5u13rBx3nh6Htl4KhmipL5WYKC9Ph1YsGmR-raR5Ah9bbkvGQC9ngJcEkmNDm1fGBzJZLJ2sWEZsBJCimm2Hf8ZnWEfh3pCdwAeB7ODvm4zPz2RVziP3kiw4/s1600/Expressoes+aritimetica.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwcWQG2GHNSBu8hPxTnoO5u13rBx3nh6Htl4KhmipL5WYKC9Ph1YsGmR-raR5Ah9bbkvGQC9ngJcEkmNDm1fGBzJZLJ2sWEZsBJCimm2Hf8ZnWEfh3pCdwAeB7ODvm4zPz2RVziP3kiw4/s320/Expressoes+aritimetica.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Para resolver expressões aritméticas formadas por mais de um operador,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;deve-se utilizar uma ordem de precedência entre os mesmos. O Quadro 2.3&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;exibe essa ordem de precedência.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ordem de precedência entre operadores aritméticos&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Prioridade Operador Operação&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaa7Yom2KiVaTbvCpXf0ZThfnZVjKbMOMuRZst45e4aX-_YMGOXMWPZPZOaA1u7VHKXSMa-7nUWKTKer07K0GbotFw8_5fSR3S0RBy0PdDJlCVf5PJ6z1wCMe4kffRVyeGOtobisF57To/s1600/operacores+aritimeticos.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;114&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaa7Yom2KiVaTbvCpXf0ZThfnZVjKbMOMuRZst45e4aX-_YMGOXMWPZPZOaA1u7VHKXSMa-7nUWKTKer07K0GbotFw8_5fSR3S0RBy0PdDJlCVf5PJ6z1wCMe4kffRVyeGOtobisF57To/s640/operacores+aritimeticos.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Quadro 2.3&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Além da ordem de prioridades definida acima, podemos utilizar parênteses.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Assim, resolvemos primeiro as expressões contidas nos parênteses mais&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;internos, seguindo a ordem de precedência entre operadores, passando&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;depois para os parênteses mais externos.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Por exemplo, na expressão:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI_XPcUvFo32hGpAJt7SeXgbHVKXbO4CJqr6-oRwtpOiOkKuP-lAZHczCz1pTAbJRfO-eTQZQMqJaOHOiLFdSNRA5RQoRaP3lfreVQm5usakoNZ3_B1My5CXc_ZeM71Irj_4Q16-e0ywg/s1600/Expressoes+aritimetica+2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;97&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI_XPcUvFo32hGpAJt7SeXgbHVKXbO4CJqr6-oRwtpOiOkKuP-lAZHczCz1pTAbJRfO-eTQZQMqJaOHOiLFdSNRA5RQoRaP3lfreVQm5usakoNZ3_B1My5CXc_ZeM71Irj_4Q16-e0ywg/s400/Expressoes+aritimetica+2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Primeiro somamos nota2 a nota3. O resultado é divido por 2 e só depois&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;somamos com nota 1.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Um fato interessante é que o resultado da execução de expressões&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;aritméticas é sempre um valor numérico (inteiro ou real) que pode então&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ser atribuído a uma variável numérica por meio do uso do comando de&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;atribuição estudado anteriormente.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Resumindo:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;• expressões aritméticas: uma conta a ser feita;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;• operadores aritméticos: os sinais + - * / %;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;• operandos aritméticos: constantes ou variáveis (inteiras ou reais), ou outra&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;expressão aritmética;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;• precedência na ordem dos cálculos: a mesma da matemática, podendo&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;haver vários níveis de parênteses; não há colchetes [ ] ou chaves { }.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Como exemplo, vamos criar um algoritmo para ler e multiplicar dois números&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;inteiros e exibir o resultado.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;É importante observar cada linha desta sequência:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieaQOPi_Ey2etSTwfGh9WQe5C6nbQefdQhzUw_T8GaXzyFH8mcGulQnhawM_1e8uyJw16LDkUP9ujZg1goChh3V_X4tqzF_CDydWQB3r8WCA-W3RO0eg3kAp0OZGAPjsVzGnaYlabeAsI/s1600/protugol+espressoes+aritimeticas.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;315&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieaQOPi_Ey2etSTwfGh9WQe5C6nbQefdQhzUw_T8GaXzyFH8mcGulQnhawM_1e8uyJw16LDkUP9ujZg1goChh3V_X4tqzF_CDydWQB3r8WCA-W3RO0eg3kAp0OZGAPjsVzGnaYlabeAsI/s640/protugol+espressoes+aritimeticas.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Vamos entender todas as linhas do nosso algoritmo:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 1 ... Nome do programa.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 2 ... Indica o início do bloco de declaração de variáveis.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 3 ... Declaração das três variáveis do tipo inteiro necessárias ao programa.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 4 ... Indica o início do bloco de instruções do algoritmo.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 5 ... O comando escreva exibirá na tela do computador uma mensagem&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;que solicita a digitação do primeiro número.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 6 ... O primeiro número digitado será lido e armazenado na variável num1.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 7 ... O comando escreva exibirá na tela do computador uma mensagem&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;que solicita a digitação do segundo número.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 8 ... O segundo número digitado será lido e armazenado na variável num2.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 9 ... A variável mult receberá o resultado da multiplicação do primeiro&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;número pelo segundo número.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 10 ... O comando escreva exibirá na tela do computador uma&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;mensagem com o resultado da multiplicação.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;linha 11 ... Indica o fim do algoritmo.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/4225719189383486913/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/operadores-aritmeticos-e-expressoes.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4225719189383486913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4225719189383486913'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/operadores-aritmeticos-e-expressoes.html' title='Operadores aritméticos e expressões aritméticas!'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUd2XAzEaegAN3hjnSPZNf87LPR03FgN8zK0SctgZYBFH6mPYLTmXD44XqkAdVvU7K0SMDLsOsIsW56bEth5dUsEtA9r7cSHwwivHT-tUl-MwdQKuMqA9plu6e4i-BazfhXV2vSSqx6h4/s72-c/Operacao+aritimetica.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-7288045252186773336</id><published>2016-08-20T18:22:00.000-07:00</published><updated>2016-08-20T18:46:09.232-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Algoritmo em Portugol</title><content type='html'>&lt;div class=&quot;&quot; data-block=&quot;true&quot; data-editor=&quot;74sah&quot; data-offset-key=&quot;8vlce-0-0&quot; style=&quot;background-color: white; color: #1d2129; line-height: 18px; white-space: pre-wrap;&quot;&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;8vlce-0-0&quot; style=&quot;direction: ltr; font-family: inherit; position: relative;&quot;&gt;
&lt;span data-offset-key=&quot;8vlce-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Algoritmo&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;8vlce-0-0&quot; style=&quot;direction: ltr; font-family: inherit; font-size: 14px; position: relative;&quot;&gt;
&lt;span data-offset-key=&quot;8vlce-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;8vlce-0-0&quot; style=&quot;direction: ltr; font-family: inherit; font-size: 14px; position: relative;&quot;&gt;
&lt;span data-offset-key=&quot;8vlce-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;8vlce-0-0&quot; style=&quot;direction: ltr; font-family: inherit; font-size: 14px; position: relative;&quot;&gt;
&lt;span data-offset-key=&quot;8vlce-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;8vlce-0-0&quot; style=&quot;direction: ltr; position: relative;&quot;&gt;
&lt;span data-offset-key=&quot;8vlce-0-0&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Algoritmo completo em Portugol. &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;&quot; data-block=&quot;true&quot; data-editor=&quot;74sah&quot; data-offset-key=&quot;6mitd-0-0&quot; style=&quot;background-color: white; color: #1d2129; line-height: 18px; white-space: pre-wrap;&quot;&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;6mitd-0-0&quot; style=&quot;direction: ltr; position: relative;&quot;&gt;
&lt;span data-offset-key=&quot;6mitd-0-0&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br data-text=&quot;true&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;&quot; data-block=&quot;true&quot; data-editor=&quot;74sah&quot; data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;background-color: white;&quot;&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;color: #1d2129; direction: ltr; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Como exemplo, vamos criar um algoritmo: solicitamos que o usuário digite seu nome e depois imprimimos na tela uma saudação ao mesmo.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;color: #1d2129; direction: ltr; font-family: inherit; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;color: #1d2129; direction: ltr; font-family: inherit; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #1d2129; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; text-align: center; white-space: pre-wrap;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGa9dxXm0TrQSmGztxGswnh8QK3Xx1FDAxtXv-o66mf8_3daTWGBwagf1BYsHxZthrw3hyQllAPXUpkisMczZjjBndUUx3MZMLFNpjvpEWQ5Nhpb2HQT7jS2OgC80UfALtbB12p2dzTb0/s1600/portugol.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGa9dxXm0TrQSmGztxGswnh8QK3Xx1FDAxtXv-o66mf8_3daTWGBwagf1BYsHxZthrw3hyQllAPXUpkisMczZjjBndUUx3MZMLFNpjvpEWQ5Nhpb2HQT7jS2OgC80UfALtbB12p2dzTb0/s640/portugol.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;direction: ltr; position: relative;&quot;&gt;
&lt;div style=&quot;color: #1d2129; font-family: inherit; font-size: 14px; line-height: 18px; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;color: #1d2129; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;color: #1d2129; font-family: Arial, Helvetica, sans-serif; line-height: 18px; white-space: pre-wrap;&quot;&gt;Como exemplo, vamos criar um algoritmo para ler e multiplicar dois números inteiros e exibir o resultado.
&lt;/span&gt;&lt;br /&gt;
&lt;span data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;color: #1d2129; font-family: Arial, Helvetica, sans-serif; line-height: 18px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;color: #1d2129; font-family: Arial, Helvetica, sans-serif; line-height: 18px; white-space: pre-wrap;&quot;&gt;É importante observar cada linha desta sequência:&lt;/span&gt;&lt;br /&gt;
&lt;span data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;color: #1d2129; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSFngk8c9P0xlNNDtDpdNiyppOc_j-HfJSN_VlvMrfrlYtLkKUkG6-M_7-qiWWw_FBvQe2TRIhIf-SXd4A1DwsBYaPixRA0uLQtwrTJjZrRScQySw5hWhBPYKucTQK-FG5erPGUjFd58k/s1600/protugol+espressoes+aritimeticas.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;316&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSFngk8c9P0xlNNDtDpdNiyppOc_j-HfJSN_VlvMrfrlYtLkKUkG6-M_7-qiWWw_FBvQe2TRIhIf-SXd4A1DwsBYaPixRA0uLQtwrTJjZrRScQySw5hWhBPYKucTQK-FG5erPGUjFd58k/s640/protugol+espressoes+aritimeticas.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span data-offset-key=&quot;fd5u2-0-0&quot; style=&quot;color: #1d2129; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/7288045252186773336/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/algoritmo-em-portugol.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/7288045252186773336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/7288045252186773336'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/algoritmo-em-portugol.html' title='Algoritmo em Portugol'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGa9dxXm0TrQSmGztxGswnh8QK3Xx1FDAxtXv-o66mf8_3daTWGBwagf1BYsHxZthrw3hyQllAPXUpkisMczZjjBndUUx3MZMLFNpjvpEWQ5Nhpb2HQT7jS2OgC80UfALtbB12p2dzTb0/s72-c/portugol.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-6364236690425224148</id><published>2016-08-19T20:47:00.001-07:00</published><updated>2016-08-19T20:47:07.698-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Lógica na Programação</title><content type='html'>Lógica&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQl6LQnxB90RkVTcQM7Aj4ePL6S97G93QEIoraw4MXzl8_Z3PEvxyYd7UBqCdm-iKzafAaTnVPIsqVC1DqvcORN0bJPeg1BFHfn9dLmfbGKBIqU7zbNhsb3f2m3EYJkd6j5eq1cZnBAlE/s1600/logica.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQl6LQnxB90RkVTcQM7Aj4ePL6S97G93QEIoraw4MXzl8_Z3PEvxyYd7UBqCdm-iKzafAaTnVPIsqVC1DqvcORN0bJPeg1BFHfn9dLmfbGKBIqU7zbNhsb3f2m3EYJkd6j5eq1cZnBAlE/s400/logica.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Pode ser vista como a arte de pensar corretamente. A lógica visa a colocar ordem no pensamento.&lt;br /&gt;
(FARRER, 1999).</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/6364236690425224148/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/logica-na-programacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/6364236690425224148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/6364236690425224148'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/logica-na-programacao.html' title='Lógica na Programação'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQl6LQnxB90RkVTcQM7Aj4ePL6S97G93QEIoraw4MXzl8_Z3PEvxyYd7UBqCdm-iKzafAaTnVPIsqVC1DqvcORN0bJPeg1BFHfn9dLmfbGKBIqU7zbNhsb3f2m3EYJkd6j5eq1cZnBAlE/s72-c/logica.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-8070962449992031002</id><published>2016-08-19T20:40:00.000-07:00</published><updated>2016-08-19T20:40:32.122-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Testes na Programação</title><content type='html'>&lt;span style=&quot;font-size: x-large;&quot;&gt;Testes&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju-0L18otldurZNVyB8PFRxz3RncNnAPvCpUWEAir71CuNQZ04Nip4nGNESfNC1eWn83-ex_XCIRUo8cnnl-DhuGPwourMu1Lda1pge-aF8poZ6MFCjjOcavA07pV0dZVmABaQ-5L4Kj4/s1600/testes.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;186&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju-0L18otldurZNVyB8PFRxz3RncNnAPvCpUWEAir71CuNQZ04Nip4nGNESfNC1eWn83-ex_XCIRUo8cnnl-DhuGPwourMu1Lda1pge-aF8poZ6MFCjjOcavA07pV0dZVmABaQ-5L4Kj4/s400/testes.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Determinam quais ações serão executadas; são chamados de estruturas de seleção ou estruturas de decisão.</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/8070962449992031002/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/testes-na-programacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/8070962449992031002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/8070962449992031002'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/testes-na-programacao.html' title='Testes na Programação'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju-0L18otldurZNVyB8PFRxz3RncNnAPvCpUWEAir71CuNQZ04Nip4nGNESfNC1eWn83-ex_XCIRUo8cnnl-DhuGPwourMu1Lda1pge-aF8poZ6MFCjjOcavA07pV0dZVmABaQ-5L4Kj4/s72-c/testes.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-2140294810114034661</id><published>2016-08-19T20:29:00.001-07:00</published><updated>2016-08-19T20:29:55.622-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Memória na Programação</title><content type='html'>&lt;span style=&quot;font-size: x-large;&quot;&gt;Memória&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfXtGOHMjl_S68_uriq7WroX9ObqWMrlCCINY8JP9hkChMAJxGCZhs-UGbPJx3udZcjNdQYHLYbEOKBdCrEN3jMs-eBkLOuUbpgXfTSrNGgBE1UG76H1Z0qZ634GvNQmtB_6-I2a5NKqM/s1600/memoria.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;229&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfXtGOHMjl_S68_uriq7WroX9ObqWMrlCCINY8JP9hkChMAJxGCZhs-UGbPJx3udZcjNdQYHLYbEOKBdCrEN3jMs-eBkLOuUbpgXfTSrNGgBE1UG76H1Z0qZ634GvNQmtB_6-I2a5NKqM/s400/memoria.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;Meio físico para armazenar dados temporariamente ou permanentemente.&lt;br /&gt;
(TANENBAUM, 1997, p.212).</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/2140294810114034661/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/memoria-na-programacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/2140294810114034661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/2140294810114034661'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/memoria-na-programacao.html' title='Memória na Programação'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfXtGOHMjl_S68_uriq7WroX9ObqWMrlCCINY8JP9hkChMAJxGCZhs-UGbPJx3udZcjNdQYHLYbEOKBdCrEN3jMs-eBkLOuUbpgXfTSrNGgBE1UG76H1Z0qZ634GvNQmtB_6-I2a5NKqM/s72-c/memoria.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-3675661081119638209</id><published>2016-08-19T20:22:00.001-07:00</published><updated>2016-08-19T20:23:52.455-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Variável na programação</title><content type='html'>&lt;span style=&quot;font-size: x-large;&quot;&gt;Variável&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRfY5se2C6j3pBoONlQaHwFAOHIuaRs_Oj3QUgbatqHT_Tee2Z-S9iBb0M7ACubbFeRYne9fhERS-gg-516dZyd-3NHfaSiBLN0IbxbFm-FeEViaor3RlmnBFFByh0Os3i-1j8QUccq7Y/s1600/variaveis.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRfY5se2C6j3pBoONlQaHwFAOHIuaRs_Oj3QUgbatqHT_Tee2Z-S9iBb0M7ACubbFeRYne9fhERS-gg-516dZyd-3NHfaSiBLN0IbxbFm-FeEViaor3RlmnBFFByh0Os3i-1j8QUccq7Y/s400/variaveis.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; É uma posição nomeada de memória, que é usada para guardar um valor que pode ser modificado &amp;nbsp;pelo programa.&lt;br /&gt;
(LAUREANO, 2005, p. 12</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/3675661081119638209/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/variavel-na-programacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/3675661081119638209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/3675661081119638209'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/variavel-na-programacao.html' title='Variável na programação'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRfY5se2C6j3pBoONlQaHwFAOHIuaRs_Oj3QUgbatqHT_Tee2Z-S9iBb0M7ACubbFeRYne9fhERS-gg-516dZyd-3NHfaSiBLN0IbxbFm-FeEViaor3RlmnBFFByh0Os3i-1j8QUccq7Y/s72-c/variaveis.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-8547501930892965288</id><published>2016-08-19T20:15:00.000-07:00</published><updated>2016-08-19T20:24:40.991-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Algoritmo na Programação</title><content type='html'>&lt;div style=&quot;background-color: white; color: #1d2129; font-family: helvetica, arial, sans-serif; line-height: 19.32px; margin-bottom: 6px;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;Algoritmo&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #1d2129; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 19.32px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2dNqbXc-7JsPBVQbRo1V1b-QyhSz5nCkcHG9DmNhPEp5Vm-Z9o0c0RvDUl0b9fN9JZ4Hbzpt1vGuvN98Jzh0fzwzUgWgNTuz8AA48fY8NKyJtvZGuHwdv-7j0uvfoQPC3Ir4mdOAaLz0/s1600/algoritimo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2dNqbXc-7JsPBVQbRo1V1b-QyhSz5nCkcHG9DmNhPEp5Vm-Z9o0c0RvDUl0b9fN9JZ4Hbzpt1vGuvN98Jzh0fzwzUgWgNTuz8AA48fY8NKyJtvZGuHwdv-7j0uvfoQPC3Ir4mdOAaLz0/s400/algoritimo.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #1d2129; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 19.32px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #1d2129; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 19.32px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #1d2129; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 19.32px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Formalmente é uma sequência&amp;nbsp;finita de passos que levam&amp;nbsp;à execução de uma tarefa.&amp;nbsp;&lt;span class=&quot;text_exposed_show&quot; style=&quot;display: inline; font-family: inherit;&quot;&gt;&lt;br /&gt;Podemos pensar em algoritmo&amp;nbsp;como uma receita, uma&amp;nbsp;sequência de instruções que dão&amp;nbsp;cabo de uma meta específica.&lt;br /&gt;(FORBELLONE et al., 2005).&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/8547501930892965288/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/algoritmo-na-programacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/8547501930892965288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/8547501930892965288'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/algoritmo-na-programacao.html' title='Algoritmo na Programação'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2dNqbXc-7JsPBVQbRo1V1b-QyhSz5nCkcHG9DmNhPEp5Vm-Z9o0c0RvDUl0b9fN9JZ4Hbzpt1vGuvN98Jzh0fzwzUgWgNTuz8AA48fY8NKyJtvZGuHwdv-7j0uvfoQPC3Ir4mdOAaLz0/s72-c/algoritimo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-4209854291540504034</id><published>2016-08-19T20:08:00.002-07:00</published><updated>2016-08-19T20:25:12.513-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Constante em Portugol</title><content type='html'>&lt;span style=&quot;font-size: x-large;&quot;&gt;Constante&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbPuMXX4dL1AGLxRR2QcMEa_SJtg2fOaZlV4Q9hoyaSRAJVoFG_zqrk86vMD0SqysgTmXwvj0Dcuo1Whl37farFxnOd30m2IQoGxlLMdiVNRKDhqtdntarkQSXCB3DaqJDdkzmh7Rox3w/s1600/constante.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;118&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbPuMXX4dL1AGLxRR2QcMEa_SJtg2fOaZlV4Q9hoyaSRAJVoFG_zqrk86vMD0SqysgTmXwvj0Dcuo1Whl37farFxnOd30m2IQoGxlLMdiVNRKDhqtdntarkQSXCB3DaqJDdkzmh7Rox3w/s640/constante.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;É uma variável com valor pré-definido que não pode ser modificado por nenhuma função de um programa.&lt;br /&gt;
&lt;br /&gt;
(LAUREANO, 2005, p.16)</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/4209854291540504034/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/constante-em-portugol.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4209854291540504034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4209854291540504034'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/08/constante-em-portugol.html' title='Constante em Portugol'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbPuMXX4dL1AGLxRR2QcMEa_SJtg2fOaZlV4Q9hoyaSRAJVoFG_zqrk86vMD0SqysgTmXwvj0Dcuo1Whl37farFxnOd30m2IQoGxlLMdiVNRKDhqtdntarkQSXCB3DaqJDdkzmh7Rox3w/s72-c/constante.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-3646789837908007558</id><published>2016-03-02T14:02:00.000-08:00</published><updated>2016-03-02T14:02:19.541-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fique por dentro"/><title type='text'>Vírus de NOTA FISCAL de e-mail por xml ou pdf</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;&quot; data-block=&quot;true&quot; data-offset-key=&quot;4mjkn-0-0&quot; style=&quot;background-color: white; color: #141823; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; white-space: pre-wrap;&quot;&gt;
&lt;h2 style=&quot;direction: ltr; position: relative;&quot;&gt;
&lt;span data-offset-key=&quot;4mjkn-0-0&quot;&gt;Como conhecer um vírus de NOTA FISCAL de e-mail&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div class=&quot;&quot; data-block=&quot;true&quot; data-offset-key=&quot;ckftm-0-0&quot; style=&quot;background-color: white; color: #141823; font-size: 14px; line-height: 18px; white-space: pre-wrap;&quot;&gt;
&lt;h3 style=&quot;direction: ltr; font-family: helvetica, arial, sans-serif; position: relative; text-align: justify;&quot;&gt;
&lt;span data-offset-key=&quot;ckftm-0-0&quot;&gt;verificando a chave de acesso.&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;ckftm-0-0&quot; style=&quot;direction: ltr; position: relative; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span data-offset-key=&quot;3lqon-0-0&quot;&gt;      Em primeiro lugar, a chave da nota contem o CNPJ: &quot;0200083100019&quot; de quem emitiu, antes do mesmo tem a data de emissão: 1509, escrito em formato de trás para frente, após o CNPJ tem o modelo da nota que pode ser &quot;55&quot; DANFE, OU &quot;65&quot; NFC-e e junto t&lt;/span&gt;em a serie da nota &quot;001&quot;, apos isso vem o numero da nota &quot;00169180&quot; que apos o numero da nota vem repetindo o numero da nota &quot;00169180&quot; novamente com o ultimo digito verificador &quot;7&quot;.   &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;&quot; data-block=&quot;true&quot; data-offset-key=&quot;5ksul-0-0&quot;&gt;
&lt;h3 style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
Verifique a verdadeira CHAVE DA NOTA.&lt;/h3&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; direction: ltr; position: relative;&quot;&gt;
&lt;b style=&quot;color: #141823; font-family: helvetica, arial, sans-serif; line-height: 18px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;25150902000831000199550010001691801001691807&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Agora verifique a imagem da figura-01 abaixo:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #141823; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; text-align: center; white-space: pre-wrap;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFR-zcZjaNCRBfSARzbh2iAV8TkWqqA_DmAkY5_3rwW8LtktOFYlsdYeCemcSgcaYXdh5gJaihjMh4qIHd2jf1wFwHJpK6CUeIrtpLiE7nJ7lyLGYMk54T_6UTTR6rwLZty8pRFGRfa_4/s1600/CHAVE+DE+UMA+NOTA+QUE+NAO+E+NOTA+COM+ORIGINAL.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;264&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFR-zcZjaNCRBfSARzbh2iAV8TkWqqA_DmAkY5_3rwW8LtktOFYlsdYeCemcSgcaYXdh5gJaihjMh4qIHd2jf1wFwHJpK6CUeIrtpLiE7nJ7lyLGYMk54T_6UTTR6rwLZty8pRFGRfa_4/s640/CHAVE+DE+UMA+NOTA+QUE+NAO+E+NOTA+COM+ORIGINAL.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura 01&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;Verificando um link anexo.&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Por ultimo também pode vir um link dentro do e-mail como na imagem da figura-02 abaixo:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlYPy_qea9_wUGZu0ad8sontMopZmOWKX4TMVpKcoLDstinSYXCp6VbyKgF1xX4cD5x_bplJdaIpYJCEMhZFRfar78MTZsMbRNDj8Ahn6lqpuC2h9wguBaDCA1Kv4kH-Cci8ZETLHlhXY/s1600/CHAVE+DE+UMA+NOTA+QUE+NAO+E+NOTA+com+virus.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;356&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlYPy_qea9_wUGZu0ad8sontMopZmOWKX4TMVpKcoLDstinSYXCp6VbyKgF1xX4cD5x_bplJdaIpYJCEMhZFRfar78MTZsMbRNDj8Ahn6lqpuC2h9wguBaDCA1Kv4kH-Cci8ZETLHlhXY/s640/CHAVE+DE+UMA+NOTA+QUE+NAO+E+NOTA+com+virus.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura 02&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;Verificando um verdadeiro e-mail.&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Veja a seguir como seria uma nota fiscal recebida no seu e-mail na figura-03 abaixo:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Simples e fácil de identifica que os anexos vem com abreviações na extensão do arquivo com *.XML e o *.PDF, então não tem como erra e pegar vírus no seu computador.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF0NQJGHT2hvM_uVe8i2I1orMht3woPnukvy3Bv4tS1m16F1a2ATmmtHbFWRaU34623v-FkfSM13qfFrQha0ZStpfb3KWkRXxRv81ci05fk5T-LrNaHan46q-43IG5z8syDgaK_4ZI1QE/s1600/CHAVE+DE+UMA+NOTA+QUE+NAO+E+NOTA+COM+ORIGINAL+II.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF0NQJGHT2hvM_uVe8i2I1orMht3woPnukvy3Bv4tS1m16F1a2ATmmtHbFWRaU34623v-FkfSM13qfFrQha0ZStpfb3KWkRXxRv81ci05fk5T-LrNaHan46q-43IG5z8syDgaK_4ZI1QE/s640/CHAVE+DE+UMA+NOTA+QUE+NAO+E+NOTA+COM+ORIGINAL+II.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura 03&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;span data-offset-key=&quot;5ksul-0-0&quot;&gt;Obrigado por compartilha conhecimentos e com isso&lt;/span&gt; compartilhe com seus amigos.&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;_1mf _1mj&quot; data-offset-key=&quot;5ksul-0-0&quot; style=&quot;background-color: white; color: #141823; direction: ltr; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 18px; position: relative; white-space: pre-wrap;&quot;&gt;
Até a próxima.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/3646789837908007558/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/03/virus-de-nota-fiscal-de-e-mail-por-xml.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/3646789837908007558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/3646789837908007558'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/03/virus-de-nota-fiscal-de-e-mail-por-xml.html' title='Vírus de NOTA FISCAL de e-mail por xml ou pdf'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFR-zcZjaNCRBfSARzbh2iAV8TkWqqA_DmAkY5_3rwW8LtktOFYlsdYeCemcSgcaYXdh5gJaihjMh4qIHd2jf1wFwHJpK6CUeIrtpLiE7nJ7lyLGYMk54T_6UTTR6rwLZty8pRFGRfa_4/s72-c/CHAVE+DE+UMA+NOTA+QUE+NAO+E+NOTA+COM+ORIGINAL.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-4835055795532543490</id><published>2016-01-19T20:06:00.001-08:00</published><updated>2016-01-19T20:11:57.312-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Construir uma Classe com o Método de validação do CNPJ em c#!</title><content type='html'>&lt;h2&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Classe com o Método de validação do CNPJ&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9QB7JIfkVwd4XCbL-o3mmsk-n0tU8yHCPBg4rnEE1TLxO2kYOb1xBJvTAo6IV17DQbygaKtszsV581ijn3Hgj1hkrb7iLnlTeyN-Opp5J4ReyDMmweUzKpp3pLDib8sVUFp5at4k95PI/s1600/valida%25C3%25A7%25C3%25A3o+de+cnpj+alexssandrolima+csharp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9QB7JIfkVwd4XCbL-o3mmsk-n0tU8yHCPBg4rnEE1TLxO2kYOb1xBJvTAo6IV17DQbygaKtszsV581ijn3Hgj1hkrb7iLnlTeyN-Opp5J4ReyDMmweUzKpp3pLDib8sVUFp5at4k95PI/s640/valida%25C3%25A7%25C3%25A3o+de+cnpj+alexssandrolima+csharp.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Validação&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;Olá caros amigos e participante do meu blog, vou mostra como fiz meu método de validação em uma classe com o retorno que foi verdadeiro ou falso o teste para que o sistema continue com usa&amp;nbsp;execução,&amp;nbsp;sendo assim foi modificado do jeito em que mostre ao&amp;nbsp;usuário&amp;nbsp;se ele digitou corretamente ou não o CNPJ no &quot;textBox&quot;, ao pesquisar em&amp;nbsp;vários&amp;nbsp;sites vi&amp;nbsp;que&amp;nbsp;não&amp;nbsp;existia este&amp;nbsp;método&amp;nbsp;abaixo e por isso modifiquei e agora estou&amp;nbsp;postando&amp;nbsp;para que vejam e aprendam que existe&amp;nbsp;vários&amp;nbsp;modos de validação de um texto&amp;nbsp;digitado.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Local que foi extraído o código de validação&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;Segue anexo o link do site do Sintegra que tem o modelo do código para &quot;Javascript&quot; que foi modificado para reconhecimento no Csharp.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://saplic.receita.pb.gov.br/sintegra/SINf_ConsultaSintegra.jsp&quot; target=&quot;_blank&quot;&gt;Site de Consulta do CNPJ&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Código em Javascript a que foi copiado&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Aqui vou mostra o código completo em que foi modificado para o c#.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;com o lado direito do mouse clique em &quot;Exibir&amp;nbsp;Código-Fonte&quot;, automaticamente o site mostra o&amp;nbsp;código abaixo em linguagem de javascript.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;script language=&quot;JAVASCRIPT&quot;&gt;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;function ValidarCGC(theForm) {&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;if (theForm.nrDocumento.value == &quot;&quot;) {&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;alert(&quot;Por favor, preencha o campo \&quot;CNPJ\&quot;.&quot;);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;theForm.nrDocumento.focus();&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;return (false);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;}&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;if (theForm.nrDocumento.value == &#39;00000000000000&#39;) {&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;alert(&quot;Valor de \&quot;CNPJ\&quot; inválido.&quot;);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;theForm.nrDocumento.focus();&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;return (false);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;if (theForm.nrDocumento.value.length &lt; 14) {&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;    &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;alert(&quot;Por favor, preencha o campo \&quot;CNPJ\&quot; com 14 dígitos.&quot;);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;    theForm.nrDocumento.focus();&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;    &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;return (false);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;}&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;if (theForm.nrDocumento.value.length &gt; 14)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;  &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;{&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;    &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;alert(&quot;Por favor, preencha o campo \&quot;CNPJ\&quot; com 14 dígitos.&quot;);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;    &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;theForm.nrDocumento.focus();&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;    &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;return (false);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;  &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;}&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;var checkOK = &quot;0123456789&quot;;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;var checkStr = theForm.nrDocumento.value;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;var allValid = true;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;var decPoints = 0;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;var allNum = &quot;&quot;;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;for (i = 0;  i &lt; checkStr.length;  i++)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;{&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;ch = checkStr.charAt(i);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;for (j = 0;  j &lt; checkOK.length;  j++)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;    &lt;/span&gt;if (ch == checkOK.charAt(j))&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;     &lt;/span&gt;break;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;if (j == checkOK.length)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;{&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;    allValid = false;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;    break;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;}&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;  &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;allNum += ch;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;}&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;if (!allValid){&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;alert(&quot;Por favor, preencha o campo \&quot;CNPJ\&quot; apenas com dígitos.&quot;);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;theForm.nrDocumento.focus();&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;return (false);&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;}&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC = theForm.nrDocumento.value;&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC01 = CGC.substring(0,1)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC02 = CGC.substring(1,2)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC03 = CGC.substring(2,3)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC04 = CGC.substring(3,4)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC05 = CGC.substring(4,5)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC06 = CGC.substring(5,6)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC07 = CGC.substring(6,7)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC08 = CGC.substring(7,8)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC09 = CGC.substring(8,9)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC10 = CGC.substring(9,10)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC11 = CGC.substring(10,11)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC12 = CGC.substring(11,12)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC13 = CGC.substring(12,13)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;CGC14 = CGC.substring(13,14)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;AUX1 =  10 * (CGC01 * 5 + CGC02 * 4 + CGC03 * 3 + CGC04 * 2 + CGC05 * 9 + CGC06 * 8 +&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;              CGC07 * 7 + CGC08 * 6 + CGC09 * 5 + CGC10 * 4 + CGC11 * 3 + CGC12 * 2 )&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;AUX2 = AUX1 / 11&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;AUX3 = Math.floor(AUX2)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;AUX4 = AUX3 * 11&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;DV1 = (AUX1 - AUX4)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;if (DV1 == 10){ &lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;DV1 = 0 &lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;}&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;AUX1 =  10 * (CGC01 * 6 + CGC02 * 5 + CGC03 * 4 + CGC04 * 3 + CGC05 * 2 + CGC06 * 9 +&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;              CGC07 * 8 + CGC08 * 7 + CGC09 * 6 + CGC10 * 5 + CGC11 * 4 + CGC12 * 3 +&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;              DV1 * 2 )&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;AUX2 = AUX1 / 11&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;AUX3 = Math.floor(AUX2)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;AUX4 = AUX3 * 11&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;DV2 = (AUX1 - AUX4)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;if (DV2 == 10){   &lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;DV2 = 0  &lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;}&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;if (DV1 != CGC13 || DV2 != CGC14){&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;alert (&quot;Dígito verificador do campo \&quot;CNPJ\&quot; não confere.&quot;)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;theForm.nrDocumento.focus()&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;theForm.nrDocumento.select()&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;   &lt;/span&gt;return (false)&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;}&lt;/p&gt;
&lt;p&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;}&lt;/p&gt;
&lt;p&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;código em c# com validação do CNPJ&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;Abaixo fiz algumas modificações que depois possa ser melhorado no seu conteúdo.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;O primeiro foi a extração de espaços no começo e no final do texto.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;Em seguida foi extraído os pontos, traços e barras para melhor validação dos textos digitados.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;Os &quot;alerts&quot; foram modificado para mensagem de reconhecimento do c#.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;Como&amp;nbsp;também&amp;nbsp;foi modificado o teste &amp;nbsp;de verificação de cada&amp;nbsp;caracteres que no inicio do&amp;nbsp;método&amp;nbsp;ele mesmo já&amp;nbsp;extrai e&amp;nbsp;não&amp;nbsp;deixa passar, mas deixei como estava para&amp;nbsp;que&amp;nbsp;você caro leitor verifique o que foi modificado para que o c# entenda o que vai ser executado, veja e verifique linha por linha, junto com ele, também&amp;nbsp;foi modificado o local que ao extrai cada linha para verificação do digito verificador e comparação&amp;nbsp;do mesmo,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&quot;int cgc01 = Convert.ToInt16( cgc.Substring(0, 1));&quot;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;Depois de muito pesquisar verifiquei que a linha de codigo que segue abaixo teve que ser totalmente modificada,&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;&quot;&lt;/span&gt;var ch = int.Parse(checkStr.Substring(i, 1));&quot;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Encontrei a melhor opção para extrair valores de um texto e converter em inteiro para a verificação de valores incorreto, verifique o original abaixo que foi totalmente modificado.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;&quot;ch = checkStr.charAt(i);&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;com isso consegui extrair cada &quot;string&quot; do texto sem nenhum problema.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;verifique abaixo por completo:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
namespace GerenciandoeAdministramdoNFc.Controllers.Clientes&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; class ValidarCnpj&lt;br /&gt;
&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //ClsClientes _dadosClsClientes;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; internal static bool ValidarCnpjDigitado(ClsClientes dadosClsClientes)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dadosClsClientes.Cnpj = dadosClsClientes.Cnpj.Trim();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dadosClsClientes.Cnpj = dadosClsClientes.Cnpj.Replace(&quot;.&quot;, &quot;&quot;).Replace(&quot;-&quot;, &quot;&quot;).Replace(&quot;/&quot;, &quot;&quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (dadosClsClientes.Cnpj == &quot;&quot;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(&quot;Por favor, preencha o campo \&quot;CNPJ\&quot;.&quot; + dadosClsClientes.Cnpj);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return (false);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (dadosClsClientes.Cnpj == &quot;00000000000000&quot;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(&quot;Valor de \&quot;CNPJ\&quot; inválido.&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &amp;nbsp;return (false);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (dadosClsClientes.Cnpj.Length &amp;lt; 14)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;MessageBox.Show(&quot;Por favor, preencha o campo \&quot;CNPJ\&quot; com 14 dígitos.&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;return (false);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (dadosClsClientes.Cnpj.Length &amp;gt; 14)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;MessageBox.Show(&quot;Por favor, preencha o campo \&quot;CNPJ\&quot; com 14 dígitos.&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;return (false);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;const string checkOk = &quot;0123456789&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;var checkStr = dadosClsClientes.Cnpj;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;var allValid = true;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;int decPoints = 0;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;var allNum = &quot;&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int i;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int j;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (i = 0; &amp;nbsp;i &amp;lt; checkStr.Length; &amp;nbsp;i++)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var ch = int.Parse(checkStr.Substring(i, 1));&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (j = 0; &amp;nbsp;j &amp;lt; checkOk.Length; &amp;nbsp;j++)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (ch == int.Parse(checkOk.Substring(j, 1)))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //if (ch == checkOk.Substring(j))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &amp;nbsp;if (j == checkOk.Length)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;allValid = false;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;allNum += ch;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;if (!allValid)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &amp;nbsp;MessageBox.Show(&quot;Por favor, preencha o campo \&quot;CNPJ\&quot; apenas com dígitos.&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt; &amp;nbsp; &amp;nbsp;return (false);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string cgc = dadosClsClientes.Cnpj;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc01 = Convert.ToInt16( cgc.Substring(0, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc02 = Convert.ToInt16( cgc.Substring(1, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc03 = Convert.ToInt16( cgc.Substring(2, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc04 = Convert.ToInt16( cgc.Substring(3, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc05 = Convert.ToInt16( cgc.Substring(4, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc06 = Convert.ToInt16( cgc.Substring(5, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc07 = Convert.ToInt16( cgc.Substring(6, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc08 = Convert.ToInt16( cgc.Substring(7, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc09 = Convert.ToInt16( cgc.Substring(8, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc10 = Convert.ToInt16( cgc.Substring(9, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc11 = Convert.ToInt16( cgc.Substring(10, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc12 = Convert.ToInt16( cgc.Substring(11, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc13 = Convert.ToInt16( cgc.Substring(12, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int cgc14 = Convert.ToInt16( cgc.Substring(13, 1));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; decimal aux1 = 10*(cgc01*5 + cgc02*4 + cgc03*3 + cgc04*2 + cgc05*9 + cgc06*8 +&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cgc07*7 + cgc08*6 + cgc09*5 + cgc10*4 + cgc11*3 + cgc12*2);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; decimal aux2 = aux1/11;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; decimal aux3 = Math.Floor(aux2);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; decimal aux4 = aux3*11;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; decimal dv1 = (aux1 - aux4);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;if (dv1 == 10)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dv1 = 0;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aux1 = 10*(cgc01*6 + cgc02*5 + cgc03*4 + cgc04*3 + cgc05*2 + cgc06*9 +&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cgc07*8 + cgc08*7 + cgc09*6 + cgc10*5 + cgc11*4 + cgc12*3 +&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dv1*2);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aux2 = aux1/11;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aux3 = Math.Floor(aux2);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aux4 = aux3*11;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; decimal dv2 = (aux1 - aux4);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;if (dv2 == 10)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dv2 = 0;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;if (dv1 != cgc13 || dv2 != cgc14)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MessageBox.Show(&quot;Dígito verificador do campo \&quot;CNPJ\&quot; não confere.&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return (false);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Espero que gostem, comentem e dê sua&amp;nbsp;opinião&amp;nbsp;para que melhore as minhas postagem.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/4835055795532543490/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/01/construir-uma-classe-com-o-metodo-de.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4835055795532543490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4835055795532543490'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/01/construir-uma-classe-com-o-metodo-de.html' title='Construir uma Classe com o Método de validação do CNPJ em c#!'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9QB7JIfkVwd4XCbL-o3mmsk-n0tU8yHCPBg4rnEE1TLxO2kYOb1xBJvTAo6IV17DQbygaKtszsV581ijn3Hgj1hkrb7iLnlTeyN-Opp5J4ReyDMmweUzKpp3pLDib8sVUFp5at4k95PI/s72-c/valida%25C3%25A7%25C3%25A3o+de+cnpj+alexssandrolima+csharp.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-1045213169803079808</id><published>2016-01-18T16:15:00.000-08:00</published><updated>2016-01-18T16:15:46.540-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Preencher um &quot;comboBox&quot; com estados cadastrados em uma tabela do banco de dados Firebird e populando com os dados capturados.</title><content type='html'>&lt;h2&gt;
Preenchendo comboBox com estados, populando de um banco de dados Firebird.&lt;/h2&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Mostrando o Form.&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Vou explicar de um moto rápido, para quem já entende um pouco de acesso ao banco de dados e tendo em vista que já esta um pouco mais avançado na programação em c#.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Então fiz um &quot;Form&quot; e que dentro dele tenha uma &quot;comboBox&quot; que vai ser preenchido com os estados cadastrados dentro de uma tabela no banco de dados firebird.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;A figura 01 abaixo mostra o Form com a comboBox a ser preenchido.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6WFZHjSvgtMcnElwk2Id0bfs6IMyGlpoCYXydxvvYLKMRZ-VQ6T1_Fg9LmUCBYmz11Wdpu9O_-GG2tO8vxNtlMG34WD_t70VPVUrTRbEKm5_4pIgD5PCSKfJr6P3rSKFGI7RhTuslLuA/s1600/ComboBox+Estados.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;196&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6WFZHjSvgtMcnElwk2Id0bfs6IMyGlpoCYXydxvvYLKMRZ-VQ6T1_Fg9LmUCBYmz11Wdpu9O_-GG2tO8vxNtlMG34WD_t70VPVUrTRbEKm5_4pIgD5PCSKfJr6P3rSKFGI7RhTuslLuA/s640/ComboBox+Estados.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura 01&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Executando dentro do &quot;Form&quot;.&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Ao entrar no &quot;Form&quot; verifique que no metodo &quot;Load&quot;, o comboBox é preenchido com os dados que vai ser buscado na tabela&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;vamos verificar como ficou, para um melhor entendimento.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string ReceberDadosTabelaEstados = &quot;estados&quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private void Form1_Load(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBoxEstados.DataSource = Controllers.Estados.EstadosFb.fb_GetDados(ReceberDadosTabelaEstados);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; comboBoxEstados.DisplayMember = &quot;uf&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Acessando a tabela dentro do banco de dados.&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Configurando a chamada de dentro do banco de dados Firebird.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Segue abaixo o método criado para acesso ao banco de dados e selecionar todos os estados cadastrados.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;veja como ficou simples e de fácil entendimento.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static DataTable fb_GetDados(string receberDadosTabela)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using (FbConnection conexaoFireBird = Models.Dados.ClsAcessoFB.getInstancia().getConexao())&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; conexaoFireBird.Open(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //abre a conexao...&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string mSql = &quot;Select uf from &quot; + receberDadosTabela; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //seleciona tudo da&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FbCommand cmd = new FbCommand(mSql, conexaoFireBird); // dar um comando dentro do banco...&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FbDataAdapter da = new FbDataAdapter(cmd); &amp;nbsp; &amp;nbsp; &amp;nbsp;//cria uma instancia &quot;da&quot; para receber os comandos.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DataTable dt = new DataTable();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; da.Fill(dt);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return dt; &amp;nbsp;// retorna os dados capturados ao acesso ao banco de dados.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (FbException fbex)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw fbex;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; finally&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; conexaoFireBird.Close();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Navegando no webBrowser.&lt;/span&gt;&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Ao executar um botão o sistema navegara em uma webBrowser e buscarar o estado escolhido antes da abertura.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; webBrowserSintegra.Navigating += new WebBrowserNavigatingEventHandler(webBrowserSintegra_Navigating);&lt;br /&gt;
&lt;br /&gt;
As urls ele executara dependendo do estado escolhido.&lt;br /&gt;
&lt;div&gt;
exemplo:&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;PR&quot;))&lt;br /&gt;
&amp;nbsp;webBrowserSintegra.Navigate(new Uri(&quot;http://www.sintegra.fazenda.pr.gov.br/sintegra/&quot;));&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF-WZ3o0-xW_Iw9F6R_cRr-cJgsHDw6NQVr3KtvVp85KR4_6Ur-SxQ-OJsYJwrJ2F4jgAOXfeJOE1McFkrrt3VVsjq-to3ES2k0N-bFACaE1H9-EYUkiVtOSVvXwYI-IiPL1ogoC10TkE/s1600/webForm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;418&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF-WZ3o0-xW_Iw9F6R_cRr-cJgsHDw6NQVr3KtvVp85KR4_6Ur-SxQ-OJsYJwrJ2F4jgAOXfeJOE1McFkrrt3VVsjq-to3ES2k0N-bFACaE1H9-EYUkiVtOSVvXwYI-IiPL1ogoC10TkE/s640/webForm.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Sites Cadastrados&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Veja agora todas as Urls dos site de conferencia do Sintegra apos escolher o estado no comboBox.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;segue abaixo:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;AC&quot;))&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;webBrowserSintegra.Navigate(new Uri(&quot;http://sefaznet.ac.gov.br/sefazonline/servlet/hpfsincon&quot;));&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;AL&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sefaz.al.gov.br/asp/sintegra/sintegra.asp?estado=AL&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;AP&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sintegra.ap.gov.br/&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;AM&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sefaz.am.gov.br/sintegra/sintegra0.asp&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;BA&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sefaz.ba.gov.br/Sintegra/sintegra.asp?estado=BA&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;CE&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sefaz.ce.gov.br/Sintegra/Sintegra.Asp?estado=CE&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;DF&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.fazenda.df.gov.br/area.cfm?id_area=110&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;ES&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sintegra.es.gov.br/&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;GO&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://appasp.sefaz.go.gov.br/Sintegra/Consulta/default.asp?&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;MA&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sefaz.ma.gov.br/sintegra/sintegra.asp&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;MT&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sefaz.mt.gov.br/sid/consulta/infocadastral/consultar/publica&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;MS&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www1.sefaz.ms.gov.br/Cadastro/sintegra/cadastromsCCI.asp&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;MG&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://consultasintegra.fazenda.mg.gov.br&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;PA&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://app.sefa.pa.gov.br/Sintegra/&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;PB&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://sintegra.receita.pb.gov.br/sintegra/sintegra.asp?estado=pb&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;PR&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sintegra.fazenda.pr.gov.br/sintegra/&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;PE&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sintegra.sefaz.pe.gov.br&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;PI&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://web.sintegra.sefaz.pi.gov.br&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; webBrowserSintegra.Navigate(new Uri(&quot;if (Convert.ToBoolean(_comboBoxEstados == &quot;RJ&quot;)) http://www.fazenda.rj.gov.br/projetoCPS&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;RN&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.set.rn.gov.br/uvt/consultacontribuinte.aspx&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;RS&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://sintegra.sefaz.rs.gov.br/sef_root/inf/Sintegra_Entrada.asp&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;RO&quot;)) http://www.sefin.ro.gov.br/sint_consul.asp&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;RR&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;https://www.sefaz.rr.gov.br/siate/servlet/wp_siate_consultasintegra&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;SC&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://sistemas3.sef.sc.gov.br/sintegra/consulta_empresa_pesquisa.aspx&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;SP&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://pfeserv1.fazenda.sp.gov.br/sintegrapfe/consultaSintegraServlet&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;SE&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.sefaz.se.gov.br/sintegra&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot;TO&quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://sintegra.sefaz.to.gov.br&quot;));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if (Convert.ToBoolean(_comboBoxEstados == &quot; &quot;)) webBrowserSintegra.Navigate(new Uri(&quot;http://www.suframa.gov.br/sintegra&quot;));&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Obrigado por Participar do meu Blogger.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Qualquer duvida estou aqui para ajudar.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/1045213169803079808/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/01/preencher-um-combobox-com-estados.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/1045213169803079808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/1045213169803079808'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/01/preencher-um-combobox-com-estados.html' title='Preencher um &quot;comboBox&quot; com estados cadastrados em uma tabela do banco de dados Firebird e populando com os dados capturados.'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6WFZHjSvgtMcnElwk2Id0bfs6IMyGlpoCYXydxvvYLKMRZ-VQ6T1_Fg9LmUCBYmz11Wdpu9O_-GG2tO8vxNtlMG34WD_t70VPVUrTRbEKm5_4pIgD5PCSKfJr6P3rSKFGI7RhTuslLuA/s72-c/ComboBox+Estados.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-3187775476618963246</id><published>2016-01-02T07:47:00.000-08:00</published><updated>2016-01-02T07:58:30.405-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Atualização e Modificação."/><title type='text'>Atualizar a alíquota de 18% nas impressoras fiscais.</title><content type='html'>&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Procedimento de atualização&amp;nbsp;a alíquota de 18% nas impressoras fiscais.&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Sem&amp;nbsp;intervenção&amp;nbsp;do Ecf.&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;
1 - Procedimento&lt;/h3&gt;
&lt;br /&gt;
Baixe o Ecfteste.exe no site do Projeto Acbr.&lt;br /&gt;
&lt;br /&gt;
Segue o link do &lt;a href=&quot;http://www.projetoacbr.com.br/forum/files/file/65-ecfteste/?do=download&amp;amp;csrfKey=fa0d3de9918c585e14b4277017cda704&quot; target=&quot;_blank&quot;&gt;Projeto&lt;/a&gt;&amp;nbsp;caso não tenha o cadastro, tenho uma versão antiga para download&lt;br /&gt;
no &lt;a href=&quot;http://vciga.dyndns.org/siga1/programas/ecfteste.exe&quot; target=&quot;_blank&quot;&gt;servidor&lt;/a&gt; segue o link como também o link da &lt;a href=&quot;http://vciga.dyndns.org/siga1/programas/qtintf70.dll&quot; target=&quot;_blank&quot;&gt;dll&lt;/a&gt; responsável na execução.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
2 - Procedimento&lt;/h3&gt;
Ao baixar o arquivo Ecfteste.exe, execute antes de fazer qualquer vendas ou abertura do dia.&lt;br /&gt;
caso tenha feito algum movimento a única Ecf que não deixa cadastra é a Bematech.&lt;br /&gt;
&lt;br /&gt;
veja abaixo a imagem do procedimento.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi25m6VaM0Cw2jcr1e1IZhPIZoQ0ZIK40poydGF8gnBZmDJs-tpyz7FLsPNepQtAK6iELXJSmmckt2mGCt7hQANpIs6Ez8_3CtDWVkRFXJv03Ob3NDuXJA7BUP-m1KBqqizA56AoAehOOg/s1600/01+ecfteste+inicio.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi25m6VaM0Cw2jcr1e1IZhPIZoQ0ZIK40poydGF8gnBZmDJs-tpyz7FLsPNepQtAK6iELXJSmmckt2mGCt7hQANpIs6Ez8_3CtDWVkRFXJv03Ob3NDuXJA7BUP-m1KBqqizA56AoAehOOg/s400/01+ecfteste+inicio.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Procure o modelo de sua Ecf, como também a Porta que corresponde a comunicação com a mesma.&lt;br /&gt;
caso não saiba selecione diretamente Ativar para que o programa encontre.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUkF8PwDCHkZBzBH57tdLzmhX5j7z35guo6RYcYzXMStUoDB6nhbBqnQFpxHrLg7OtrSJbNyvRAx9OSq9BMQR8hcMRYDME1ftdHRVRSBgNqXE3nJfq9b30GpIoi3LENoBW1rSYMZ1KGjQ/s1600/02+procurando+o+ecf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUkF8PwDCHkZBzBH57tdLzmhX5j7z35guo6RYcYzXMStUoDB6nhbBqnQFpxHrLg7OtrSJbNyvRAx9OSq9BMQR8hcMRYDME1ftdHRVRSBgNqXE3nJfq9b30GpIoi3LENoBW1rSYMZ1KGjQ/s400/02+procurando+o+ecf.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
ao não encontrar o ecf ele mostra a seguinte mensagem como na imagem acima.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
3 - procedimento&lt;/h3&gt;
Quando o programa encontra o Ecf correspondente selecione o Menu Variáveis.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUTX3lX-Xok26qISHzP-IIwNXKZYXVwxfKVq7PfV5zC1hIAfJ2UC9390Zpcpbvo7UX5G-X7LHpaze-S2oi_pFzdg6oLJOMOi1GooTLiPKySoO97bynrz3HAznMcUnoQbICUyLRewuzzIU/s1600/03+lendo+totais+de+aliquotas+do+ecf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;328&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUTX3lX-Xok26qISHzP-IIwNXKZYXVwxfKVq7PfV5zC1hIAfJ2UC9390Zpcpbvo7UX5G-X7LHpaze-S2oi_pFzdg6oLJOMOi1GooTLiPKySoO97bynrz3HAznMcUnoQbICUyLRewuzzIU/s400/03+lendo+totais+de+aliquotas+do+ecf.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Ao executar ele mostra todas as alíquotas cadastradas no ecf.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2UR4z0ss-2zuO8haEfeE9FKiyA1LMKfvK7rcyerHfgFkWZyOTOTy0jJ2YKK_TZJRtXgYGZos93EEWbL5NdoBGOivv7ZkNMuewIR4BtUPRG7T3h0RTcrIgRWwnX_qCe9U4vezC2ljxCFs/s1600/04+mostrando+os+totais+de+aliquotas+do+ecf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2UR4z0ss-2zuO8haEfeE9FKiyA1LMKfvK7rcyerHfgFkWZyOTOTy0jJ2YKK_TZJRtXgYGZos93EEWbL5NdoBGOivv7ZkNMuewIR4BtUPRG7T3h0RTcrIgRWwnX_qCe9U4vezC2ljxCFs/s400/04+mostrando+os+totais+de+aliquotas+do+ecf.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
4 - procedimento&lt;/h3&gt;
Agora vamos executar o cadastro de uma nova alíquota.&lt;br /&gt;
selecione no Menu Utilitários.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqls_2Ozh8IBJlnIDXABOy0IQs5_ZgZzm7ys-E7sb4KShKnov_lNAsk0Z10TVKgBFMmrypkeQz1Fn5_WrFve29_I3esN8FJvbVe1iR3wj8OsSZM1Hn5h72tcWzmdOKzN1vudm1-14rOC8/s1600/05+Modividando+a+aliquotas+do+ecf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqls_2Ozh8IBJlnIDXABOy0IQs5_ZgZzm7ys-E7sb4KShKnov_lNAsk0Z10TVKgBFMmrypkeQz1Fn5_WrFve29_I3esN8FJvbVe1iR3wj8OsSZM1Hn5h72tcWzmdOKzN1vudm1-14rOC8/s400/05+Modividando+a+aliquotas+do+ecf.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
ao executar o programa de alíquota ele mostra qual alíquota vai se usada.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbC-fIPXfgfvoCUkCHzRQ6w24qTdZkxvS8YoZ4EnzGuzCP863PLNXWYkzfU0OCcozZl6lE4mOSQj7Eyb-XDYVsd7rfXMx-xHZrDVxA6eZ-zJm1WvMIKkBb0ugayfzmMUP3InUwCPRxtTQ/s1600/06+digite+a+aliquota+desejada.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;328&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbC-fIPXfgfvoCUkCHzRQ6w24qTdZkxvS8YoZ4EnzGuzCP863PLNXWYkzfU0OCcozZl6lE4mOSQj7Eyb-XDYVsd7rfXMx-xHZrDVxA6eZ-zJm1WvMIKkBb0ugayfzmMUP3InUwCPRxtTQ/s400/06+digite+a+aliquota+desejada.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
clique em &quot;ok&quot; para cadastra o desejado.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrixL4roDX4dzjtjTHhPKXSnpqeB1ZMjhPNzHgVCeqToCiUUSSuUjjha-x0rrf6JAv5FUSnlCxdXahU_fgM_GlFF0fKPHf5XVu1fynzbQa82aOLgaHcDn97Sx_ac4AtZr7OFaSxbYRkRQ/s1600/07+Confirme+a+aliquota+desejada+icms+ou+iss.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrixL4roDX4dzjtjTHhPKXSnpqeB1ZMjhPNzHgVCeqToCiUUSSuUjjha-x0rrf6JAv5FUSnlCxdXahU_fgM_GlFF0fKPHf5XVu1fynzbQa82aOLgaHcDn97Sx_ac4AtZr7OFaSxbYRkRQ/s400/07+Confirme+a+aliquota+desejada+icms+ou+iss.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Confirme a aliquota desejada &quot;SIM&quot; = ICMS e &quot;NÃO&quot; = ISS.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr3GihdB937gU1GvOFq_7nA7V4W7UC4QDHBpFximsn27kFJS1q1UX9LLd3vyQlnAr9CTKQVq9v3HoaxYh8vJZgMHiGw9tcOYOFE9Tk4UmC5jO1VIdJDuQLvnBvlMhWMQyRDSedl2chqSI/s1600/08+Confirme+a+aliquota+que+sera+programada.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr3GihdB937gU1GvOFq_7nA7V4W7UC4QDHBpFximsn27kFJS1q1UX9LLd3vyQlnAr9CTKQVq9v3HoaxYh8vJZgMHiGw9tcOYOFE9Tk4UmC5jO1VIdJDuQLvnBvlMhWMQyRDSedl2chqSI/s400/08+Confirme+a+aliquota+que+sera+programada.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
pressione &quot;YES&quot; para programar a alíquota desejada.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtSw6pFsh-Tei7bXmb-1c2Mn3auP59bXpvyv4N7dUTp2H5_8BKq1oNhiLenGzFr2SnZ2wO5ZDBUMg1z06xQgv0_vydiVbmXIXHrVjcCxBtvogGwWgs7AqZIPevA_BMon0us5YIjGGe_j8/s1600/04+mostrando+os+totais+de+aliquotas+do+ecf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtSw6pFsh-Tei7bXmb-1c2Mn3auP59bXpvyv4N7dUTp2H5_8BKq1oNhiLenGzFr2SnZ2wO5ZDBUMg1z06xQgv0_vydiVbmXIXHrVjcCxBtvogGwWgs7AqZIPevA_BMon0us5YIjGGe_j8/s400/04+mostrando+os+totais+de+aliquotas+do+ecf.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Agora verifique como ficou a sua programação da nova alíquota no ecf.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Obrigado por compartilha suas ideias com todos,&lt;br /&gt;
&lt;br /&gt;
@alexssandrolima&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/3187775476618963246/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/01/atualizar-aliquota-de-18-nas.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/3187775476618963246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/3187775476618963246'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/01/atualizar-aliquota-de-18-nas.html' title='Atualizar a alíquota de 18% nas impressoras fiscais.'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi25m6VaM0Cw2jcr1e1IZhPIZoQ0ZIK40poydGF8gnBZmDJs-tpyz7FLsPNepQtAK6iELXJSmmckt2mGCt7hQANpIs6Ez8_3CtDWVkRFXJv03Ob3NDuXJA7BUP-m1KBqqizA56AoAehOOg/s72-c/01+ecfteste+inicio.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-1483879549125801334</id><published>2016-01-01T18:13:00.000-08:00</published><updated>2016-01-01T18:13:06.079-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Usando ADO para conexão com o bando de dados Firebird!</title><content type='html'>&lt;h2&gt;
Modificando dados na tabela do banco de dados Firebird.&lt;/h2&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Conexão com o banco de dados.&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Boa noite,&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;Em primeiro lugar, crie uma classe que vai ter a conexão com o banco de dados, e que também &amp;nbsp;não possa ser herdada e nem instanciada usando o ADO para criação das classes de acesso.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;Como veremos abaixo o condigo de conexão com o banco de dados, sendo que, o mesmo tem que pegar algumas de suas configurações no app.config para posteriores modificações, assim mostrado a seguir.&lt;/span&gt;&lt;/div&gt;
&lt;h4&gt;
Codigo de modelo de conexão com o banco de dados:&lt;/h4&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;using FirebirdSql.Data.FirebirdClient;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;using System.Configuration;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;namespace GerenciandoeAdministramdoNFc.Models.Dados&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; public class ClsAcessoFB &amp;nbsp; //deixar a classe publica&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #region &quot; base acesso ao banco de dados &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private static readonly ClsAcessoFB instanciaFirebird = new ClsAcessoFB(); // instancia vai dar erro...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private ClsAcessoFB() {} &amp;nbsp; &amp;nbsp;// caso acessar direto nao mostrara nada.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #endregion&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #region &quot;INSTANCIAR O FIERBIRD&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static ClsAcessoFB getInstancia() &amp;nbsp; &amp;nbsp;//INSTANCIAR BANCO DE DADOS....&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return instanciaFirebird;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #endregion&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #region &quot;STRING DE CONEXÃO E CONFIGURAÇÃO COM OS DADOS&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public FbConnection getConexao() &amp;nbsp; &amp;nbsp;// string de conexao com o bando de dados pegando do arquivo config...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string conn = ConfigurationManager.ConnectionStrings[&quot;FireBirdConnectionString&quot;].ToString();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return new FbConnection(conn);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #endregion&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Veja a seguir os dados de configuração com o banco de dados, que contem o&amp;nbsp;usuário&amp;nbsp;como sua&amp;nbsp;senha padrão de acesso, e o local onde se encontra o banco de dados para que a classe que o acesse consiga total conexão.&lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;
Configurando o app.config de configuração ao banco de dados:&lt;/h4&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &lt;connectionstrings&gt;&lt;/connectionstrings&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;add font=&quot;&quot; name=&quot;FireBirdConnectionString&quot; nbsp=&quot;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;connectionString=&quot;Server=localhost;User=SYSDBA;Password=masterkey;Database=C:\dados\DADOS_systems.FDB&quot; /&amp;gt;&lt;/span&gt;&lt;/add&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;Segue um breve exemplo de modificação de dados de uma tabela do banco de dados&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;recebendo como referencia do &quot;Form&quot; de alteração o nome da tabela que vai ser modificada, que aqui chamei de [usuarios] e como os respectivos dados a ser modificado.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #region &quot;Modificar e alterar Dados da tabela&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; internal static void Fb_AlterarDados(string receberDadosTabela, Models.Usuarios.ClsUsuarios tabeladedados)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using (FbConnection conexaoFireBird = Models.Dados.ClsAcessoFB.getInstancia().getConexao())&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; conexaoFireBird.Open();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (receberDadosTabela == &quot;usuarios&quot;) // caso não seja a tabela a que foi designado o sistema&amp;nbsp;não&amp;nbsp;modificara os dados.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string mSql = &quot;UPDATE &quot; + receberDadosTabela + &quot; SET nome = &#39;&quot; + tabeladedados.Nome + &quot;&#39;, nivelacesso = &#39;&quot; + tabeladedados.Nivelacesso + &quot;&#39;&quot; + &quot; WHERE codigo= &quot; + tabeladedados.ID;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FbCommand cmd = new FbCommand(mSql, conexaoFireBird);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cmd.ExecuteNonQuery(); // Gravando os dados no bando.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (FbException fbex)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //MessageBox.Show(&quot;error no -&amp;gt; &quot; + Fbex);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw fbex;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; finally&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; conexaoFireBird.Close();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #endregion&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Espero que gostem do exemplo que usei para conexão com o banco de dados firebrid.&lt;br /&gt;
Obrigado e boa noite.</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/1483879549125801334/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2016/01/usando-ado-para-conexao-com-o-bando-de.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/1483879549125801334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/1483879549125801334'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2016/01/usando-ado-para-conexao-com-o-bando-de.html' title='Usando ADO para conexão com o bando de dados Firebird!'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-2697195310297586872</id><published>2015-12-17T07:29:00.003-08:00</published><updated>2015-12-17T07:29:56.753-08:00</updated><title type='text'>Deus existe, e nos não damos o seu real e devido valor.</title><content type='html'>&lt;span style=&quot;font-size: large;&quot;&gt;Deus existe, e nos não damos o seu real e devido valor.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Sempre na hora que mais precisamos ele esta ali do nosso lado para nos ajudar, não necessariamente o chame nesta hora com palavras porque ele não escuta, e sim sinta ele no seu coração e com o seu coração mostre a ele que esta sempre com ele ao seu lado, e esta sempre acreditando nele que ele exite, tem muita gente que chamam seu santo nome em vão sabendo que ele não escutar e não vai ajudar.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Deus sabe quem realmente necessita de sua presença, e livra nos do mal, e nos ajuda na hora que mais precisarmos e na hora que estamos mais aflito.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Perdoe a mim e aos meus amigos e familiares, o mal que fazemos aos próximos, a ganancia a luxuria não leva a nada porque quando morremos sabemos que isso fica para outras pessoas brigarem e maltratarem a quem esta perto deles e aquém eles amam por objetos que não levam para o caixão.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Vou falar com palavras, não para Deus e sim para as pessoas que estão ao meu redor, obrigado por todas as vezes que mim livraste de um grande aperreio na minha vida e que minhas lagrimas sirva para mim e para ti de exemplo que o senhor e nosso pastor e nada nos faltara.&lt;/div&gt;
&lt;br /&gt;
AMÉM&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-XKhzcxEebks/VnLUQuRqdRI/AAAAAAAAFMY/HjZm46HIp_M/s1600/deus_e_amor.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;http://1.bp.blogspot.com/-XKhzcxEebks/VnLUQuRqdRI/AAAAAAAAFMY/HjZm46HIp_M/s640/deus_e_amor.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/2697195310297586872/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2015/12/deus-existe-e-nos-nao-damos-o-seu-real.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/2697195310297586872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/2697195310297586872'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2015/12/deus-existe-e-nos-nao-damos-o-seu-real.html' title='Deus existe, e nos não damos o seu real e devido valor.'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-XKhzcxEebks/VnLUQuRqdRI/AAAAAAAAFMY/HjZm46HIp_M/s72-c/deus_e_amor.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-7339716739420974961</id><published>2015-12-05T03:02:00.002-08:00</published><updated>2015-12-05T03:02:32.741-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>[Leia um pouco sobre] As melhorias de produtividade para o Entity Framework!</title><content type='html'>&lt;h2&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;As melhorias de produtividade para o Entity Framework&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWaLwB1G3b_wkxRufZSw0Qn3cFGSxBp5qo9BzsaU6T4wV9BuVTVQPI12HDzTjADk5oraJEyhGNCI9dRgLUP09GBEdEJi1WLiPCsH2ZHkiFXgRwuoM9BF8KndmSIxCkxJundQKEv4EMdoI/s1600/entity+framework.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWaLwB1G3b_wkxRufZSw0Qn3cFGSxBp5qo9BzsaU6T4wV9BuVTVQPI12HDzTjADk5oraJEyhGNCI9dRgLUP09GBEdEJi1WLiPCsH2ZHkiFXgRwuoM9BF8KndmSIxCkxJundQKEv4EMdoI/s320/entity+framework.png&quot; width=&quot;248&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h3&gt;
Antecedentes&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Temos ouvido muito bom feedback sobre a atualização recém-lançado para o Entity Framework no .NET 4. Este lançamento marca um avanço significativo a partir do primeiro lançamento que acompanha o .NET 3.5 SP1. Eu não estou indo para passar o tempo aqui falando sobre o que há de novo, mas você pode conferir aqui para ver por si mesmo.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Com tudo o que disse, ainda há uma série de coisas que podemos fazer para simplificar o processo de escrever código de acesso a dados com o Entity Framework. Temos vindo a prestar atenção aos padrões mais comuns que vemos os desenvolvedores que usam com a EF e foram fabricam cerveja acima de um conjunto de melhorias para o Entity Framework projetado para permitir que desenvolvedores para realizar as mesmas tarefas com menos código e menos conceitos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Estas melhorias oferecem uma superfície mais limpa e mais simples API que se concentra a sua atenção sobre os cenários mais comuns, mas ainda lhe permite detalhar a funcionalidade mais avançada quando é necessário. Nós esperamos que você vai desfrutar desta experiência simples, mas devemos ser rápidos para assegurar-lhe que esta não é uma nova tecnologia de acesso a dados. Estas melhorias são construídos sobre a mesma tecnologia para mapeamento, LINQ, prestadores e todas as outras partes do Entity Framework. Pense nisso como um caminho rápido para escrever código de acesso a dados usando as convenções sobre configuração, APIs melhor sintonizado e outras técnicas destinadas a reduzir o tempo de desenvolvimento ao usar o EF.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Nesta fase, temos trabalhado através do que nós pensamos que a API do núcleo e funcionalidade deve ser semelhante e gostaria que seu feedback. Existem ainda algumas capacidades, tais como ligação de dados e resolução de simultaneidade que fará com que a API a evoluir à medida que continuamos o processo de design, mas os principais conceitos estão no lugar, por isso é um bom momento para o gabarito.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Apresentando DbContext &amp;amp; DbSet&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;No coração do Entity Framework melhorias de produtividade são dois novos tipos, DbContext e DbSet &lt;tentity&gt;. DbContext é uma alternativa simplificada para ObjectContext e é o objecto principal para interagir com uma base de dados usando um modelo específico. DbSet &lt;tentity&gt; é uma alternativa simplificada para ObjectSet &lt;tentity&gt; e é utilizado para realizar operações CRUD contra um tipo específico a partir do modelo. Estes novos tipos podem ser usados ​​independentemente de se você criou o seu modelo usando o Entity Designer ou código.&lt;/tentity&gt;&lt;/tentity&gt;&lt;/tentity&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;A pergunta óbvia é &#39;Por que não simplificar ObjectContext e ObjectSet &lt;t&gt;?&#39; Estamos optando por introduzir esses novos tipos, a fim de, por um lado, preservar a compatibilidade retroativa total com aplicações EF existentes e continuar a tratar toda a avançado cenários que são possíveis dada a flexibilidade existente da EF, enquanto por outro lado simplificar a experiência de usar o EF e sintonizá-la para os casos mais comuns. Nós acreditamos que é fundamental que a experiência de programação EF melhorar em alguns aspectos fundamentais, e ao mesmo tempo estamos absolutamente comprometidos com nossos clientes existentes. O estabelecimento de uma relação de colaboração entre os tipos existentes e os novos tipos nos permite alcançar ambos os requisitos. Além disso, existem maneiras fáceis de obter a ObjectContext e ObjectSet &lt;t&gt; a partir DbContext e DbSet caso você queira mais controle para uma determinada tarefa.&lt;/t&gt;&lt;/t&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Um ponto que queremos ser muito claros sobre é que esses novos tipos não estão substituindo quaisquer tipos existentes; eles são uma alternativa simplificada que construir sobre os tipos existentes, e como adicionar recursos para o Entity Framework eles estarão sempre disponíveis no ObjectContext / ObjectSet, e eles também estarão disponíveis em DbContext / DbSet se for caso disso.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Vamos perfurar na superfície da API mais tarde, mas primeiro vamos dar uma olhada na experiência de codificação usando esses novos tipos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Code First Experience&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;DbContext fornece um padrão simplificado Code First que requer menos código e cuida de algumas preocupações comuns, tais como modelo de caching, provisionamento de banco de dados, criação de esquema e de gerenciamento de conexão. Este padrão simplificada utiliza uma série de convenções para cuidar dessas tarefas e permite ajustes ou primordial deste comportamento quando necessário. Vamos começar usando estas convenções para escrever o código necessário para construir um aplicativo de console que executa acesso a dados usando um modelo:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; 
System.Collections.Generic;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; 
System.Data.Entity;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;namespace&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; 
MyDataAccessDemo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;Program&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; Main(&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;[] args)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;using&lt;/span&gt; (&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt; context = 
&lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;ProductContext&lt;/span&gt;())&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt; food = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Category&lt;/span&gt; { CategoryId = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;FOOD&quot;&lt;/span&gt; };&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
context.Categories.Add(food);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; cheese = &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; 
&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Product&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; { Name = &lt;/span&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&quot;Cheese&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; };&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cheese.Category = 
context.Categories.Find(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;FOOD&quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
context.Products.Add(cheese);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;context.SaveChanges();&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;ProductContext&lt;/span&gt; : &lt;span style=&quot;color: #2b91af;&quot;&gt;DbContext&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;DbSet&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Product&lt;/span&gt;&amp;gt; Products { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;DbSet&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Category&lt;/span&gt;&amp;gt; Categories { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Product&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; ProductId { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; Name { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;Category&lt;/span&gt; Category { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Category&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; CategoryId { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; Name { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;ICollection&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Product&lt;/span&gt;&amp;gt; Products { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Que é 100% do código que você escreveria para obter este programa em execução. Sem definição de modelo separada, metadados XML, arquivo de configuração ou qualquer outra coisa é necessária. Convenções são usados para preencher todas estas informações. Obviamente há um pouco acontecendo debaixo das cobertas por isso vamos dar uma olhada em algumas das coisas que está fazendo DbContext automaticamente.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Modelo Descoberta&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Durante a construção que digitalizar o contexto derivado para propriedades DbSet e incluir os tipos do modelo. Modelo Descoberta usa a funcionalidade Code First existente para as novas convenções padrão que recentemente escrevi sobre são processados durante a descoberta. Você pode optar por sair de descoberta conjunto, especificando um atributo nas propriedades do conjunto que devem ser ignorados.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; É claro que haverá momentos em que você quer para descrever um modelo ou mudar o que foi detectado por convenção. Por exemplo, dizer que você tem uma entidade Livro cuja propriedade ISBN é a chave primária, este não será detectado por convenção. Há duas opções aqui; você pode usar anotações de dados para anotar a propriedade em sua definição de classe:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Book&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;span style=&quot;color: #2b91af;&quot;&gt;Key&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; ISBN { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; Title { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Alternativamente DbContext inclui um método virtual que pode ser substituído a usar o Código Primeira API fluente em ModelBuilder para configurar ainda mais o modelo:&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;ProductContext&lt;/span&gt; : &lt;span style=&quot;color: #2b91af;&quot;&gt;DbContext&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;DbSet&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Book&lt;/span&gt;&amp;gt; Books { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;protected&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;override&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; 
OnModelCreating(&lt;span style=&quot;color: #2b91af;&quot;&gt;ModelBuilder&lt;/span&gt; 
modelBuilder)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; modelBuilder.Entity&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Book&lt;/span&gt;&amp;gt;().HasKey(b =&amp;gt; 
b.ISBN);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;
Modelo Caching&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Há alguns custos envolvidos em descobrir o modelo, o processamento de anotações de dados e aplicação de configuração API fluente. Para evitar incorrer esse custo cada vez que um DbContext derivado é instanciado o modelo é armazenado em cache durante a primeira inicialização. O modelo em cache é então re-utilizado cada vez que o mesmo contexto derivado é construído no mesmo domínio de aplicação. Caching modelo pode ser desligado, definindo a propriedade CacheForContextType em ModelBuilder para &quot;falso&quot; no método OnModelCreating.&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
DbSet Inicialização&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Você notará na amostra que nós não atribuir um valor a uma das propriedades DbSet no contexto derivada. Durante a construção DbContext irá verificar o contexto derivado para propriedades DbSet e, se eles expõem um setter público, vai construir uma nova DbSet e atribuí-lo à propriedade. Você pode optar por sair de inicialização conjunto, especificando um atributo sobre as propriedades do conjunto de que não devem ser inicializados.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Você também pode criar instâncias DbSet usando o método &lt;tentity&gt; () o DbContext.Set se você não deseja expor setters públicas para as propriedades DbSet.&lt;/tentity&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
Provisioning banco de dados&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Por padrão, o banco de dados é criado e fornecido utilizando SqlClient contra localhost \ SQLEXPRESS e tem o mesmo nome que o contexto derivada. Esta convenção é configurável e é controlado por uma configuração AppDomain que pode ser ajustado ou substituído. Você pode ajustar a convenção SqlClient padrão para se conectar a um banco de dados diferente, substitua-a por uma convenção Sqlce que incluir ou definir sua própria convenção implementando a interface IDbConnectionFactory.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;interface&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;IDbConnectionFactory&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;DbConnection&lt;/span&gt; CreateConnection(&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; databaseName);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;O IDbConnectionFactory ativo pode ser recuperada ou definida através da propriedade estática, Database.DefaultConnectionFactory.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; DbContext também inclui um construtor que aceita uma cadeia para controlar o valor que é passado para a convenção, as fábricas SqlClient e Sqlce permitem que você especifique um nome de banco de dados ou toda a cadeia de conexão.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Antes de ligar para a convenção, DbContext irá verificar no arquivo app / web.config para uma cadeia de conexão com o mesmo nome de seu contexto (ou o valor da cadeia se você usou o construtor que especifica uma string). Se houver uma entrada correspondente, vamos usar isso ao invés de chamar a convenção. Como as entradas de cadeia de conexão também incluem informações sobre o provedor isso permite-lhe atingir vários fornecedores em um único aplicativo.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Finalmente, se você quer controle total sobre suas conexões existe um construtor em DbContext que aceita um DbConnection.&lt;/div&gt;
&lt;h3&gt;
Primeiro banco de dados e Modelo Primeira Experiência&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Na última versão do Entity Framework que acompanha o .Net Framework 4.0 e Visual Studio 2010, introduzimos a geração de código baseada T4. T4 permite que você personalize o código que é gerado com base em um modelo que você definiu usando o designer em qualquer banco de dados ou Modelo Primeira, Primeira abordagem. O modelo padrão gera um ObjectContext derivada com um ObjectSet &lt;t&gt; para cada conjunto de entidades no seu modelo.&lt;/t&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
As melhorias de produtividade também irá incluir um modelo que gera uma DbContext determinada com uma DbSet &lt;tentity&gt; para cada conjunto de entidades no seu modelo. Isto permite Modelo Primeira e banco de dados primeiro desenvolvedores para fazer uso da superfície API simplificado descrito na próxima seção.&lt;/tentity&gt;&lt;/div&gt;
&lt;h3&gt;
Superfície API&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;DbContext é o ponto de partida para interagir com o seu modelo. Em comparação com ObjectContext que tem um número muito reduzido de métodos e propriedades que são expostas no nível de raiz. O objetivo é expor apenas os métodos mais comumente usados ​​em DbContext e têm a capacidade de perfurar até APIs mais avançadas. Um exemplo disso é a propriedade de banco de dados que expõe APIs banco de dados relacionados. Nós vamos adicionar mais um par de membros, enquanto trabalhamos através de adicionar o resto da funcionalidade avançada, mas nós queremos mantê-lo o mínimo possível. Na maioria dos casos, você iria trabalhar com um contexto que deriva de DbContext e expõe fortemente digitado propriedades DbSet para os tipos em seu modelo.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;DbContext&lt;/span&gt; : 
&lt;span style=&quot;color: #2b91af;&quot;&gt;IDisposable&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
DbContext(&lt;span style=&quot;color: #2b91af;&quot;&gt;DbModel&lt;/span&gt; model,&lt;span style=&quot;color: blue;&quot;&gt; string&lt;/span&gt; 
nameOrConnectionString);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
DbContext(&lt;span style=&quot;color: #2b91af;&quot;&gt;DbModel&lt;/span&gt; model,&lt;span style=&quot;color: #2b91af;&quot;&gt; DbConnection&lt;/span&gt; existingConnection); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
DbContext(&lt;span style=&quot;color: #2b91af;&quot;&gt;ObjectContext&lt;/span&gt; 
objectContext);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; 
DbContext();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;protected&lt;/span&gt; 
DbContext(&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; 
nameOrConnectionString);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;protected&lt;/span&gt; 
DbContext(&lt;span style=&quot;color: #2b91af;&quot;&gt;DbConnection&lt;/span&gt; existingConnection); 
&lt;s&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/s&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;Database&lt;/span&gt; Database { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;protected&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;ObjectContext&lt;/span&gt; ObjectContext { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;protected&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;virtual&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; 
OnModelCreating(&lt;span style=&quot;color: #2b91af;&quot;&gt;ModelBuilder&lt;/span&gt; 
modelBuilder);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;virtual&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; 
SaveChanges();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;DbSet&lt;/span&gt;&lt;tentity&gt; Set&lt;tentity&gt;() 
&lt;span style=&quot;color: blue;&quot;&gt;where&lt;/span&gt; TEntity : &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/tentity&gt;&lt;/tentity&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; Dispose();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;
DbModel Construtores&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Esses construtores podem ser utilizados com Banco de Dados Primeiro, Modelo Primeira e Code First desenvolvimento. Eles são utilizados pelo nosso modelo de T4 para banco de dados e Primeiro Modelo primeiro desenvolvimento e também pode ser usado em cenários de código primeiro em que um modelo é construído usando Modelbuilder externamente.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Code First anteriormente continha um tipo ContextBuilder que temos agora dividido em dois componentes, ModelBuilder e DbModel. ModelBuilder é mutável e expõe a API fluente para definir o seu modelo. Modelbuilder cria um tipo de DbModel imutável que pode ser utilizado para construir um ObjectContext ou DbContext. DbModel também pode ser construído a partir de um banco de dados Primeiro ou Modelo Primeira abordagem em que um arquivo edmx é gerado.&lt;/div&gt;
&lt;h3&gt;
ObjectContext Constructor&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Se você tiver uma base de código existente que usa ObjectContext e quiser fazer uso da superfície suplente do DbContext em algumas partes de seu código, em seguida, esse construtor permite que você enrole o ObjectContext com a superfície mais simples.&lt;br /&gt;
&lt;h3&gt;
Construtores protegidos&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Os três construtores protegidas podem ser expostos ou utilizados dentro de um contexto derivado onde você quiser fazer uso do Código Primeira experiência simplificada, que foi explicado na seção &quot;Code First Experience &#39;. Eles são protegidos porque os mecanismos de descoberta modelo, provisionamento de banco de dados e modelo de cache dependem de ter um contexto derivada.&lt;br /&gt;
&lt;h3&gt;
Banco de dados&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;A propriedade de banco de dados expõe um exemplo do novo tipo de banco de dados que contém métodos para interagir com o banco de dados subjacente.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Database&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;DbConnection&lt;/span&gt; Connection { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; Create ();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;bool&lt;/span&gt; CreateIfNotExists();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;bool&lt;/span&gt; Exists();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;bool&lt;/span&gt; 
Exists(&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; 
nameOrConnectionString);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;bool&lt;/span&gt; 
Exists(&lt;span style=&quot;color: #2b91af;&quot;&gt;DbConnection&lt;/span&gt; 
existingConnection);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; Delete ();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; 
Delete (&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; 
nameOrConnectionString);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; 
Delete (&lt;span style=&quot;color: #2b91af;&quot;&gt;DbConnection&lt;/span&gt; 
existingConnection);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;bool&lt;/span&gt; DeleteIfExists();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;bool&lt;/span&gt; 
DeleteIfExists(&lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; 
nameOrConnectionString);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;bool&lt;/span&gt; 
DeleteIfExists(&lt;span style=&quot;color: #2b91af;&quot;&gt;DbConnection&lt;/span&gt; 
existingConnection);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;
ObjectContext&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; DbContext usa um ObjectContext internamente e nós torná-lo disponível como uma propriedade protegida apenas no caso de você precisar cair para a API de nível inferior. Você pode usar ou expor a funcionalidade necessária de um DbContext derivada.&lt;br /&gt;
&lt;h3&gt;
OnModelCreating&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Este membro protegida pode ser substituído ao definir um contexto derivado em desenvolvimento CodeFirst e permite que você ajustar o formato do seu modelo que foi detectado por convenção.&lt;br /&gt;
&lt;h3&gt;
SaveChanges&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Este método expõe a mesma funcionalidade que SaveChanges sobre ObjectContext e persiste todas as alterações pendentes no banco de dados. Ele representa a unidade de trabalho para o contexto.&lt;br /&gt;
&lt;h3&gt;
Defina &lt;tentity&gt;&lt;/tentity&gt;&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Este método irá criar um DbSet &lt;tentity&gt; para um tipo de entidade que faz parte de seu modelo, semelhante ao CreateObjectSet &lt;t&gt; em ObjectContext.&lt;/t&gt;&lt;/tentity&gt;&lt;br /&gt;
DbSet representa uma coleção de um determinado tipo de entidade em seu modelo, semelhante ao ObjectSet &lt;t&gt;, exceto que este novo tipo também suporta tipos derivados Considerando ObjectSet &lt;t&gt; tipos de base unicamente suportados.&lt;/t&gt;&lt;/t&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;DbSet&lt;/span&gt;&lt;tentity&gt; : &lt;span style=&quot;color: #2b91af;&quot;&gt;IDbSet&lt;/span&gt;&lt;tentity&gt;, &lt;span style=&quot;color: #2b91af;&quot;&gt;IQueryable&lt;/span&gt;&lt;tentity&gt; &lt;span style=&quot;color: blue;&quot;&gt;where&lt;/span&gt; TEntity : &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/tentity&gt;&lt;/tentity&gt;&lt;/tentity&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; Add(TEntity entity); 
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; Remove(TEntity 
entity);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; Attach(TEntity 
entity);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
TEntity Find(&lt;span style=&quot;color: blue;&quot;&gt;params&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;object&lt;/span&gt;[] keyValues);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;h4&gt;
Adicionar, Remover e anexar&lt;/h4&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Adicionar, Remover e anexar são semelhantes aos AddObject, ExcluirObjeto e Anexar em ObjectSet &lt;t&gt;. Temos renomeado Adicionar e remover para manter DbSet &lt;tentity&gt; consistente com outros conjuntos no quadro.&lt;/tentity&gt;&lt;/t&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Adicionar e anexar agora pode ser chamado em objetos que já são controlados pelo contexto, Adicionar garantirá o objeto está no estado adicionado e anexar o estado inalterado. Isso é útil em n-tier e Web cenários onde você tem um gráfico separado contendo entidades existentes e novos que precisam ser ligado a um contexto.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Por exemplo supor que você tem um novo produto que está ligada a uma categoria existente, nem instância é anexado a um contexto (que podem ter sido devolvido a partir de um cliente distribuído através de uma chamada de serviço web ou construídos a partir de um posto de volta em uma aplicação web). Porque Adicionar e anexar são as operações de gráficos, chamando Adicionar no produto também irá adicionar a categoria. Anteriormente você precisaria cair para APIs de nível inferior (ObjectStateManager.ChangeObjectState) para marcar a categoria como inalterada. Agora, no entanto isto pode ser conseguido chamando Anexar:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; AddProduct(&lt;span style=&quot;color: #2b91af;&quot;&gt;Product&lt;/span&gt; product)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;using&lt;/span&gt; 
(&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt; context = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;ProductContext&lt;/span&gt;())&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
context.Products.Add(product);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
context.Categories.Attach(product.Category);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
context.SaveChanges();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;h4&gt;
Encontrar&lt;/h4&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; O novo método Find irá localizar um objeto com o valor da chave primária fornecido (s). Encontre inicialmente verifica os objetos em memória antes de consultar o banco de dados e é capaz de encontrar entidades adicionais que não foram persistiram até a loja ainda. Se encontrar não localizar uma entidade com a correspondente chave que ela retorna null.&lt;/div&gt;
&lt;h3&gt;
IDbSet &lt;tentity&gt;&lt;/tentity&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; DbSet &lt;tentity&gt; implementa IDbSet &lt;tentity&gt; para facilitar a criação de aplicativos testáveis.&lt;/tentity&gt;&lt;/tentity&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;interface&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;IDbSet&lt;/span&gt;&lt;tentity&gt; : &lt;span style=&quot;color: #2b91af;&quot;&gt;IQueryable&lt;/span&gt;&lt;tentity&gt; &lt;span style=&quot;color: blue;&quot;&gt;where&lt;/span&gt; TEntity : &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/tentity&gt;&lt;/tentity&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; 
Add(TEntity entity);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; 
Attach(TEntity entity);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; 
Remove(TEntity entity); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEntity Find(&lt;span style=&quot;color: blue;&quot;&gt;params&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;object&lt;/span&gt;[] 
keyValues);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
IDbSet &lt;tentity&gt; permite definir uma interface que pode ser implementado por seu contexto derivado, semelhante ao exemplo mostrado abaixo. Isto permite que o contexto para ser substituído com um duplo ensaio de memória para o teste. DbContext ainda irá realizar conjunto descoberta e inicialização, descrito na seção &quot;Code First Desenvolvimento&quot;, para propriedades digitadas como IDbSet &lt;tentity&gt;.&lt;/tentity&gt;&lt;/tentity&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;interface&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;IProductContext&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;IDbSet&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Product&lt;/span&gt;&amp;gt; Products { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;IDbSet&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Category&lt;/span&gt;&amp;gt; Categories { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;ProductContext&lt;/span&gt; : &lt;span style=&quot;color: #2b91af;&quot;&gt;DbContext&lt;/span&gt;, &lt;span style=&quot;color: #2b91af;&quot;&gt;IProductContext&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;IDbSet&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Product&lt;/span&gt;&amp;gt; Products { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; 
&lt;span style=&quot;color: #2b91af;&quot;&gt;IDbSet&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Category&lt;/span&gt;&amp;gt; Categories { &lt;span style=&quot;color: blue;&quot;&gt;get&lt;/span&gt;; &lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt;; 
}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
Resumo&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; Estas melhorias são projetados para fornecer uma superfície de API mais limpa e mais simples que lhe permite alcançar cenários comuns com facilidade enquanto também permite que você para detalhar a funcionalidade mais avançada, quando necessário. As melhorias construir em cima dos componentes do Entity Framework existentes usando convenções sobre configuração e uma superfície API simplificada.&lt;br /&gt;
Nós gostaríamos de ouvir qualquer feedback que você tem sobre a funcionalidade e API superfície proposto.&lt;br /&gt;
&lt;br /&gt;
Rowan Miller&lt;br /&gt;
Gerenciador de programa&lt;br /&gt;
Equipe ADO.NET Entity Framework&lt;br /&gt;
&lt;br /&gt;
Tradução Alexssandro Lima,&amp;nbsp;&lt;a class=&quot;g-profile&quot; href=&quot;https://plus.google.com/111097280848256322626&quot; target=&quot;_blank&quot;&gt;+Alexssandrolima Dutra&lt;/a&gt;&lt;br /&gt;
Link traduzido:&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/b/efdesign/archive/2010/06/21/productivity-improvements-for-the-entity-framework.aspx?wa=wsignin1.0&quot;&gt;http://blogs.msdn.com/b/efdesign/archive/2010/06/21/productivity-improvements-for-the-entity-framework.aspx?wa=wsignin1.0&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/7339716739420974961/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2015/12/leia-um-pouco-sobre-as-melhorias-de.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/7339716739420974961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/7339716739420974961'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2015/12/leia-um-pouco-sobre-as-melhorias-de.html' title='[Leia um pouco sobre] As melhorias de produtividade para o Entity Framework!'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWaLwB1G3b_wkxRufZSw0Qn3cFGSxBp5qo9BzsaU6T4wV9BuVTVQPI12HDzTjADk5oraJEyhGNCI9dRgLUP09GBEdEJi1WLiPCsH2ZHkiFXgRwuoM9BF8KndmSIxCkxJundQKEv4EMdoI/s72-c/entity+framework.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-894641670185913174</id><published>2015-12-04T05:06:00.000-08:00</published><updated>2015-12-04T05:06:20.668-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estudos"/><title type='text'>Leia um pouco sobre - Empresas devem ser penalizadas por não emitirem NFC-e.</title><content type='html'>Empresas devem ser penalizadas por não emitirem NFC-e.&lt;br /&gt;
&lt;br /&gt;
Apesar de ser um projeto em nível nacional, a NFC-e (Nota Fiscal do Consumidor Eletrônica) &amp;nbsp;vem sendo massificada nos estados brasileiros de forma distinta em cada estado. Alguns adotaram uma política mais amena, entretanto, outros criaram um sistema mais rígido para fazer cumprir o calendário de obrigatoriedade .&lt;br /&gt;
&lt;br /&gt;
De todo modo, o que temos visto é que, grande parte dos estados que iniciaram o projeto piloto em 2012 , já estão em fase de cumprimento do cronograma de obrigatoriedade . No estado do Amazonas por exemplo, a Secretaria de Fazenda informou no dia 25/11/2015 por meio do seu portal de notícias , que os contribuintes que não cumprirem a obrigatoriedade de emissão prevista para 01/12/2015 , estarão sujeitos a penalização como: &amp;nbsp;restrições administrativas, inclusive com suspensão de sua Inscrição Estadual .&lt;br /&gt;
&lt;br /&gt;
Considerando que o estado foi um dos primeiros a avançar na massificação em nível de obrigatoriedade, e mesmo assim, somente agora, deve iniciar sansões mais rígidas aos contribuintes que estiverem em desconformidade com tal obrigação, podemos observar que esta deve ser uma tendência seguida pelos demais estados.&lt;br /&gt;
&lt;br /&gt;
Por isso, a implantação da NFC-e já pode ser considerada um caminho sem volta nos estados que aderiram ao projeto, pois fica claro que a estratégia de massificação baseado no calendário da obrigatoriedade, contará também com outros meios que mitigarão o não cumprimento de tal cronograma.&lt;br /&gt;
&lt;br /&gt;
link Original:&lt;br /&gt;
&lt;a href=&quot;https://ciranda.me/tsdn/blog-da-tecnospeed/post/empresas-devem-ser-penalizadas-por-nao-emitirem-nfc-e&quot;&gt;https://ciranda.me/tsdn/blog-da-tecnospeed/post/empresas-devem-ser-penalizadas-por-nao-emitirem-nfc-e&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/894641670185913174/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2015/12/leia-um-pouco-sobre-empresas-devem-ser.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/894641670185913174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/894641670185913174'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2015/12/leia-um-pouco-sobre-empresas-devem-ser.html' title='Leia um pouco sobre - Empresas devem ser penalizadas por não emitirem NFC-e.'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-4698244689839603390</id><published>2015-10-26T11:49:00.001-07:00</published><updated>2015-10-26T11:49:23.495-07:00</updated><title type='text'>Defeito, Bug ou Erro e Falhas em Teste de Software Veja a definição?</title><content type='html'>&lt;br /&gt;
    &lt;br /&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 22px; font-stretch: normal; font-weight: normal; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
Qual o significado de
      Defeito, Bug ou Erro e Falhas em Teste de Software?&lt;/h3&gt;
&lt;br /&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-5272102164547006239&quot; itemprop=&quot;description
      articleBody&quot; style=&quot;background-color: white; position: relative; width: 570px;&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMpLC1xcE6sz_D4oJV0YB6p-qegBId5OPe9K_9qyOaXpdaRe6B8VsJMs0HyCusiI-4_43IAa8pHsoBmEEf01Gg8YVYr-05tjosS5tRuvpPnmW_ttpscIc9v9DiL4eMuelNB5eq4emMHy4/s1600/bug.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMpLC1xcE6sz_D4oJV0YB6p-qegBId5OPe9K_9qyOaXpdaRe6B8VsJMs0HyCusiI-4_43IAa8pHsoBmEEf01Gg8YVYr-05tjosS5tRuvpPnmW_ttpscIc9v9DiL4eMuelNB5eq4emMHy4/s400/bug.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.2px; line-height: 1.4;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;a href=&quot;http://peripeciasdesenvolvedor.blogspot.com.br/2015/09/o-significado-de-defeito-bug-falha.html&quot; target=&quot;_blank&quot;&gt;http://peripeciasdesenvolvedor.blogspot.com.br/2015/09/o-significado-de-defeito-bug-falha.html&lt;/a&gt;&lt;br /&gt;
              &lt;/span&gt;&lt;/span&gt;&lt;h3&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;Regra&amp;nbsp;Básica:&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13.2px; line-height: 1.4;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;
              Um regrinha rápida para compreender:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4;&quot;&gt;
&lt;span style=&quot;color: #333333; line-height: 24px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1)&amp;nbsp;&lt;b&gt;Erro&lt;/b&gt;&amp;nbsp;é cometido por um
              ser humano&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;2)
              um&amp;nbsp;&lt;b&gt;Defeito&lt;/b&gt;&amp;nbsp;é gerado no
              Sistema, quando programado de forma&amp;nbsp;&lt;b&gt;errada&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;3)&amp;nbsp;&lt;b&gt;Falha&lt;/b&gt;&amp;nbsp;é o que é
              retornado para o usuário através de um aviso na tela.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;4)&amp;nbsp;&lt;b&gt;Bug&lt;/b&gt;&amp;nbsp;é quando uma
              grande quantidade de erros, defeitos ou falhas são
              encontrados no Software.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;Para
              evitar essa dor de cabeça quando o seu Produto de Software
              for entregue, é muito útil que se use o Teste de Software,
              como já dissemos, durante todo o seu ALM.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
          &lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;Agora,
              vamos de definição.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 24px; margin-bottom: 25px; padding: 0px; text-align: justify;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Definição:&lt;/span&gt;&lt;/strong&gt;&lt;/h3&gt;
&lt;ul style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 24px; margin: 0px; padding: 0px 0px 25px;&quot;&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Um
              defeito é um erro ou um bug, dentro da aplicação quando
              ela é criada. Um desenvolvedor quando está modelando e
              construindo o Sistema, pode cometer enganos ou erro. Esses
              enganos ou erros significam que existem falhas no Sistema,
              tais falhas são chamadas de defeitos.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Quando
              o resultado atual desvia do resultado esperado durante os
              testes então isso é um defeito. Consequentemente, qualquer
              desvio da especificação mencionado no Documento de
              Especificação funcional do produto é considerado um
              defeto. Em empresas diferentes isso é frequentemente
              chamado de bug, issue, problema ou incidente.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Quando
              a Produto final não supre a expectativa do usuario final
              ou não respeita os Requistos Modelados, então isso
              resultado em um Bug ou Defeito. Esses defeitos, ou bug,
              ocorrem porque houve um erro de lógica ou erro no código
              que resulta em uma falha ou resultado imprevisivel ou
              imprevisto.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4;&quot;&gt;
&lt;strong style=&quot;color: #333333; line-height: 24px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Informações
              adicionais sobre Defeitos/Bugs:&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4;&quot;&gt;
&lt;br /&gt;
        &lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 24px; margin-bottom: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Quando
            uma aplicação ou um Produto de Software é testado, se um
            grande número de defeitos são encontrados então ela é
            considerada &quot;Bugada&quot; ou que contém um &quot;Bug&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 24px; margin-bottom: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Quando um
            testador encontra um Bug ou um Defeito,é necessário informar
            sobre os mesmos com os desenvolvedores. Para tal, ele coloca
            tais defeitos em um Relatório detalhando os passos efetuados
            até chegar no defeito encontrado, esse Relatório tem vários
            nomes: Relatório de Bugs, Relatório de Issues, Relatório de
            Defeitos, Relatório de Problemas e etc.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 24px; margin-bottom: 25px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Este
            Relatório consiste, basicamente, em conter a seguinte
            informação:&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 24px; margin: 0px; padding: 0px 0px 25px;&quot;&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;ID
                do Defeito&lt;/b&gt;&amp;nbsp;– Todo Bug ou Defeito tem um número de
              identificação único.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Descrição
                do Defeito&lt;/b&gt;&amp;nbsp;– A explicação sobre o que foi
              encontrado.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Versão
                do Produto&lt;/b&gt;&amp;nbsp;– A versão do Produto, aplicação, no qual
              o defeito é encontrado.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Detalhes
                Passo a passo&lt;/b&gt;&amp;nbsp;– Os passos detalhados do problema com
              prints de tela anexados para que os desenvolvedores possam
              simular o mesmo em seu ambiente.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Data
                do Ocorrido&lt;/b&gt;&amp;nbsp;– A data de quando o Bug foi encontrado
              e relatado.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Reportado
                Por&lt;/b&gt;&amp;nbsp;– As informações do Testador que encontrou e
              reportou o Problema, tais como o nome e o Id do Testador.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Estado&lt;/b&gt;&amp;nbsp;–
              O Estado do defeito como: Novo, Encaminhado à alguém,
              Aberto, Retestado, Verificação, Fechado, Falho, Igorado ou
              Deferred e etc.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Corrigido
                por&lt;/b&gt;&amp;nbsp;– Os detalhes do desenvolvedor que corrigiu o
              defeito como Id e Nome do Desenvolvedor.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Data
                de Finalização&lt;/b&gt;&amp;nbsp;– A data em que o defeito foi
              resolvido e a entrada finalizada.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Severidade
                –&amp;nbsp;&lt;/b&gt;Baseado
              na severidade (Crítica, Principal, Menor), nos diz sobre o
              impacto do defeito ou bug na aplicação.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;list-style-type: square; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Prioridade
                –&amp;nbsp;&lt;/b&gt;Baseado
              em um conjunto de prioridades (Alta, Média, Baixa), a
              ordem de corrigir o defeito pode ser dada&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo6ZTqG4ltrqGxtmV_vT_irhfXIdaujtxeKdF5ogfGobxpiFreGhdoqenf7wliaTWrNSgmaZG03DfnGp4C9wxrSzqWu9w5Lm3In-QsEYQ-8rgYqOstFnSSfyHDLQ3ovoqgCJLoCRHD5J0/s1600/BUG_v2-300x288.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo6ZTqG4ltrqGxtmV_vT_irhfXIdaujtxeKdF5ogfGobxpiFreGhdoqenf7wliaTWrNSgmaZG03DfnGp4C9wxrSzqWu9w5Lm3In-QsEYQ-8rgYqOstFnSSfyHDLQ3ovoqgCJLoCRHD5J0/s1600/BUG_v2-300x288.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/4698244689839603390/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2015/10/defeito-bug-ou-erro-e-falhas-em-teste.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4698244689839603390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/4698244689839603390'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2015/10/defeito-bug-ou-erro-e-falhas-em-teste.html' title='Defeito, Bug ou Erro e Falhas em Teste de Software Veja a definição?'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMpLC1xcE6sz_D4oJV0YB6p-qegBId5OPe9K_9qyOaXpdaRe6B8VsJMs0HyCusiI-4_43IAa8pHsoBmEEf01Gg8YVYr-05tjosS5tRuvpPnmW_ttpscIc9v9DiL4eMuelNB5eq4emMHy4/s72-c/bug.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-6235618410451480666</id><published>2015-10-25T21:05:00.002-07:00</published><updated>2015-10-25T21:05:33.718-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Programa Pronto"/><title type='text'>Programa para Reiniciar o Tef_Dial no Computador, Usando o instalador, mostrando o Código C#.</title><content type='html'>&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;Aplicativo, Reiniciar Tef_Dial e o serviço Vpn no Windows.&lt;/span&gt;&lt;/h2&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmRFBBEgEoSHkfhtIbywvoPKghIuWv2ddnrZE-rtz63fOyreVMdAls1QALJtXsvxc3rjrYY-yrbLfJYMUbt2svqtXNWN-JExNfYRo3Pa143wUWfd_Eslx2ueua1pKYBgAc6JJW4uAhGV8/s1600/cartao.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmRFBBEgEoSHkfhtIbywvoPKghIuWv2ddnrZE-rtz63fOyreVMdAls1QALJtXsvxc3rjrYY-yrbLfJYMUbt2svqtXNWN-JExNfYRo3Pa143wUWfd_Eslx2ueua1pKYBgAc6JJW4uAhGV8/s320/cartao.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3&gt;
Demostração da aplicação&lt;/h3&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Vou mostra como fiz para construir um programa que desligue o TEF_DIAL, reinicie o serviço do Windows chamado de OPENVPNSERVICE, e ligue novamente o TEF_DIAL para corrigir erros no momento que esta passando cartão.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
tela principal do aplicativo:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixNGEUHyU_K2KBVG-Ji3sIVwg_M375UF2_wAW4tCIjL5fDTySr8DVXBs1r62K2L184dBalF6pt4U4aCyo-mpvwKWWWLDOfB1nSvidpzuFU0zUZ9MjOgcqJyK7XBsjneWv6tK4UAGrjeZE/s1600/Tela+Principal+Retartando+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;275&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixNGEUHyU_K2KBVG-Ji3sIVwg_M375UF2_wAW4tCIjL5fDTySr8DVXBs1r62K2L184dBalF6pt4U4aCyo-mpvwKWWWLDOfB1nSvidpzuFU0zUZ9MjOgcqJyK7XBsjneWv6tK4UAGrjeZE/s640/Tela+Principal+Retartando+GetCard+Alexssandrolima.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 01&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Como ver na tela principal da aplicação o nome principal &quot;RETARTANDO GETCARD E SERVIÇO&quot;, o intuito como o próprio nome diz, e assim, foi construído a aplicação para reiniciar dois executáveis distintos no Windows, na tela foi criado um textbox para mostra o que esta sendo feito a cada momento de execução da aplicação.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtU1RjROYyqaGQTF3Pgka5zNltMGtpkYpdvlJTdX3Lj2Oi1vFNGpUPeUYwVCnzKoiqlZFO-F5VnJlLJJxtbqp3RkmDuTVpYu2kR1sqLh_ovELmZ-L5vtyyCR33qMDLsOpkC0ussiL40ck/s1600/Tela+Principal+textbox+de+processos+da+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtU1RjROYyqaGQTF3Pgka5zNltMGtpkYpdvlJTdX3Lj2Oi1vFNGpUPeUYwVCnzKoiqlZFO-F5VnJlLJJxtbqp3RkmDuTVpYu2kR1sqLh_ovELmZ-L5vtyyCR33qMDLsOpkC0ussiL40ck/s400/Tela+Principal+textbox+de+processos+da+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 02&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
ao mesmo tempo foi colocado um botão grande para que o serviço seja reiniciado e o cliente seja liberado para sua venda.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQpnsn_DOf4l5F0Z5XZzp4LES-Izf1SPqdBpGaVMHTw9aptpIQ_YttrFbHoGZmB1hXXjTlKBxyKyUVikhBX7wDkUuc2YXV8qfcKOjYxxg6mYih-PolPx_kYTfxcHsEz6qEC3VwJmME3gg/s1600/Tela+Principal+Bot%25C3%25A3o+Reiniciar+servi%25C3%25A7o+e+processos+da+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQpnsn_DOf4l5F0Z5XZzp4LES-Izf1SPqdBpGaVMHTw9aptpIQ_YttrFbHoGZmB1hXXjTlKBxyKyUVikhBX7wDkUuc2YXV8qfcKOjYxxg6mYih-PolPx_kYTfxcHsEz6qEC3VwJmME3gg/s1600/Tela+Principal+Bot%25C3%25A3o+Reiniciar+servi%25C3%25A7o+e+processos+da+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 03&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;Assim também foram criados trés chekbox para que o usuário necessite de algumas configurações amais,&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2e6f0VBbmcYp4iT7qpgfEtkOK7GzRtFLjkX5bjjGlMBMmfmnMGySLuVPelDzH3otFxDYwo2SS39fjBSMXoxTcLMNyXfZYg3AO_vEEHWhJWskUU5EOlmgqEXzZJXtwhXcKMtOferLBtkw/s1600/Tela+Principal+checkbox+Configurar+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2e6f0VBbmcYp4iT7qpgfEtkOK7GzRtFLjkX5bjjGlMBMmfmnMGySLuVPelDzH3otFxDYwo2SS39fjBSMXoxTcLMNyXfZYg3AO_vEEHWhJWskUU5EOlmgqEXzZJXtwhXcKMtOferLBtkw/s1600/Tela+Principal+checkbox+Configurar+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 04&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;O primeiro checkbox criado para ligar o Tef_Dial no processo que vai dar o stop de parada no mesmo, caso o sistema de automação tenha o comando que reinicie o mesmo como o paf-ecf devidamente homologado pelo fiscal do estado, o próximo checkbox foi criado para que o serviço da vpn seja reiniciado ou não, dependendo do Windows onde o aplicativo foi instalado e tem muito problema de conexão com o servidor que foi configurado o VPN, o outro checkbox Automaticamente ao reiniciar foi criado para que seja executado a aplicação de reinicialização não tenha a necessidade de clique no botão de &quot;reiniciar o serviço&quot;, com isso rele automaticamente executa o que foi configurado.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Continuando com a explicação da aplicação temos um local de configuração para configurar os executáveis e o serviço que vai ser reiniciado.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
clique no &quot;&amp;lt;&lt;configura o=&quot;&quot;&gt;&amp;gt;&quot; na parte superior da tela, como a imagem abaixo.&lt;/configura&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQPoC7XjLPlXqATNWUSrihPFwt5756CjGjoJBfbpRtSQWRbDN3d1S0DVOoFQ48OZV3baNIfrcp3icE1xR50s8UXtYXcPFz7vyMOWQOplINDBHiunXLbJe-iY82hjYR4UqHmfYdfH2m7LY/s1600/Tela+Principal+Bot%25C3%25A3o+configura%25C3%25A7%25C3%25A3o+da+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQPoC7XjLPlXqATNWUSrihPFwt5756CjGjoJBfbpRtSQWRbDN3d1S0DVOoFQ48OZV3baNIfrcp3icE1xR50s8UXtYXcPFz7vyMOWQOplINDBHiunXLbJe-iY82hjYR4UqHmfYdfH2m7LY/s1600/Tela+Principal+Bot%25C3%25A3o+configura%25C3%25A7%25C3%25A3o+da+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 05&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp;veja então que aparecera a tela principal de configuração como na figura abaixo.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdvdF1lz6Qpoy5iIm3Rzli0_aY8Luo3ZJBpWMzSF-El1el9lEbHSHBEUsWPiPR1C8Kct-GRzJIEnQB1sYiUCmT11KMmdJ-xee4bdatLXDZSGi-zBvI_eegJM1awbDdTyPozmlOSGnvyss/s1600/Tela+Principal+Configura%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdvdF1lz6Qpoy5iIm3Rzli0_aY8Luo3ZJBpWMzSF-El1el9lEbHSHBEUsWPiPR1C8Kct-GRzJIEnQB1sYiUCmT11KMmdJ-xee4bdatLXDZSGi-zBvI_eegJM1awbDdTyPozmlOSGnvyss/s400/Tela+Principal+Configura%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 06&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Nesta tela de configuração tem um botão &quot;...&quot; para procurar o executável do Tef_Dial.exe no computador que vai ser executado o programa do tef.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgICpMfxAXcOkIuKnju0sFLzO_o-Rz3sHBYj9dNiZlEbGgJD6ew2hSdgE-Mna0wTIznDNmam8pjz3mmo2Vo5YKlw0n192g3v2llQgV8UecR0NMj5xlwNEccmPAvYwK9_Rov27N1-3A2qNM/s1600/Tela+procurando+o+executavel+tef_dial+na+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgICpMfxAXcOkIuKnju0sFLzO_o-Rz3sHBYj9dNiZlEbGgJD6ew2hSdgE-Mna0wTIznDNmam8pjz3mmo2Vo5YKlw0n192g3v2llQgV8UecR0NMj5xlwNEccmPAvYwK9_Rov27N1-3A2qNM/s400/Tela+procurando+o+executavel+tef_dial+na+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 07&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
O intuído foi para que não seja esquecido o local correto do executável Tef_Dial.exe e assim não ocorrer erros na aplicação, o próximo foi o nome do serviço no Windows para que não seja esquecido e ocasione erros na aplicação.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Caso o Ícone não seja configurado para iniciar como administrador do windows acarretar o seguinte erro na tela de apresentação da aplicação.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp8H-7RES8P66p9odfdefvqmb9Eayq1seHSgb8V1ArkXhDv1OIz25JtTILMxDXAIbo_Dp0RRJs9UskJGxhW7gJDTreBNcXX9W0Aenm3rbmeuDpKIFPjTH9NBmEVPMXUAIBrV3Z4AnssDg/s1600/Tela+Erro+Permiss%25C3%25A3o+Retartando+Servi%25C3%25A7o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;142&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp8H-7RES8P66p9odfdefvqmb9Eayq1seHSgb8V1ArkXhDv1OIz25JtTILMxDXAIbo_Dp0RRJs9UskJGxhW7gJDTreBNcXX9W0Aenm3rbmeuDpKIFPjTH9NBmEVPMXUAIBrV3Z4AnssDg/s400/Tela+Erro+Permiss%25C3%25A3o+Retartando+Servi%25C3%25A7o+GetCard+Alexssandrolima.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 08&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Sua configuração deverá ser feita diretamente no ícone na área de trabalho como vou mostra a seguir.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBPRXIqKU2YVGw7i2kCK26pdporiY7VvcYV0BDTWmMgAC2nB-zaWsyBCgjVDH5h8EM06MEwEkD6NYYQV3JmEu3mG_6oy4y5MoM61CfGM04AWCcDqPYqYHLnw54KlRDE3gKx5m6iocngF0/s1600/Icone+da+area+de+tabalho+da+Tela+Principal+Retartando+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBPRXIqKU2YVGw7i2kCK26pdporiY7VvcYV0BDTWmMgAC2nB-zaWsyBCgjVDH5h8EM06MEwEkD6NYYQV3JmEu3mG_6oy4y5MoM61CfGM04AWCcDqPYqYHLnw54KlRDE3gKx5m6iocngF0/s1600/Icone+da+area+de+tabalho+da+Tela+Principal+Retartando+GetCard+Alexssandrolima.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 09&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
veja como deve ser feito nas propriedades do ícone acima.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQGdGyfWhxncWFfVvm4iEeN5r9UR8yu-_87U9kgNpHOljNk_2vQXyFqPFp5pym0VeR8RZZBvuQ97p5MzIPWFa1sdsrbFO7BOs_A37NysRmAlnmp2V4SiTBcvWNi7KA6hFFOut6wy3dUpo/s1600/Propriedade+do+Icone+da+area+de+tabalho+da+Tela+Principal+Retartando+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQGdGyfWhxncWFfVvm4iEeN5r9UR8yu-_87U9kgNpHOljNk_2vQXyFqPFp5pym0VeR8RZZBvuQ97p5MzIPWFa1sdsrbFO7BOs_A37NysRmAlnmp2V4SiTBcvWNi7KA6hFFOut6wy3dUpo/s400/Propriedade+do+Icone+da+area+de+tabalho+da+Tela+Principal+Retartando+GetCard+Alexssandrolima.png&quot; width=&quot;282&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 10&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Caso esta configuração não seja executada o serviço do Windows não reiniciara e ao mesmo tempo ocorrera um erro na tela.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Continuando o processo de reinicialização do executável Tef_Dial, aparecera a seguinte mensagem que ele esta sendo iniciado.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfYE3lPtHy9kP0lOmHUbNoBMbiUrIq1-1MidrqHCSrZsKrVMlIW_8H_3lnVPHvwWlKAvrRcsbuDHLjz10rzJiGvbRaBcERWw-qiJRzYW0VebapqbQslS-8romzSedKKB0zG8QMka99Fvo/s1600/Tela+Iniciando+o+Tef_dial+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;102&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfYE3lPtHy9kP0lOmHUbNoBMbiUrIq1-1MidrqHCSrZsKrVMlIW_8H_3lnVPHvwWlKAvrRcsbuDHLjz10rzJiGvbRaBcERWw-qiJRzYW0VebapqbQslS-8romzSedKKB0zG8QMka99Fvo/s400/Tela+Iniciando+o+Tef_dial+GetCard+Alexssandrolima.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 11&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp;Ao concluir todo o processo clique no botão de sair e a qualquer momento poderar ser iniciado novamente no ícone do Windows.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdLX8YhCGvfh3Alvts5s2nWSZhEgr58MzuG44NiVwKZ3S89yPD6MeQs580qznNxTBZ1ixz_tvTvxB4nSzzybHrNjKuW7mfwOZ7ktcl1ct7uiQtYS2w_mhJZ1DYzjuWww1Sd5obZvVDvbA/s1600/Saindo+da+Tela+Principal+Retartando+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdLX8YhCGvfh3Alvts5s2nWSZhEgr58MzuG44NiVwKZ3S89yPD6MeQs580qznNxTBZ1ixz_tvTvxB4nSzzybHrNjKuW7mfwOZ7ktcl1ct7uiQtYS2w_mhJZ1DYzjuWww1Sd5obZvVDvbA/s1600/Saindo+da+Tela+Principal+Retartando+GetCard+Alexssandrolima.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 12&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Finalizando a execução da aplicação no computador do cliente.&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Verificaremos agora com fazer a instalação da aplicação.&lt;/span&gt;&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Baixe a aplicação no seguinte endereço abaixo.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://vciga.dyndns.org/siga1/syspaf_download/Restart_GetCard_Install_Atualizado_em_25-10-2015.exe&quot;&gt;http://vciga.dyndns.org/siga1/syspaf_download/Restart_GetCard_Install_Atualizado_em_25-10-2015.exe&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Pronto agora vamos inicia o processo de instalação, ao executar o arquivo baixado aparecera a seguinte tela de apresentação.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUCCM29rA5aN22sm5kV6_GLAPbJFEc89OcoJq9EQRSZY10AemqB7rANYKGgnw1egZShPDLHV-66HGuqxGGs-h3eiCG74k2mMZLDcZwbkQnBWHBL5VLLkyOpQHPexVrnMuDID0jC9blWro/s1600/01+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUCCM29rA5aN22sm5kV6_GLAPbJFEc89OcoJq9EQRSZY10AemqB7rANYKGgnw1egZShPDLHV-66HGuqxGGs-h3eiCG74k2mMZLDcZwbkQnBWHBL5VLLkyOpQHPexVrnMuDID0jC9blWro/s1600/01+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 13&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Selecione &quot;ok&quot; e continue em &quot;Avançar&quot; como na tela abaixo.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqNE1fEMk5sPa8xa9MSp0TM_bTp_ZQVoA0pCD0Yas_OFl8hdlXU4LOI3YX3nwQyUz2Lu98ZV0DankpQUPGvdREtWVPkmesc8NOpV-1upH3PmXM1DUTVS8osxbT1WlxLmDRBMAqdAeNGfc/s1600/02+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqNE1fEMk5sPa8xa9MSp0TM_bTp_ZQVoA0pCD0Yas_OFl8hdlXU4LOI3YX3nwQyUz2Lu98ZV0DankpQUPGvdREtWVPkmesc8NOpV-1upH3PmXM1DUTVS8osxbT1WlxLmDRBMAqdAeNGfc/s320/02+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 14&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Selecione aceito a instalação da aplicação.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFXUjmaUBiC1_BXJ9XMyfP1DUOaMiVBO0eR9IO_lox-UCPEqc5LqBZIv8y_FjWWvHWuK9RjcFs_pZl6IY1la05EkPTStNB1Tc4aiyFcKjI4pogoFPNvYuoJjzh-7AF-E3DU59m9BABM38/s1600/03+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFXUjmaUBiC1_BXJ9XMyfP1DUOaMiVBO0eR9IO_lox-UCPEqc5LqBZIv8y_FjWWvHWuK9RjcFs_pZl6IY1la05EkPTStNB1Tc4aiyFcKjI4pogoFPNvYuoJjzh-7AF-E3DU59m9BABM38/s320/03+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 15&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Selecione em avançar para continuar a instalação da aplicação.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBLwXDRytzdzsdADCrG94fqQDYtyA0nG_gYWQiH5wqgm_YulUn6rigMB_KYf-7u8ROJt5qjUX_mRj8q35a1TSuWfzjhba8i6hNyDQDaeFEZlxJn0CFQdGrJuFW8k0FmPn7cM-RTJy7FhA/s1600/04+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBLwXDRytzdzsdADCrG94fqQDYtyA0nG_gYWQiH5wqgm_YulUn6rigMB_KYf-7u8ROJt5qjUX_mRj8q35a1TSuWfzjhba8i6hNyDQDaeFEZlxJn0CFQdGrJuFW8k0FmPn7cM-RTJy7FhA/s320/04+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 16&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Caso existir a pasta Tef-Dial o sistema perguntara se a instalação sera na pasta existente.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxs1Wu0xs_kdopSeOdR8k1wuvL-zrmuBWDFccvO854Qka01pugTRwBWsdRrERQGui5_Iq5CZ92J50sLQr1L-OHfu0E9BlBU2Zkd36kWKz1OpicjfRUD6MGW2JWUW242FxUJgyBBDjODIc/s1600/05+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;169&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxs1Wu0xs_kdopSeOdR8k1wuvL-zrmuBWDFccvO854Qka01pugTRwBWsdRrERQGui5_Iq5CZ92J50sLQr1L-OHfu0E9BlBU2Zkd36kWKz1OpicjfRUD6MGW2JWUW242FxUJgyBBDjODIc/s320/05+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 17&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Veja que será instalado no computador, clique em avançar.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjADVdeqD_vfnOr0ltNirLVTvuLvq7OWb5PWZcTajfS8TbLJfEnTR71bZgUuv-xzgQPDF4Tw_ndiRnr3KEDh50KNMAgaL1cMTW3B6WJOjfhzg8mFsckSW9IGrNQmFHIy2mngihoH57EEwo/s1600/06+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjADVdeqD_vfnOr0ltNirLVTvuLvq7OWb5PWZcTajfS8TbLJfEnTR71bZgUuv-xzgQPDF4Tw_ndiRnr3KEDh50KNMAgaL1cMTW3B6WJOjfhzg8mFsckSW9IGrNQmFHIy2mngihoH57EEwo/s320/06+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 18&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Mostrando o que a instalação vai alterar no computador.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHZR3F4W2A4hkaC-RV0tI5RcrJ3yLpu7_ntj69UNIWytzzWAKZ5nrumS-ZIm_nh2FdZNWAbLmXS85eN21dCDeUC0A-sl7VBNTQNd_wmEWG2vB0UeJ_bQGIb7j237fNluzIPTDoczfRrCE/s1600/07+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHZR3F4W2A4hkaC-RV0tI5RcrJ3yLpu7_ntj69UNIWytzzWAKZ5nrumS-ZIm_nh2FdZNWAbLmXS85eN21dCDeUC0A-sl7VBNTQNd_wmEWG2vB0UeJ_bQGIb7j237fNluzIPTDoczfRrCE/s320/07+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 19&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Instale o &quot;DotNetFrameWork Setup 4.0&quot; para que a aplicação seja executada no Windows e assim concluir a instalação.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKbrMMVUqVu0T5WmBor95_ub9UXDAHzuhg64V0JJqNGudWOfTT62mCstwI7FMH7yTn6ahwQ2fIB1QNwW2X0ajbg3LXEa-dCIt79fmEcP0YXjc2qNsbRoS1qNf5XZHcVDwLPIQ8u-wfWPw/s1600/09+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKbrMMVUqVu0T5WmBor95_ub9UXDAHzuhg64V0JJqNGudWOfTT62mCstwI7FMH7yTn6ahwQ2fIB1QNwW2X0ajbg3LXEa-dCIt79fmEcP0YXjc2qNsbRoS1qNf5XZHcVDwLPIQ8u-wfWPw/s320/09+-+Instalando+a+aplica%25C3%25A7%25C3%25A3o+GetCard+Alexssandrolima.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 20&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Pronto agora o seu computador estará pronto para executar a aplicação de Reiniciar o Tef_Dial e o serviço do OPENVPNSERVICE.&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Alguns detalhes do código fonte da aplicação.&lt;/span&gt;&lt;/h3&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Vou colocar o condigo completo no GitHub no endereço.:&lt;br /&gt;
&lt;a href=&quot;https://github.com/Alexssandrolima/estudos&quot; target=&quot;_blank&quot;&gt;https://github.com/Alexssandrolima/estudos&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
using System.ServiceProcess;&lt;br /&gt;
using System.Diagnostics;&lt;br /&gt;
using System.IO;&lt;br /&gt;
using RestartGetCardServicos.Properties;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public bool Automaticamente { get; set; }&lt;br /&gt;
public bool Ligadosim { get; set; }&lt;br /&gt;
&lt;br /&gt;
readonly string _username = Environment.ExpandEnvironmentVariables(&quot;%USERNAME%&quot;);&lt;br /&gt;
readonly string _userdomain = Environment.ExpandEnvironmentVariables(&quot;%USERDOMAIN%&quot;);&lt;br /&gt;
readonly string _varSourcePath = Environment.CurrentDirectory + &quot;\\&quot;;&lt;br /&gt;
readonly string _varMachineName = Environment.MachineName;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void buttonSair_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.Automatica = checkBoxAutomatica.Checked;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.ReiniciarVpn = checkBoxReiniciarVpn.Checked;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.LigarTefDial = checkBoxLigarTefDialReiniciar.Checked;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.Save();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;Desligando o sistema ... &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (MessageBox.Show(Resources.Desejasairdosistema, Resources.SaindodoSistema, MessageBoxButtons.YesNo, MessageBoxIcon.Question).Equals(DialogResult.Yes))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Checharboxautomaticoligadodesligado();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Application.Exit();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void buttonCancelar_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.Automatica = &amp;nbsp;checkBoxAutomatica.Checked;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.ReiniciarVpn = checkBoxReiniciarVpn.Checked;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.LigarTefDial = checkBoxLigarTefDialReiniciar.Checked;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.Save();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Application.Restart();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void FormPrincipal_Load(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //MessageBox.Show(&quot;_varMachineName &amp;gt;&amp;gt; &quot; + _varMachineName);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot; Bom dia! &quot; + _username);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot; Pressione Reiniciar Serviço no &quot; + _userdomain);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot; ou Selecione \&quot; Reiniciar Automaticamento ao iniciar na proxima vez! \&quot; &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot; Executando em: &quot; + _varSourcePath);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (Automaticamente == Settings.Default.Automatica)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ligadosim = true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;Automatico já esta ligado ... &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; checkBoxAutomatica.Checked = Automaticamente;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RestartartandoServicosExecutaveis();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(Automaticamente = Settings.Default.ReiniciarVpn)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; checkBoxReiniciarVpn.Checked = true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; checkBoxReiniciarVpn.Checked = false;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(Automaticamente = Settings.Default.LigarTefDial)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; checkBoxLigarTefDialReiniciar.Checked = true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; checkBoxLigarTefDialReiniciar.Checked = false;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void Checharboxautomaticoligadodesligado()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (checkBoxAutomatica.Checked)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;automatico ligado ... &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!Ligadosim)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ligadosim = true;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //MessageBox.Show(&quot; configurando o check box &quot; + ligadosim);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ligadosim = false;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //MessageBox.Show(&quot; desconfigurando o checkbox &quot; + ligadosim);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.Automatica = Ligadosim;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.Save();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void buttonIniciarServiço_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RestartartandoServicosExecutaveis();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void RestartartandoServicosExecutaveis()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.Automatica = checkBoxAutomatica.Checked;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.ReiniciarVpn = checkBoxReiniciarVpn.Checked;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.LigarTefDial = checkBoxLigarTefDialReiniciar.Checked;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.Save();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;Iniciando ... &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Nomedoservicodowindows = Settings.Default.NomedoServicoWindows;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Nomeextensaoservico = Path.GetFileNameWithoutExtension(Nomedoservicodowindows);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Desligarexecutavel();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (Automaticamente = Settings.Default.ReiniciarVpn)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Desligandoservicodowindows();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ligandoservicodowindows();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (Automaticamente = Settings.Default.LigarTefDial)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ligandoexecutavel();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void Ligandoservicodowindows()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== Começando a ligar &amp;gt;&amp;gt;&quot; + Nomedoservicodowindows + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StopService(Nomeextensaoservico, 100000);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== Continuando a ligar&amp;gt;&amp;gt;&quot; + Nomedoservicodowindows + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void StopService(string serviceName, int timeoutMilliseconds)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ServiceController service = new ServiceController(serviceName);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TimeSpan timeout = TimeSpan.FromMilliseconds(timeoutMilliseconds);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; service.MachineName = _varMachineName;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== service.Start &amp;gt;&amp;gt;&quot; + service.Status.ToString() + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; service.Start();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== service.Start &amp;gt;&amp;gt;&quot; + service.Status.ToString() + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; service.WaitForStatus(ServiceControllerStatus.Running, timeout);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== service.Start &amp;gt;&amp;gt;&quot; + service.Status.ToString() + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== service.Start &amp;gt;&amp;gt;&quot; + service.Status.ToString() + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception ex)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;Erro! &amp;gt;&amp;gt;&quot; + ex.InnerException.Message + &quot; &amp;gt;&amp;gt; &quot; + ex.Message);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(Resources.FormPrincipal_StopService_ErrorEncontrado + ex.InnerException.Message + ex.Message);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void StartService(string serviceName, int timeoutMilliseconds)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== Começando &amp;gt;&amp;gt;&quot; + serviceName + &quot; T:&quot; + timeoutMilliseconds + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ServiceController service = new ServiceController(serviceName);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TimeSpan timeout = TimeSpan.FromMilliseconds(timeoutMilliseconds);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; service.MachineName = _varMachineName;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== service.Stop &amp;gt;&amp;gt;&quot; + service.Status.ToString() + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; service.Stop();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; service.WaitForStatus(ServiceControllerStatus.Stopped, timeout);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== service.Stop &amp;gt;&amp;gt;&quot; + service.Status.ToString() + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception ex)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string nomemessagem = &quot;Erro Encontrado no serviço. &amp;gt;&amp;gt;&quot; + ex.InnerException.Message + &quot; &amp;gt;&amp;gt; &quot; + ex.Message;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(nomemessagem);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(Resources.FormPrincipal_StopService_ErrorEncontrado + ex.InnerException.Message + ex.Message);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void Ligandoexecutavel()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== Ligando &amp;gt;&amp;gt; &quot; + NomeLocalextensao + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (NomeLocalextensao != string.Empty)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;Entrando para Ligar o serviço &amp;gt;&amp;gt;&quot; + NomeLocalextensao);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(File.Exists(NomeLocalextensao))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ProcessStartInfo startInfo = new ProcessStartInfo(NomeLocalextensao);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; startInfo.WorkingDirectory = NomeDiretorio;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;Processando o arquivo &quot; + startInfo.FileName);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Process.Start(startInfo);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception erro)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #if DEBUG&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(erro.Message + &quot;&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(erro.Message + &quot; &quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #endif&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void Desligarexecutavel()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== Desligando &amp;gt;&amp;gt; &quot; + NomeLocalextensao + &quot;==&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NomeLocalextensao = Settings.Default.NomeLocalextensao;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Nomeextensao = Path.GetFileNameWithoutExtension(NomeLocalextensao);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NomeDiretorio = Path.GetDirectoryName(NomeLocalextensao);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (Nomeextensao != string.Empty)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;desligando o executável &amp;gt;&amp;gt;&quot; + Nomeextensao);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var processes = Process.GetProcessesByName(Nomeextensao);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach (var process in processes)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;Parando o executavel &quot; + process.ProcessName);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; process.Kill();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception error)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;Erro ao Finalizar programas encontrar o arquivo &quot; + error.Message);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void labelConfiguracao_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listBoxPrincipal.Items.Add(&quot;== Configurando o Sistema ==&quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var configurar = new FormConfigurar();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; configurar.ShowDialog();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string Nomedoservicodowindows { get; set; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string NomeLocalextensao { get; set; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string Nomeextensao { get; set; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string NomeDiretorio { get; set; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string Nomeextensaoservico { get; set; }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Configurando o sistema com o FormConfigurar&lt;/span&gt;&lt;/h3&gt;
using System.IO;&lt;br /&gt;
using RestartGetCardServicos.Properties;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string Filefilter = &quot;tef_dial.exe|*.exe&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string FileTitle = &quot;Pegando o arquivo executavel do tefdial.exe&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public string FileService = &quot;OpenVPNService.exe&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private OpenFileDialog _openFile;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void buttonProcurarArquivo_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _openFile = new OpenFileDialog&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InitialDirectory = &quot;C:\\TEF_DIAL\\&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Filter = Filefilter,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Title = FileTitle,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FileName = @&quot;tef_dial.exe&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _openFile.ShowDialog();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (_openFile.FileName != null)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; textBoxNomeLocalextensao.Text = _openFile.FileName; // aqui você pega o local + nome do arquivo completo.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; textBoxNomedoServicoWindows.Text = FileService;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void buttonCancelar_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Close();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void buttonSalvar_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.NomeLocalextensao = textBoxNomeLocalextensao.Text;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.NomedoServicoWindows = textBoxNomedoServicoWindows.Text;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Settings.Default.Save();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Close();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void FormConfigurar_Load(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; textBoxNomeLocalextensao.Text = Settings.Default.NomeLocalextensao;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; textBoxNomedoServicoWindows.Text = Settings.Default.NomedoServicoWindows;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/6235618410451480666/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2015/10/programa-para-reiniciar-o-tefdial-no.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/6235618410451480666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/6235618410451480666'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2015/10/programa-para-reiniciar-o-tefdial-no.html' title='Programa para Reiniciar o Tef_Dial no Computador, Usando o instalador, mostrando o Código C#.'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmRFBBEgEoSHkfhtIbywvoPKghIuWv2ddnrZE-rtz63fOyreVMdAls1QALJtXsvxc3rjrYY-yrbLfJYMUbt2svqtXNWN-JExNfYRo3Pa143wUWfd_Eslx2ueua1pKYBgAc6JJW4uAhGV8/s72-c/cartao.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7268146016081828606.post-3741734662374434309</id><published>2015-10-11T04:52:00.001-07:00</published><updated>2015-10-11T04:52:46.029-07:00</updated><title type='text'>[LEIA SOBRE] - Experiencia usando o &quot;GIT&quot; enviando recebendo arquivos entre o computador e o servidor &quot;Github&quot;</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;GIT via comando bash&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9BZh1dkLZi90DskZXX90EgmPe-HP3VRLEgib6UWnLl1MDpfPFJBZJE0b10pOlv1dCLDNRRnHpX-5_NFySxqUan_t17tuUK1zHUBcTPOnOb_Fzn9GtD_6AGO6DW1E6AFahVX9ZHptMBz4/s1600/imagen+do+git.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;133&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9BZh1dkLZi90DskZXX90EgmPe-HP3VRLEgib6UWnLl1MDpfPFJBZJE0b10pOlv1dCLDNRRnHpX-5_NFySxqUan_t17tuUK1zHUBcTPOnOb_Fzn9GtD_6AGO6DW1E6AFahVX9ZHptMBz4/s320/imagen+do+git.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Olá a todos, para que você esteja aqui é porque esta com alguma duvida sobre como usar o git, e ou, esta tentando aprender como usar-lo, para lhe mostrar como usar o &lt;a href=&quot;https://git-scm.com/downloads&quot; target=&quot;_blank&quot;&gt;git&lt;/a&gt; via comando enviando ao&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; target=&quot;_blank&quot;&gt;github&lt;/a&gt;&amp;nbsp;vi e&amp;nbsp;percebi que todo o seu aprendizado vai ser em torno de muita pratica e com isso exercita o que esta aprendendo, no que vou escrever aqui devo muito a um amigo que conheci no Face Book que se chama &lt;a href=&quot;https://www.facebook.com/gabriel.oliveiraferreira.3?fref=ts&quot; target=&quot;_blank&quot;&gt;Gabriel Ferreira&lt;/a&gt; que ao iniciar seu blog fez uma postagem sobre &quot;Instalando o Git e configurando Github no Windows&quot;.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Segue aqui o &lt;a href=&quot;http://gabsferreira.com/instalando-o-git-e-configurando-github/&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt; para quem realmente quer aprender como configurar o Git junto com o Github em três passos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;O que vou mostra aqui é como deve ser usado e praticado para seu exercício com os comandos de envio e recebimento de um repositório entre seu computador e o site do github.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;No começo achei que era uma coisa de outro mundo, e também achei que ia ser muito complicado, mas na verdade para quem já usa comandos em modo texto no &lt;a href=&quot;http://www.vivaolinux.com.br/artigos/&quot; target=&quot;_blank&quot;&gt;&lt;span id=&quot;goog_66749288&quot;&gt;&lt;/span&gt;Linux&lt;span id=&quot;goog_66749289&quot;&gt;&lt;/span&gt;&lt;/a&gt; já fica ambientado com a ferramenta do &lt;a href=&quot;https://help.github.com/articles/set-up-git/&quot; target=&quot;_blank&quot;&gt;GIT BASH&lt;/a&gt;, como por exemplo, o que eu mais gosto de usar o &quot;PWD&quot; mostrando em que local estou, praticamente digitando alguns comandos você vai longe, gosto de usar outro comando, como o &quot;LS&quot;, ou, junto com o &quot;LS -LA&quot;, mim mostra uma lista de arquivos e suas configurações, e outro que vamos usar criar pasta como o &quot;MKDIR&quot; em seu o repositório, mas nada o impede de utilizar o Windows para criar alterar e modificar pastas e arquivos em seu repositório, a meu ver cada um trabalha como achar melhor, Windows ou Linux, e bem como outros programas de modificação de arquivos, como o que estou usando o Visual Studio 2010 no meu projeto de estudos para melhorar minha lógica de programação.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Vamos ao que interessa e o resto não tem pressa, o exercício dos comandos tem que ser habitual e sempre praticado sem êxito de errar, então que o levar a uma boa pratica de uso do repositório com trocas de arquivos, que é muito usado por grandes empresas de tecnologia e programação, que todos os envolvidos tenham em mãos arquivos atualizados do projeto em andamento, e com isso adquiri uma boa experiência em usar o &quot;GIT&quot; junto com &quot;GITHUB&quot;, como uma boa ferramenta para atualização de repositório de arquivos e ou programas.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;O primeiro comando que vou mostrar é para quem já tem um repositório criado no site com arquivos que foram colocados lá, ou então foi dado um fork&lt;span style=&quot;color: blue;&quot;&gt;¹&lt;/span&gt; que foi dado em algum projeto que esteja a disposição para que você participe dele. Vou usar como exemplo uma pasta &quot;estudo&quot; que foi criado e com ele vamos clonar no computador que já esta devidamente configurando como o nosso amigo&amp;nbsp;&lt;a href=&quot;https://www.facebook.com/gabriel.oliveiraferreira.3?fref=ts&quot; target=&quot;_blank&quot;&gt;Gabriel Ferreira&lt;/a&gt;&amp;nbsp;ensinou que não vou entrar em detalhes.&amp;nbsp;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;VERIFICANDO O LOCAL NO GIT&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Digite o comando:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ pwd&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvuZKbzjA_Pk4QqwYVdhnouinFcudH3d8bj_gOMzdvrvXQvqI3-lv9M0NakL_S00exZuR-LMy-i3pOjIPVe1kdV_7IPS_fPJNPwvC_6VA1-fVuK6KQTqfzNiYYUuwoELO5Gj0waVqOi0k/s1600/comando+pwd+no+git.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvuZKbzjA_Pk4QqwYVdhnouinFcudH3d8bj_gOMzdvrvXQvqI3-lv9M0NakL_S00exZuR-LMy-i3pOjIPVe1kdV_7IPS_fPJNPwvC_6VA1-fVuK6KQTqfzNiYYUuwoELO5Gj0waVqOi0k/s640/comando+pwd+no+git.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 1&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;O intuito deste comando mostra o local em que você esta no momento ou em que iniciou o git bash, o meu foi criado em uma pasta raiz &quot;&lt;span style=&quot;color: red;&quot;&gt;c:\ProjetosCshap\estudos\&lt;/span&gt;&quot;, para que fique organizado, o git bash automaticamente inicia no seguinte local &quot;&lt;span style=&quot;color: red;&quot;&gt;c:\users\nomedousuariodocomputador\&lt;/span&gt;&quot; em seu projeto e para que não fique perdido eu criei meu local preferido de projetos.&amp;nbsp;&lt;/div&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;b&gt;&lt;b&gt;¹) O que é FORK&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: xx-small; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;&lt;b&gt;O fork consiste em realizar a cópia de um repositório de alguém, adicionando esse repositório aos nossos repositórios. Em linhas gerais, nos tornamos os ‘donos’ do repositório o qual estamos realizando o fork (mas o original se mantém intacto).&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: xx-small;&quot;&gt;
&lt;/span&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;USANDO O COMANDO DE CRIAR PASTAS NO GIT&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;O próximo comando a ser usado será o:&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ mkdir&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA2x1vhUbz-OINhuxzqaKIdTvHQKuMEcErZggKGaeH8nopNDkylAQWjXvmcap-gxwuo9H6bkVYYgTKvsPnI02HPY4WHQwG5DbTqmQaq9-0vHk3Hs4Ujv0CleII5-BA8BnieITCF8lUKqo/s1600/comando+mkdir+no+git.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA2x1vhUbz-OINhuxzqaKIdTvHQKuMEcErZggKGaeH8nopNDkylAQWjXvmcap-gxwuo9H6bkVYYgTKvsPnI02HPY4WHQwG5DbTqmQaq9-0vHk3Hs4Ujv0CleII5-BA8BnieITCF8lUKqo/s640/comando+mkdir+no+git.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Figura - 2&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;CRIANDO UMA PASTA NO GIT&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para criar uma pasta onde será clonado seu repositório.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ mkdir mypastadeprojetos²&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: xx-small;&quot;&gt;²) mypastadeprojetos igual ao nome que você vai dar a pasta que vai ser criada para seu projeto.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE8SmSw9parpam1tV-Bbq8sGEa7a7NvTBe64fR0jb3hlcK7SQktU7D9Lq5v2vLBn-V7oygU8lPTk9FvRR8rflkbD6kj-M-4esumhik9nvtYAhReeUH3Pa26ulLTmgtWs1_LbW79RVf17Q/s1600/comando+mkdir+pasta+no+git.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE8SmSw9parpam1tV-Bbq8sGEa7a7NvTBe64fR0jb3hlcK7SQktU7D9Lq5v2vLBn-V7oygU8lPTk9FvRR8rflkbD6kj-M-4esumhik9nvtYAhReeUH3Pa26ulLTmgtWs1_LbW79RVf17Q/s640/comando+mkdir+pasta+no+git.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 3&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;ENTRANDO EM UMA PASTA NO GIT&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Entrando na pasta que foi criada:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ cd mypastadeprojetos&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9HZmvUd6DjnhdXjmcWKL5lt1MiJfm2OfY8YN5l7eW4tenMK-uPFCf2Qpel7EqoFPkZN1rvZdqUmLzWQrZAgKm5CE6yzzmLHH44gGQLkf0VcFU0OrNjCx-7yNhgtJCP438ebXxYo9D3Bk/s1600/comando+cd+pasta+no+git.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9HZmvUd6DjnhdXjmcWKL5lt1MiJfm2OfY8YN5l7eW4tenMK-uPFCf2Qpel7EqoFPkZN1rvZdqUmLzWQrZAgKm5CE6yzzmLHH44gGQLkf0VcFU0OrNjCx-7yNhgtJCP438ebXxYo9D3Bk/s640/comando+cd+pasta+no+git.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 4&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;VERIFICANDO O STATUS DO GIT&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Verificar o status do git na sua maquina:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git status&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAS0HjpKU6VGBxluhbx4aUWNLmBLK5jctWgvO7DJCwfq3R-3AMCCqRai9CmP4h9onyB45PkoSvOrCmYmPNo-cJI68R_WlS67kqeIb6GIeiuwK7mCHmMXr98WvtByRet9Eni208Ua4aVAo/s1600/01-git+init+verificando+o+status+do+git.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAS0HjpKU6VGBxluhbx4aUWNLmBLK5jctWgvO7DJCwfq3R-3AMCCqRai9CmP4h9onyB45PkoSvOrCmYmPNo-cJI68R_WlS67kqeIb6GIeiuwK7mCHmMXr98WvtByRet9Eni208Ua4aVAo/s640/01-git+init+verificando+o+status+do+git.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 5&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;INICIANDO O GIT NA PASTA QUE VAI SER USADA&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Iniciando o git na sua maquina veja abaixo:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git init&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp-Cw9o8W-roGM5wmagXk4foNQCJJaiwRhoKJ2N87NgwUVCrBQ5ZNsHaGmb_1cs6Tx5opl9L3rqOunR1rVIJQfN7IaZUR6BlOadzKD1ib6WmCHwxPVMESazxmBvgpZ0ZJtaGOUI_NcidU/s1600/comando+git+init.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp-Cw9o8W-roGM5wmagXk4foNQCJJaiwRhoKJ2N87NgwUVCrBQ5ZNsHaGmb_1cs6Tx5opl9L3rqOunR1rVIJQfN7IaZUR6BlOadzKD1ib6WmCHwxPVMESazxmBvgpZ0ZJtaGOUI_NcidU/s640/comando+git+init.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 6&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Este comando foi criado para iniciar o git na pasta destino.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;VERIFICANDO STATUS DO GIT APOS INICIADO&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Verificar o status do git na sua maquina:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git status&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU6yMqvf6WKq3mquXHeC5ZRbkSCasJjUG3D9hGHhHJDP-S6-9Vnc1_v9pYuKL9R3NFGSWAWqJVDCLfjcX9vpTrjuwvAGh5NCbRaCpQ7jSRAPTu4kG0a4LM-fOOhDXOuFgJ1v7JVTKKc3I/s1600/02-git+status%252C+verificando+o+status+do+git+depois+do+git+init.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU6yMqvf6WKq3mquXHeC5ZRbkSCasJjUG3D9hGHhHJDP-S6-9Vnc1_v9pYuKL9R3NFGSWAWqJVDCLfjcX9vpTrjuwvAGh5NCbRaCpQ7jSRAPTu4kG0a4LM-fOOhDXOuFgJ1v7JVTKKc3I/s640/02-git+status%252C+verificando+o+status+do+git+depois+do+git+init.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 7&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;ADICIONANDO O CLONE NA MAQUINA&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Clonando a pasta inicial na pasta destino.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git clone&amp;nbsp;git@github.com:Alexssandrolima/estudos.git&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHLjwj_-RkuPbJMBKwHYzaACdNww9D_9X1yzLhWI3FVc0oQmCTGEBFkbmjMvHuubpu4i-DmEiqXj7UcTMjINJSLlGMP7HjVdyBScVeMdnAe0TZhCQsxOoh8Uvs2J8IUAv6OYPKMhe4-Ho/s1600/comando+git+clone.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHLjwj_-RkuPbJMBKwHYzaACdNww9D_9X1yzLhWI3FVc0oQmCTGEBFkbmjMvHuubpu4i-DmEiqXj7UcTMjINJSLlGMP7HjVdyBScVeMdnAe0TZhCQsxOoh8Uvs2J8IUAv6OYPKMhe4-Ho/s640/comando+git+clone.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 8&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Então deparei com a seguinte mensagem que não tem permissão de clonar arquivos ou pasta, não vou entrar em muito detalhe mais aqui esta o &lt;a href=&quot;http://gabsferreira.com/instalando-o-git-e-configurando-github/&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt; de como liberar a chave de acesso do computador e como ensinado pelo nosso amigo&amp;nbsp;&lt;a href=&quot;https://www.facebook.com/gabriel.oliveiraferreira.3?fref=ts&quot; target=&quot;_blank&quot;&gt;Gabriel Ferreira&lt;/a&gt;.&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;CLONANDO NA MAQUINA&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Agora vamos realmente clonar a pasta inicial na pasta destino de sua maquina.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git clone&amp;nbsp;git@github.com:Alexssandrolima/estudos.git&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz667VIUHgNOgRk_B45RmnqK1gdvmZsiP2D6FgnFo1iWVhflpAFjj9tPWp3Miyw9pKiAIsI1PnOAZnqaDEs4W48OfhVlly9KFqUPQ-s3eJ57WiHbQ6KZfV-6z9QsJ7zs4_Es6M_c-YPlI/s1600/comando+git+clone+funcionando.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz667VIUHgNOgRk_B45RmnqK1gdvmZsiP2D6FgnFo1iWVhflpAFjj9tPWp3Miyw9pKiAIsI1PnOAZnqaDEs4W48OfhVlly9KFqUPQ-s3eJ57WiHbQ6KZfV-6z9QsJ7zs4_Es6M_c-YPlI/s640/comando+git+clone+funcionando.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 9&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Agora sim, veja que foi criada uma pasta com o nome &quot;estudos&quot; no disco local do seu computador.&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Com o comando:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ ls -la&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd4pHo9iYzU77TjoXqVFF-bmBAQ0Pc5S4J4XTBu4C4g9tG2ALktmg0yNCmglp9gWL4AYtEkW2639f2ebVR0b4iczk9wbdDZ_Ews9N1Q1Q27BL8EXcAi91w-5y-y_TQRiD5XzWz7WeUAXc/s1600/clone+criado+com+sucesso+do+git+no+computador.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd4pHo9iYzU77TjoXqVFF-bmBAQ0Pc5S4J4XTBu4C4g9tG2ALktmg0yNCmglp9gWL4AYtEkW2639f2ebVR0b4iczk9wbdDZ_Ews9N1Q1Q27BL8EXcAi91w-5y-y_TQRiD5XzWz7WeUAXc/s640/clone+criado+com+sucesso+do+git+no+computador.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 10&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;MOSTRANDO AS PASTA CRIADOS EM MINHA MAQUINA&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Mostrando de um angulo melhor para que entenda que foi criada a pasta que recebeu o seu repositório.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2hv9zGrxPU1uWZxnP_3W_AB6g_KD9JSL0S0dNq_r049aLTp-V0sfenPDBdle4bw-5xaiRjHkhy7vjyq8hAn6jY_L570phoSMs9uyofjb_XtTgHsOif263TUs3nuGWs4iLWTNXgBWrxTo/s1600/03+-+mostando+as+pastas+clonada+pelo+git+na+minha+maquina.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2hv9zGrxPU1uWZxnP_3W_AB6g_KD9JSL0S0dNq_r049aLTp-V0sfenPDBdle4bw-5xaiRjHkhy7vjyq8hAn6jY_L570phoSMs9uyofjb_XtTgHsOif263TUs3nuGWs4iLWTNXgBWrxTo/s640/03+-+mostando+as+pastas+clonada+pelo+git+na+minha+maquina.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 11&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Verificando novamente o seu status do projeto.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git status&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyNi8KbGbvI4HEaXwylAwJokWe8_G0QblLfOp0bbEa9iyhj2ZL5C2sERfwtFlzvIM416m51BEXHWPQEpKbtnxmMSTvz2GpBd_l68VPK3U1VUDsxEu8cZXAEpMnC4a5PgPFWjo1eCR4H8A/s1600/comando+git+status+criado+com+sucesso+do+git+no+computador.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyNi8KbGbvI4HEaXwylAwJokWe8_G0QblLfOp0bbEa9iyhj2ZL5C2sERfwtFlzvIM416m51BEXHWPQEpKbtnxmMSTvz2GpBd_l68VPK3U1VUDsxEu8cZXAEpMnC4a5PgPFWjo1eCR4H8A/s640/comando+git+status+criado+com+sucesso+do+git+no+computador.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 12&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Com este comando verificamos que a pasta foi criada e que já estão no repositório local.&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;ENTRANDO NA PASTA LOCAL QUE FOI CRIADO&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Agora vamos entrar na pasta que foi clonada em seu computador.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Digite o comando:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ cd estudos&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF-6qUnVIzpOqrdkxTyGpaubbAGjL8XAzCm_EN9TnYLPv-coAXHwY7sSbA-OO1SzcJEA8DNJoHyWcFgY7amIlGNuMTQZXJg7v0x4Gtk2spzCy-N8hn7qI0ijyXPzScMQ_WWwUUQGsXle0/s1600/comando+cd+estudos+no+git.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF-6qUnVIzpOqrdkxTyGpaubbAGjL8XAzCm_EN9TnYLPv-coAXHwY7sSbA-OO1SzcJEA8DNJoHyWcFgY7amIlGNuMTQZXJg7v0x4Gtk2spzCy-N8hn7qI0ijyXPzScMQ_WWwUUQGsXle0/s640/comando+cd+estudos+no+git.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 13&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Veja que agora você esta no local que foi clonado com o nome de pasta &quot;estudos&quot;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;VERIFICANDO ALGUMA MODIFICAÇÃO NO GITHUB&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Olhar se tem alguma atualização no site antes de modificar algum projeto.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;$~ git fetch&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;O comando git fetch comunica com um repositório remoto e obtêm-se todas as informações que está naquele repositório que não está na sua atual e armazena em seu banco de dados local.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;$~ git pull&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;O comando git pull é basicamente uma combinação do git fetch e git comandos, onde Git vai ser trazida a partir do remoto que você especificar e, em seguida, imediatamente tenta fundi-la para o projeto que você está em mesclar.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;$~ git push&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; O comando git push é usado para se comunicar com outro repositório, calcular o seu banco de dados local tem que o remoto não faz, e, em seguida, empurra a diferença para o outro repositório. Ele requer acesso ao outro repositório de escrever e por isso normalmente é autenticado de alguma forma.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheyHXgusu8u2gbmL5FVnKsmHTz1SdBEm-rHfklmzqt-0x-Z9tdFeUermjiyOAtbX4MLbnkktOpzm3DRdWG2Jn4Xww8D7ElKi8NN9W84zMz9iAFl0GeKrQeY11CLCKR_i7pfR8lmvfHqTA/s1600/04+-+git+push+puchando+o+que+esta+no+site%252C+mais+antes+tem+que+configuar+o+config+global.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheyHXgusu8u2gbmL5FVnKsmHTz1SdBEm-rHfklmzqt-0x-Z9tdFeUermjiyOAtbX4MLbnkktOpzm3DRdWG2Jn4Xww8D7ElKi8NN9W84zMz9iAFl0GeKrQeY11CLCKR_i7pfR8lmvfHqTA/s640/04+-+git+push+puchando+o+que+esta+no+site%252C+mais+antes+tem+que+configuar+o+config+global.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Figura - 14&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git config --global push.default matching&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h3&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;ENVIANDO UM&amp;nbsp;ÚNICO&amp;nbsp;ARQUIVO&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$ git commit -m &quot;enviando um único arquivo fase de adaptação, tipo: comitando meu primeiro arquivo&quot;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrHNgMYHhRDg_JbN1cUrSYcPJxv5TPmG3Ghusa7BnBKngMzmZF-0VjJtuzweny9bIV9Qk8xFI2c9oM556lfV5o1mXoCEacOA9MdAia8q3jLyS03QiXFo4LOVi-kqZFz6mItXvSp-RmYqw/s1600/04+-+git+status++verificando+arquivo+foi+modificado+na+maquina.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrHNgMYHhRDg_JbN1cUrSYcPJxv5TPmG3Ghusa7BnBKngMzmZF-0VjJtuzweny9bIV9Qk8xFI2c9oM556lfV5o1mXoCEacOA9MdAia8q3jLyS03QiXFo4LOVi-kqZFz6mItXvSp-RmYqw/s640/04+-+git+status++verificando+arquivo+foi+modificado+na+maquina.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 15&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Agora veremos com ficou apos o commit.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEh5ddK_X6N2r_Tip5gbOfh1o5MIvkIaKCKVPYdMcI09LCS1vShNXWJagVfmXQHGaYrbKa3EADgFk9EvzdrPeYZg7MvdxRLnqZ-EG_8Dc7Yd0ZR9qk2Tmxgkppg1JWc60M_R4Xr_1LN8w/s1600/06+-+git+status++verificando+apos+comitado+arquivo+foi+modificado+na+maquina.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEh5ddK_X6N2r_Tip5gbOfh1o5MIvkIaKCKVPYdMcI09LCS1vShNXWJagVfmXQHGaYrbKa3EADgFk9EvzdrPeYZg7MvdxRLnqZ-EG_8Dc7Yd0ZR9qk2Tmxgkppg1JWc60M_R4Xr_1LN8w/s640/06+-+git+status++verificando+apos+comitado+arquivo+foi+modificado+na+maquina.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 16&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Adicionando ao git local.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git add git\ criar\ remoto.txt&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbpZfbOTkDmrURg8VH02fNKlCJGcD8IXOrRwgtGQiBVKEMEQqnE6HJIU7GPAerrWq5ZoJiMwtJGknqO_lT9svWPIVvSJc1Asfg7P7u3kw7bySThZnB3oAZEl8D5xOgW4He4tjz_3vBPXs/s1600/06+-+git+add+para+adicionar+arquivo+em+sua+maquina.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbpZfbOTkDmrURg8VH02fNKlCJGcD8IXOrRwgtGQiBVKEMEQqnE6HJIU7GPAerrWq5ZoJiMwtJGknqO_lT9svWPIVvSJc1Asfg7P7u3kw7bySThZnB3oAZEl8D5xOgW4He4tjz_3vBPXs/s640/06+-+git+add+para+adicionar+arquivo+em+sua+maquina.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 17&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Verificar como ficou apos o adicionar ao git local.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git status&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQVVDE9kqFH9hJsM0T9zo3dqsorVbCxftSnQgGWr2FaLHvk55GemKSw-CeVujRqiQRj8JEgnMpcVo9xfxZP4hiZDtGvM_J28kFotw011wEoLe_7HJF7Z0G9iZ0Izim6lZimfQ4B2nFW8Q/s1600/08+-+git+status+verificando+apos+o+git+add.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQVVDE9kqFH9hJsM0T9zo3dqsorVbCxftSnQgGWr2FaLHvk55GemKSw-CeVujRqiQRj8JEgnMpcVo9xfxZP4hiZDtGvM_J28kFotw011wEoLe_7HJF7Z0G9iZ0Izim6lZimfQ4B2nFW8Q/s640/08+-+git+status+verificando+apos+o+git+add.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 18&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Executando o seguinte comando apos ter adicionado o arquivo no git&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$ git commit -m &quot;enviando um único arquivos fase de adaptação, tipo: comitando meu primeiro arquivo&quot;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdT7_C1XaCt7COnzlJHJWjWzAMGmSLpiU1r-OKhVX9NoTmunPbdEaZIzF5rO-ONwHc3OtrZ1giTS2_IpSxAEiTWjcEYWjdMZ7Vo61xURcS1wuUoRqNy3eNhyphenhyphennE369Ufq3lZlAJHdzleS8/s1600/09+-+git+commit+para+enviar+arquivo+para+o+github.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdT7_C1XaCt7COnzlJHJWjWzAMGmSLpiU1r-OKhVX9NoTmunPbdEaZIzF5rO-ONwHc3OtrZ1giTS2_IpSxAEiTWjcEYWjdMZ7Vo61xURcS1wuUoRqNy3eNhyphenhyphennE369Ufq3lZlAJHdzleS8/s640/09+-+git+commit+para+enviar+arquivo+para+o+github.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 19&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git status para verificar como ficou apos comitado.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjpAtsOFmKzFcfOFzQZTnYz3WNRPR3wfTtC3AyT8cMmo9BXlwcJoyLW42HcR44YJziPvQt6GU4pMawqvED9oxY83e7SdrFjSXZkRUuXhhq4Iq5o9grlQrhXdgViUKTGvDaGA0fbb2H00k/s1600/10+-+git+status+como+ficou+apos+commit+para+enviar+arquivo+para+o+github.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;369&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjpAtsOFmKzFcfOFzQZTnYz3WNRPR3wfTtC3AyT8cMmo9BXlwcJoyLW42HcR44YJziPvQt6GU4pMawqvED9oxY83e7SdrFjSXZkRUuXhhq4Iq5o9grlQrhXdgViUKTGvDaGA0fbb2H00k/s640/10+-+git+status+como+ficou+apos+commit+para+enviar+arquivo+para+o+github.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 20&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Para realmente ter certeza que foi enviado para o github no seu repositório digite o seguinte comando.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git push&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhpjm67YSjfe1jx4ogPcX7hhD15Pq26rtdHJ5n5l7-Bez__QFJJDMX0d3LZdLAR5fBWRWf5ecMemkLNqGbClaZlF3YE5LL6NUJmmv2DefxCAzxlpAz-SKN8tRfUaDI1uCU_uqQGaDDdx8/s1600/11+-+git+push+para+verificar+se+realmente+foi+para+o+github+do+site+apos+comitado.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;488&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhpjm67YSjfe1jx4ogPcX7hhD15Pq26rtdHJ5n5l7-Bez__QFJJDMX0d3LZdLAR5fBWRWf5ecMemkLNqGbClaZlF3YE5LL6NUJmmv2DefxCAzxlpAz-SKN8tRfUaDI1uCU_uqQGaDDdx8/s640/11+-+git+push+para+verificar+se+realmente+foi+para+o+github+do+site+apos+comitado.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 21&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Vamos agora verificar como ficou no github apos comitado.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Toda vez que comita um arquivo ele envia o toda a informação da modificação que foi por você no arquivo editado.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuErijzSuHuw9FBkaUlpMM2O3cc_qtvMtGuLRmPryqUTLZ5Cy1EDkA-bOhRZahSYD_zcMlWkd93PAQRcvaE39lPTr7ECzm49HGaI4m9NREN0T5knvY_X5S6HfqIQl44yQ5kp7C8Wea8GQ/s1600/12+-+verificando+no+site+do+github+apos+o+push.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;313&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuErijzSuHuw9FBkaUlpMM2O3cc_qtvMtGuLRmPryqUTLZ5Cy1EDkA-bOhRZahSYD_zcMlWkd93PAQRcvaE39lPTr7ECzm49HGaI4m9NREN0T5knvY_X5S6HfqIQl44yQ5kp7C8Wea8GQ/s640/12+-+verificando+no+site+do+github+apos+o+push.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 22&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Concluído com sucesso modificação de um único arquivo no computador e enviado para o Github no site.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Viu com foi fácil enviar um arquivo para seu repositório no Github, com pratica, aprenderá outros comandos e outras formas de usar o Git. Abaixo vou mostra como enviar vários arquivos para o repositório.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;Modificando e enviando vários arquivos&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Entrei no com o Visual Studio, então modifiquei alguns dados para verificar se realmente vai ser enviado para meu repositório.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Pronto modificado com sucesso, digite o comando para verificar se tem alguma modificação no git.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git status&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggtD0YOl-suoY0dsiQQHtax-Xx1EI1zhfJvofvqh-D21h1H14CtKXocVnSiPC8Q57ka6P89Px0YsV9FdyacMuoXHteQkJK4c2vBKaD7d0GqySddRuJqvoaMDlW5beaSsl0EOaThHRcvEc/s1600/comando++git+status+verificando+se+algum+arquivo+foi+modificado.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;460&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggtD0YOl-suoY0dsiQQHtax-Xx1EI1zhfJvofvqh-D21h1H14CtKXocVnSiPC8Q57ka6P89Px0YsV9FdyacMuoXHteQkJK4c2vBKaD7d0GqySddRuJqvoaMDlW5beaSsl0EOaThHRcvEc/s640/comando++git+status+verificando+se+algum+arquivo+foi+modificado.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 23&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Veja que agora o &quot;git bash&quot; mostra todos os arquivos que foram modificados e criados como alguns novos arquivos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ cd ..&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git add estudos&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3SnMk8ScPMYN3883oqpPiAwB8K79SfgnEVEWETi6cb5jUjvFjKWFu9IBDr-WZZrreOmBvdmQuBSYOybwWaKp8JRIvaxsqDN_StsjXm3TL1Mc_cqVZmGjW2UTqdF_njC2979MA78mqFnc/s1600/comando++git+estudos+para+algum+arquivo+foi+modificado.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;460&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3SnMk8ScPMYN3883oqpPiAwB8K79SfgnEVEWETi6cb5jUjvFjKWFu9IBDr-WZZrreOmBvdmQuBSYOybwWaKp8JRIvaxsqDN_StsjXm3TL1Mc_cqVZmGjW2UTqdF_njC2979MA78mqFnc/s640/comando++git+estudos+para+algum+arquivo+foi+modificado.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 24&lt;/div&gt;
&lt;/div&gt;
Ou adicione a seguinte pasta.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git add SendEmail&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEika2h09Qb5Fj31RzWbXZL2Kpz1Cd4wQoT7jTU5lNBnw0MoLWgtxXn3IyK30dzFIJDH9-jgdbS227uyftL4zs-I_-_2OCD9NN8uLszgsjUMxrQ0bl05JXXRKLvEm1vKvoVfxrtU9i-Ogwk/s1600/13+-+git+add+SendEmail+adicionando+varios+arquivos+no+git.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;488&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEika2h09Qb5Fj31RzWbXZL2Kpz1Cd4wQoT7jTU5lNBnw0MoLWgtxXn3IyK30dzFIJDH9-jgdbS227uyftL4zs-I_-_2OCD9NN8uLszgsjUMxrQ0bl05JXXRKLvEm1vKvoVfxrtU9i-Ogwk/s640/13+-+git+add+SendEmail+adicionando+varios+arquivos+no+git.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 25&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Verificando se os arquivos foram realmente adicionados ao git local.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git status&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcE0yfNrcXdrLARjR5JrVO9XmxEk8VuyrqRH0OTf5vOyqo9JHNUTmfBqjgGapUXVTD4aePyOa27m23hPjhzVInkPvxVmyTpBnebknaMLYyi7GSIh6SsDxbStmzTF5By13fgmeqxlN1F10/s1600/14+-+git+status+SendEmail+para+verificar+se+foi+realemnte+adicionando+varios+arquivos+no+git.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;488&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcE0yfNrcXdrLARjR5JrVO9XmxEk8VuyrqRH0OTf5vOyqo9JHNUTmfBqjgGapUXVTD4aePyOa27m23hPjhzVInkPvxVmyTpBnebknaMLYyi7GSIh6SsDxbStmzTF5By13fgmeqxlN1F10/s640/14+-+git+status+SendEmail+para+verificar+se+foi+realemnte+adicionando+varios+arquivos+no+git.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 26&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Para que seja enviado para seu repositório e que todos os envolvidos no projeto consiga verificar o que foi mudado e o que foi criado digite o comando que vou informar abaixo:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git commit -m &quot;Foi modificado a tela principal do projeto, e foi criado um grupobox para juntar os botões, e adicionado um textbox de informação na tela, tipo: comitando uma alteração no projeto&quot;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Primeira vez que foi comitado:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik2zfXh4JSMRTxQUgRWLdWlFGqnohOLEGr_aeIr38T2B8KL7IDhaIsAxQU7j6hvA7-yN8jM66TwEMXhiIEPJppR9B4t1ceAvcR_NpAyZDZTo_ul627Y0z3DOOpf4anlGSOhDNsJTM6ssE/s1600/comando++git+commit+comentando+arquivos+e+adicionando+para+envio.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;460&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik2zfXh4JSMRTxQUgRWLdWlFGqnohOLEGr_aeIr38T2B8KL7IDhaIsAxQU7j6hvA7-yN8jM66TwEMXhiIEPJppR9B4t1ceAvcR_NpAyZDZTo_ul627Y0z3DOOpf4anlGSOhDNsJTM6ssE/s640/comando++git+commit+comentando+arquivos+e+adicionando+para+envio.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 27&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Segunda vez que foi comitado:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdxXWCeEi2ebCkS0yHjyrkcEowEKYgMvbouWgwx6szkqa5aQqUVAd6UcDyWc4hdwf9doQTVCVAdOx14eadhxqimhZJfSeNNh6CdpvKxWCzw7MBmh3MdJtbrhHhYYFPfsrWXzf7gvO39MY/s1600/15+-+git+commit+no+SendEmail+adicionar+comit+aos+arquivos+adicionados+ao+git+local.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;488&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdxXWCeEi2ebCkS0yHjyrkcEowEKYgMvbouWgwx6szkqa5aQqUVAd6UcDyWc4hdwf9doQTVCVAdOx14eadhxqimhZJfSeNNh6CdpvKxWCzw7MBmh3MdJtbrhHhYYFPfsrWXzf7gvO39MY/s640/15+-+git+commit+no+SendEmail+adicionar+comit+aos+arquivos+adicionados+ao+git+local.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 28&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Verificando se realmente foi comitado&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git status&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGQym23JyNd19_wlwi8IuyAz9FLEX-a1QVTaX33elw-JRTMathEjIG0lje4246PvlBBGy_jk1_P7r71n-3B4ZrfW2pcotVQGoKiw00-GcHXS7aCB_Tv2JgckATj01qEd_w5R2LtAizeWY/s1600/16+-+git+status+para+verificar+se+foi+commit+o+SendEmail+adicionar+comit+aos+arquivos+adicionados+ao+git+local.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;488&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGQym23JyNd19_wlwi8IuyAz9FLEX-a1QVTaX33elw-JRTMathEjIG0lje4246PvlBBGy_jk1_P7r71n-3B4ZrfW2pcotVQGoKiw00-GcHXS7aCB_Tv2JgckATj01qEd_w5R2LtAizeWY/s640/16+-+git+status+para+verificar+se+foi+commit+o+SendEmail+adicionar+comit+aos+arquivos+adicionados+ao+git+local.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 29&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Verificando antes de digitar o git push&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOTyWP4U7sHdIPDMIKHBlFnhw33J7ZMjrMWfqeNELyONqgU8O3ymb5WCJfFHZlNg2uZrFxmX2itaPYMAMH0V1J38nrbzPLHkAagjOdtM5a3dsgeIg63Qn6tlSXhw9GjIkb5Y4AO4XnAtU/s1600/17+-+verificando+antes+de+digitar+o+git+push.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOTyWP4U7sHdIPDMIKHBlFnhw33J7ZMjrMWfqeNELyONqgU8O3ymb5WCJfFHZlNg2uZrFxmX2itaPYMAMH0V1J38nrbzPLHkAagjOdtM5a3dsgeIg63Qn6tlSXhw9GjIkb5Y4AO4XnAtU/s640/17+-+verificando+antes+de+digitar+o+git+push.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 30&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Apos o git push.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$~ git push&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV54mq5DXrNxo6YumVsuBHIdgOYvB2eEoVy9Udk4Yji1EZsnpxaV7KGDVqjNGjubcS5J0dQcckdakjJGJonaaqlMwb1SsmP6dxQrYegsECGuCCc7v6XX4lUL9jjNH92geFNlK8oyI_29U/s1600/18+-+git+push+para+o+sendemail+e+enviando+para+o+github.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;515&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV54mq5DXrNxo6YumVsuBHIdgOYvB2eEoVy9Udk4Yji1EZsnpxaV7KGDVqjNGjubcS5J0dQcckdakjJGJonaaqlMwb1SsmP6dxQrYegsECGuCCc7v6XX4lUL9jjNH92geFNlK8oyI_29U/s640/18+-+git+push+para+o+sendemail+e+enviando+para+o+github.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 31&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Veja agora o Github no site envia pelo Git.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBvw_z93Bipk35H1kb5xRnTRF0hn27K3Jgq3CAfUMMOGj9vVLqrjWZW7cXK_s5zRXDze3hfvxvsBWHS2Yt2Xj5pbW_l3vioS7rSxUo2-fMt9P4nk4AxbEri0RzZqNr2iT0J18OmB4F8e0/s1600/19+-+apos+git+push+para+o+sendemail+e+enviando+para+o+github.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;366&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBvw_z93Bipk35H1kb5xRnTRF0hn27K3Jgq3CAfUMMOGj9vVLqrjWZW7cXK_s5zRXDze3hfvxvsBWHS2Yt2Xj5pbW_l3vioS7rSxUo2-fMt9P4nk4AxbEri0RzZqNr2iT0J18OmB4F8e0/s640/19+-+apos+git+push+para+o+sendemail+e+enviando+para+o+github.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 32&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Pronto, enviado do disco local no seu computador para o repositório que se encontra no github.com.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrLJn4WHFfvsDenq0uCsHdrCusWxnqPO51-0bMXQCvOISYMVp-716J1gJcFbiRyAeWOpJt0ESxBgBCoSQXb72xBNyRLL-s84y3YBDZOD9KYO5awtIuBE7D7WdEek9YeQarxZZ7FeMzRkA/s1600/popular+repositories+alexssandrolima.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;340&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrLJn4WHFfvsDenq0uCsHdrCusWxnqPO51-0bMXQCvOISYMVp-716J1gJcFbiRyAeWOpJt0ESxBgBCoSQXb72xBNyRLL-s84y3YBDZOD9KYO5awtIuBE7D7WdEek9YeQarxZZ7FeMzRkA/s640/popular+repositories+alexssandrolima.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 33&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Alguns commits adicionados.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7GPAyop2MSwrwhgZLN-1sZPgLA3AJfLuHCinSNbd0ZTDMtDFy4pyPzsgIGtt3RtWwny2VjbZSon-0Um8T6ZPrM0OcMomSt0V8Bd6w9O1U22s0yyRpPfRpLMeNYw9pLYp_58GInntU_Bk/s1600/popular+repositories+alexssandrolima+comitados.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7GPAyop2MSwrwhgZLN-1sZPgLA3AJfLuHCinSNbd0ZTDMtDFy4pyPzsgIGtt3RtWwny2VjbZSon-0Um8T6ZPrM0OcMomSt0V8Bd6w9O1U22s0yyRpPfRpLMeNYw9pLYp_58GInntU_Bk/s640/popular+repositories+alexssandrolima+comitados.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 34&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Outros commits adicionados&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIdEkGQEURoT9k55FTnBB-pF3WCLqVYcUj4-tK5IrzPhoUf1qBN4IwWFLdZSP9nblLnDR1pVTD9qYi6dxLefOWcbCploxLFC_7vnu825zu0BlVj2OwgcVKpTWL0nH6AvWna7VWbHu6Jlg/s1600/20+-+verifique+todos+os+commits+no+github+enviado+pelo+git+bash.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIdEkGQEURoT9k55FTnBB-pF3WCLqVYcUj4-tK5IrzPhoUf1qBN4IwWFLdZSP9nblLnDR1pVTD9qYi6dxLefOWcbCploxLFC_7vnu825zu0BlVj2OwgcVKpTWL0nH6AvWna7VWbHu6Jlg/s640/20+-+verifique+todos+os+commits+no+github+enviado+pelo+git+bash.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
Figura - 35&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Obrigado! Ao que leram ate aqui, se tiver mais alguma duvida use os comentários para esclarecer melhor, que eu possa explicar sobre suas duvidas.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOlivV2qRcsjA8E4DtnG0lbeyQNVu3clfEkDc1mkEf5pqljPN7arj-hbwDesK2ACI5a5Eh2gE5t7v1mfpenocbsGGlacuVeBFUfDILe86omOhi1rv44JjXfl_-0_UB6iM0-MnfMZ3fae4/s1600/Git+Workflow.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOlivV2qRcsjA8E4DtnG0lbeyQNVu3clfEkDc1mkEf5pqljPN7arj-hbwDesK2ACI5a5Eh2gE5t7v1mfpenocbsGGlacuVeBFUfDILe86omOhi1rv44JjXfl_-0_UB6iM0-MnfMZ3fae4/s640/Git+Workflow.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alexpagernet.blogspot.com/feeds/3741734662374434309/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://alexpagernet.blogspot.com/2015/10/leia-sobre-experiencia-usando-o-git.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/3741734662374434309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7268146016081828606/posts/default/3741734662374434309'/><link rel='alternate' type='text/html' href='http://alexpagernet.blogspot.com/2015/10/leia-sobre-experiencia-usando-o-git.html' title='[LEIA SOBRE] - Experiencia usando o &quot;GIT&quot; enviando recebendo arquivos entre o computador e o servidor &quot;Github&quot;'/><author><name>AlexssandroLima</name><uri>http://www.blogger.com/profile/01959976172966674081</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9BZh1dkLZi90DskZXX90EgmPe-HP3VRLEgib6UWnLl1MDpfPFJBZJE0b10pOlv1dCLDNRRnHpX-5_NFySxqUan_t17tuUK1zHUBcTPOnOb_Fzn9GtD_6AGO6DW1E6AFahVX9ZHptMBz4/s72-c/imagen+do+git.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>