private void AppendPropertyToRecordingAct() { int recordingActId = int.Parse(GetCommandParameter("recordingActId")); RecordingAct recordingAct = recording.GetRecordingAct(recordingActId); recordingAct.AppendPropertyEvent(new Property()); }
private void AppendPropertyToAnnotation() { int annotationId = int.Parse(GetCommandParameter("annotationId")); int propertyId = int.Parse(cboAnnotationProperty.Value); RecordingAct annotation = RecordingAct.Parse(annotationId); Property property = Property.Parse(propertyId); annotation.AppendPropertyEvent(property); }