public static void CloseAviso() { if (formOverlay != null) { formOverlay.Hide(); try { formOverlay.Close(); } catch (Exception) { } formOverlay.Dispose(); formOverlay = null; } if (formAviso != null) { formAviso.Hide(); try { formAviso.Close(); } catch (Exception) { } formAviso.Dispose(); formAviso = null; } }
private static void ValidateFormCreation() { if (formAviso == null) { formAviso = new frmAviso(); } if (formOverlay == null) { formOverlay = new frmOverlay(); } }
public void SetFormAvisoDALL(frmAviso form, System.Windows.Forms.ProgressBar bar) { DALObject.Aviso = form; DALObject.bar = bar; }