Example #1
0
        private void button9_Click(object sender, EventArgs e)
        {
            try
            {
                PedidoProtheusApp objApp = new PedidoProtheusApp();


                MessageBox.Show(objApp.IncluirPedidosBaseEspelhoProtheus());
            }
            catch (Exception ex)
            {
                MessageBox.Show("Erro:" + ex.Message);
            }
        }
Example #2
0
        private void btnImportPedidoProtheus_Click(object sender, EventArgs e)
        {
            try
            {
                PedidoProtheusApp objApp = new PedidoProtheusApp();
                objApp.IncluirPedidosBaseEspelhoProtheus();

                MessageBox.Show("Pedidos Importados Para a Base do Protheus Com Sucesso!");
            }
            catch (Exception ex)
            {
                MessageBox.Show("Erro:" + ex.Message);
            }
        }