From 61947a698135860531630a9abe86c6b7c429d947 Mon Sep 17 00:00:00 2001 From: DavidFFerreira <32928749+DavidFFerreira@users.noreply.github.com> Date: Tue, 26 Oct 2021 20:17:20 +0100 Subject: [PATCH] Update fdu_ListaVendas.cs With the Hide(); only the form will not close proprely, and even dont let users to close the ERP properly --- .../Primavera.Logistics.DrillDown/fdu_ListaVendas.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/Custom Form/Primavera.Logistics.DrillDown/fdu_ListaVendas.cs b/samples/Custom Form/Primavera.Logistics.DrillDown/fdu_ListaVendas.cs index 08cb5d2..6243fbd 100644 --- a/samples/Custom Form/Primavera.Logistics.DrillDown/fdu_ListaVendas.cs +++ b/samples/Custom Form/Primavera.Logistics.DrillDown/fdu_ListaVendas.cs @@ -49,7 +49,7 @@ private void toolrefresh_Click(object sender, EventArgs e) private void toolClose_Click(object sender, EventArgs e) { - this.Hide(); + this.Close(); this.Dispose(); } #endregion @@ -79,4 +79,4 @@ private void contextMenuStrip1_ItemClicked(object sender, ToolStripItemClickedEv } #endregion } -} \ No newline at end of file +}