프로젝트

일반

사용자정보

개정판 5ce56a3a

ID5ce56a3a08509844f0bed03301750089806d570e
상위 a0bab669
하위 d4b0c723

KangIngu 이(가) 약 7년 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)