Ejemplo n.º 1
0
        public ResultWindow(Circuit _circuit)
        {
            InitializeComponent();

            circuit = _circuit;

            if (_circuit.Nodes.Count > 30)
            {
                _tryToDrawNiceLines = false;
            }

            depthCounter = new int[circuit.Nodes.Count];

            Canvas.Width  = 10;
            Canvas.Height = 10;

            controller.DrawButtons(_circuit, this);
        }