Esempio n. 1
0
        public void UnsubscribeFromPanel()
        {
            if (!subscribed)
            {
                return;
            }
            subscribed = false;

            if (truthTableWindow != null && truthTableWindow.IsActive)
            {
                truthTableWindow.Close();
            }

            // Unsubsribe Popups
            circuitValuePopups.SetInputEvent -= new SetInputEventHandler(setInputValue);
            circuitValuePopups.ClearAllToggles();
        }