コード例 #1
0
        /// <summary>
        /// Opens all toggles
        /// </summary>
        public void ShowToggles()
        {
            if (circuitValuePopups == null)
            {
                MakeNewToggles();
            }

            if (debug)
            {
                Console.WriteLine("Displaying toggles");
            }
            circuitValuePopups.ShowToggles();
        }
コード例 #2
0
        /// <summary>
        /// Opens all toggles
        /// </summary>
        public void ShowToggles()
        {
            if (circuitValuePopups == null)
            {
                MakeNewToggles();
            }

            if (debug)
            {
                Console.WriteLine("Displaying toggles");
            }
            if (!sketchPanel.Circuit.IsOscillating)
            {
                circuitValuePopups.ShowToggles();
            }
        }