private void Button1_Clicked(object sender, EventArgs e) { try { overlay.HideAll(); }catch { } try { overlayDep.HideOverlay(); }catch { } try { loy.HideOverlay(this); } catch { } }
protected void HideAll(object sender, EventArgs e) { manager.HideAll(); }