Click or drag to resize

ReviewManagerOnReviewChangedEvent Event

Review Changed Event

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public event ReviewChangedEventHandler OnReviewChangedEvent

Value

Type: ReviewChangedEventHandler
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

/// <summary>
/// 이벤트 등록
/// </summary>
private void InitializeVIZCore3DEvent()
{
    vizcore3d.Review.OnReviewChangedEvent += Review_OnReviewChangedEvent;
}

private void Review_OnReviewChangedEvent(object sender, Event.EventManager.ReviewEventArgs e)
{
    string log = String.Empty;

    switch (e.EventKind)
    {
        case Manager.ReviewManager.ReviewEventKind.DESELECTED_REVIEW:
            log = string.Format("[{0}] 모두 선택해제", (int)e.EventKind);
            break;
        case Manager.ReviewManager.ReviewEventKind.SELECT_REVIEW:
            log = string.Format("[{0}] 리뷰 선택 : {1} / {2}", (int)e.EventKind, e.ReviewID, vizcore3d.Review.GetItem(e.ReviewID).Kind);
            break;
        case Manager.ReviewManager.ReviewEventKind.SELECT_REVIEW_ADD:
            log = string.Format("[{0}] 리뷰 선택 (추가) : {1} / {2}", (int)e.EventKind, e.ReviewID, vizcore3d.Review.GetItem(e.ReviewID).Kind);
            break;
        case Manager.ReviewManager.ReviewEventKind.CHANGED_REVIEW_DATA:
            log = string.Format("[{0}] 리뷰 정보 변경 : {1} / {2}", (int)e.EventKind, e.ReviewID, vizcore3d.Review.GetItem(e.ReviewID).Kind);
            break;
        case Manager.ReviewManager.ReviewEventKind.ADDED_SURFACE_NOTE:
            log = string.Format("[{0}] 표면노트 추가 : {1} / {2}", (int)e.EventKind, e.ReviewID, vizcore3d.Review.GetItem(e.ReviewID).Kind);
            break;
        case Manager.ReviewManager.ReviewEventKind.CANCELED_ADD:
            log = string.Format("[{0}] 추가 동작 취소", (int)e.EventKind);
            break;
        case Manager.ReviewManager.ReviewEventKind.CHANGED_ARROW_POSITION:
            log = string.Format("[{0}] 지시선 위치 변경 : {1} / {2}", (int)e.EventKind, e.ReviewID, vizcore3d.Review.GetItem(e.ReviewID).Kind);
            break;
        case Manager.ReviewManager.ReviewEventKind.REVIEW_MOVED:
           log = string.Format("[{0}] 이동된 리뷰 : {1} / {2}", (int) e.EventKind, e.ReviewID, vizcore3d.Review.GetItem(e.ReviewID).Kind);
           break;

        default:
            break;
    }
}
See Also