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); } }
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); } }