internal void NotifySignalRemoved(object obj, string name, Signal signal) { GuiDispatch.InvokeSync (delegate { if (SignalRemoved != null) { Component c = App.GetComponent (obj, name, null); if (c != null) SignalRemoved (this, new ComponentSignalEventArgs (this, c, null, signal)); } }); }
void IProject.NotifySignalRemoved(SignalEventArgs args) { if (loading) { return; } if (frontend != null) { frontend.NotifySignalRemoved(Component.GetSafeReference(args.Wrapper), null, args.Signal); } OnSignalRemoved(args); }