public IsHamiltonian() { _graphArea = new GraphArea(); _zoomControl = new GraphXZoomControl { Content = _graphArea }; Output.Controls.Add(new ElementHost { Dock = DockStyle.Fill, Child = _zoomControl }); }
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 }); }