public static IWindowEventListener getInstance(OverlayForm parent) { if (instance == null) { instance = new WindowEventListener(parent); } return(instance); }
private void initOverlay() { //IComunicator chivato = Comunicator.getInstance(this, true); //chivatoHijos.Add(chivato); onChildClose += new System.EventHandler( (object sender, EventArgs e) => { this.checkBoxOverlay.Checked = false; }); overlayProcess = new OverlayForm(onChildClose, handlerFounded); overlayProcess.init(); }
private WindowEventListener(OverlayForm parent) { this.self = parent; }