Ejemplo n.º 1
0
 public void DrawOn(DrawingItemsSource source, double scalar)
 {
     foreach (MapComponent component in GetComponents())
     {
         source.AddChild(new Drawable(component, scalar));
     }
 }
        public MainWindow()
        {
            InitializeComponent();
            source = new DrawingItemsSource();
            ListboxContainer.ItemsSource = source;
            //Console.WriteLine("Hooked up item source; num items: " + source.Count);

            server = WebAPIServer.Instance();
        }
Ejemplo n.º 3
0
 public void DrawOn(DrawingItemsSource source)
 {
     source.AddChild(new Drawable(this, -1));
 }