private void exTranspLayerOpen(int x, int y, int w, int h) { if (transparentLayer != null) return; try { transparentLayer = new TransparentLayer(_exoUI, _tempPath, x, y, w, h); } catch (Exception ex) { /* using (StreamWriter writer = new StreamWriter(@"\patrice\patrice2.txt", true)) { writer.WriteLine("Exception in exTranspLayer: " + ex.Message); writer.WriteLine("Exception in exTranspLayer: " + ex.StackTrace); } */ } }
private void exTranspLayerClose() { if (transparentLayer == null) return; transparentLayer.Close(); transparentLayer = null; }