개정판 5ce56a3a
Symbol 기능 추가 및 Entity 테이블 추가
상단 네비게이션 View데이터 Comment로 통합
KCOM/Events/Implementation/TopMenuEvent.cs | ||
---|---|---|
173 | 173 |
ViewerDataModel.Instance.paintSet = MarkupToPDF.Controls.Common.PaintSet.None; |
174 | 174 |
} |
175 | 175 |
SetPaintEvent(); |
176 |
|
|
177 |
|
|
178 |
|
|
179 | 176 |
} |
180 | 177 |
|
181 | 178 |
/// <summary> |
... | ... | |
709 | 706 |
} |
710 | 707 |
} |
711 | 708 |
|
709 |
|
|
710 |
private void cbIntervalSize_ValueChanged(object sender, RadRangeBaseValueChangedEventArgs e) |
|
711 |
{ |
|
712 |
List<AdornerMember> AdonerList = GetAdornerItem(); |
|
713 |
if (AdonerList.Count > 0) |
|
714 |
{ |
|
715 |
|
|
716 |
Undo_data UndoData = new Undo_data() |
|
717 |
{ |
|
718 |
IsUndo = false, |
|
719 |
Event = Event_Type.Option, |
|
720 |
EventTime = DateTime.Now, |
|
721 |
Interval = ViewerDataModel.Instance.Interval, |
|
722 |
Markup_List = new List<Multi_Undo_data>() |
|
723 |
}; |
|
724 |
Multi_Undo_data multi_Undo_Data = new Multi_Undo_data(); |
|
725 |
|
|
726 |
foreach (AdornerMember InnerItem in AdonerList) |
|
727 |
{ |
|
728 |
switch (InnerItem.DrawingData.GetType().Name) |
|
729 |
{ |
|
730 |
case ("LineControl"): |
|
731 |
{ |
|
732 |
(InnerItem.DrawingData as MarkupToPDF.Controls.Line.LineControl).Interval = ViewerDataModel.Instance.Interval; |
|
733 |
|
|
734 |
multi_Undo_Data.Markup = InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo; |
|
735 |
UndoData.Markup_List.Add(multi_Undo_Data); |
|
736 |
multi_Undo_Data = new Multi_Undo_data(); |
|
737 |
} |
|
738 |
break; |
|
739 |
} |
|
740 |
} |
|
741 |
|
|
742 |
ViewerDataModel.Instance.UndoDataList.Where(data => data.IsUndo == true).ToList().ForEach(i => |
|
743 |
{ |
|
744 |
ViewerDataModel.Instance.UndoDataList.Remove(i); |
|
745 |
}); |
|
746 |
ViewerDataModel.Instance.UndoDataList.Add(UndoData); |
|
747 |
} |
|
748 |
} |
|
749 |
|
|
712 | 750 |
//강인구 추가(Undo End) |
713 | 751 |
private void cbDashStyle_SelectionChanged(object sender, SelectionChangedEventArgs e) |
714 | 752 |
{ |
... | ... | |
974 | 1012 |
} |
975 | 1013 |
} |
976 | 1014 |
} |
977 |
|
|
1015 |
|
|
1016 |
private void AxisLockEvent(object sender, RoutedEventArgs e) |
|
1017 |
{ |
|
1018 |
ViewerDataModel.Instance.checkAxis = cbAxisLock.IsChecked.Value; |
|
1019 |
} |
|
1020 |
|
|
978 | 1021 |
//강인구 추가 |
979 | 1022 |
private void RadRibbonComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) |
980 | 1023 |
{ |
내보내기 Unified diff