Пример #1
0
 protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
 {
     try
     {
         GeometryVisualiserDialog.ShowDialog(objectProvider.GetObject());
     }
     catch
     {
     }
 }
Пример #2
0
        public MainWindow()
        {
            InitializeComponent();

            GenerateSpider();

            Geometry.Line line = new Geometry.Line(0, 0, 1000, 1000);
            //GeometryVisualiserDialog.ShowDialog(line);
            VertexGeometry arc = new Geometry.Arc(new Circle(30, new Geometry.Vector(-50, -50)));
            //GeometryVisualiserDialog.ShowDialog(arc);

            VertexGeometryCollection coll = new VertexGeometryCollection(line, arc);

            GeometryVisualiserDialog.ShowDialog(coll);
        }