Exemple #1
0
		private ShapeViewModel CopyShapeViewModel()
		{
			Geometry clonedGeom = this.SelectedShapeModel.Geometry.Clone();
			ShapeViewModel model = new ShapeViewModel()
			{
				Geometry = clonedGeom,
				ShapeName = this.SelectedShapeModel.ShapeName,
			};
			return model;
		}
Exemple #2
0
        private ShapeViewModel CopyShapeViewModel()
        {
            Geometry       clonedGeom = this.SelectedShapeModel.Geometry.Clone();
            ShapeViewModel model      = new ShapeViewModel()
            {
                Geometry  = clonedGeom,
                ShapeName = this.SelectedShapeModel.ShapeName,
            };

            return(model);
        }