private void doStuffButton_Click(object sender, EventArgs e)
        {
            var demoObject = new DemoObject
            {
                Colour = Color.DarkOrange
            };

            System.Diagnostics.Debugger.Break();
            this.Close();
        }
 static void Main(string[] args)
 {
     var objectToVisualise = new DemoObject();
     var host = new VisualizerDevelopmentHost(objectToVisualise, typeof(DemoObjectVisualiser));
     host.ShowVisualizer();
 }
 private void doStuffButton_Click(object sender, EventArgs e)
 {
     var demoObject = new DemoObject();
     System.Diagnostics.Debugger.Break();
 }
 public DemoObjectVisualiserForm(DemoObject objectToVisualise)
     : this()
 {
     _objectToVisualise = objectToVisualise;
     ShowObject();
 }