private void WrapUpMove(AgentAnnotationViewModel vm) { SetNeedsDisplay(); vm.AnnotationTools.Type = null; vm.AnnotationTools.ClearAllActive(); vm.IsEditing = false; }
private void PopulateCurrentMove(PointF pt, AgentAnnotationViewModel vm) { var point = ToAnnotationPoint(pt); var type = vm.AnnotationTools.Type.Value; currentBuilder = vm.CreateBuilder(type); currentBuilder.OnNextPoint(point); var annotation = vm.CreateAnnotationViewModel(currentBuilder.Annotation); vm.AddInProgressAnnotation(annotation); }