コード例 #1
0
    private void AppendPropertyToRecordingAct() {
      int recordingActId = int.Parse(GetCommandParameter("recordingActId"));

      RecordingAct recordingAct = recording.GetRecordingAct(recordingActId);

      recordingAct.AppendPropertyEvent(new Property());
    }
コード例 #2
0
    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);
    }