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(); }
public void DrawOn(DrawingItemsSource source) { source.AddChild(new Drawable(this, -1)); }