public void OnTriangleAdded(object sender, TriangleEventArgs args)
        {
            TriangleListItemViewModel viewModel = new TriangleListItemViewModel {
                Triangle = args.Triangle
            };

            TriangleListItems.Add(viewModel);
        }
Exemplo n.º 2
0
 private void Triangles_TriangleRemoved(object sender, TriangleEventArgs e)
 {
     OnShapeRemoved(e.Entity);
 }