프로젝트

일반

사용자정보

개정판 d62c0439

IDd62c0439bafb70567987eb36faf5072dce67e0ea
상위 064efb98
하위 d0b39faa

백흠경이(가) 5년 이상 전에 추가함

issue #923: remove undo after selecting item, fixed multi selection logic

Change-Id: Id2a6e63336747aeaf3337218f5e2e3b35fba5dfa

차이점 보기:

KCOM/Common/SelectionSet.cs
25 25
using System.Xml;
26 26
using System.Xml.Serialization;
27 27

  
28
namespace KCOM
28
namespace KCOM.Common
29 29
{
30 30
    public class SelectionSet
31 31
    {
......
49 49
            }
50 50
        }
51 51

  
52
        public List<CommentUserInfo> SelectedItems
53
        {
54
            get
55
            {
56
                List<CommentUserInfo> res = new List<CommentUserInfo>();
57
                foreach (var item in Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.SelectLayer.Children)
58
                {
59
                    if (item.GetType().Name == "AdornerFinal")
60
                    {
61
                        foreach (var InnerItem in (item as Controls.AdornerFinal).MemberSet.Cast<Controls.AdornerMember>())
62
                        {
63
                            res.Add(InnerItem.DrawingData as MarkupToPDF.Common.CommentUserInfo);
64
                        }
65
                    }
66
                }
67

  
68
                return res;
69
            }
70
        }
71

  
52 72
        /// <summary>
53 73
        /// select item which's bouding rectangle is inside of given rect
54 74
        /// </summary>

내보내기 Unified diff

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