Exemple #1
0
 public IsHamiltonian()
 {
     _graphArea   = new GraphArea();
     _zoomControl = new GraphXZoomControl {
         Content = _graphArea
     };
     Output.Controls.Add(new ElementHost {
         Dock = DockStyle.Fill, Child = _zoomControl
     });
 }
Exemple #2
0
        public PluginSample()
        {
            _countSymbolsCheckBox = new CheckBox {
                Text = "Count symbols when start", Location = new Point(12, 6)
            };
            Options.Controls.Add(_countSymbolsCheckBox);

            _graphArea   = new GraphArea();
            _zoomControl = new GraphXZoomControl {
                Content = _graphArea
            };
            Output.Controls.Add(new ElementHost {
                Dock = DockStyle.Fill, Child = _zoomControl
            });
        }