프로젝트

일반

사용자정보

개정판 02047a14

ID02047a1407025e5a9ba076d529f096eecb3cf97e
상위 08887015
하위 d459a73b, da07ec57

김태성이(가) 일년 이상 전에 추가함

issue #00000 BriefAndImages

Change-Id: I5ee10a14d81ee02cd8679f64c65214ad6c42546a

차이점 보기:

ID2.Manager/ID2.Manager/Controls/BriefAndImages.Designer.cs
163 163
            // 
164 164
            // lstToImages
165 165
            // 
166
            this.lstToImages.AllowArbitraryItemHeight = true;
167 166
            this.lstToImages.AllowEdit = false;
168 167
            this.lstToImages.AutoScroll = true;
169 168
            this.lstToImages.Dock = System.Windows.Forms.DockStyle.Fill;
170 169
            this.lstToImages.FullRowSelect = false;
171
            this.lstToImages.ItemSize = new System.Drawing.Size(57, 57);
170
            this.lstToImages.ItemSize = new System.Drawing.Size(50, 50);
172 171
            this.lstToImages.Location = new System.Drawing.Point(3, 48);
172
            this.lstToImages.MaximumSize = new System.Drawing.Size(0, 60);
173 173
            this.lstToImages.Name = "lstToImages";
174 174
            // 
175 175
            // 
ID2.Manager/ID2.Manager/Controls/BriefAndImages.cs
56 56
        {
57 57
        }
58 58

  
59
        private void LstFrImages_ItemRemoved(object sender, ListViewItemEventArgs e)
59
        private void LstToImages_ItemRemoved(object sender, ListViewItemEventArgs e)
60 60
        {
61
            if(RemoveImage != null)
61
            if (RemoveImage != null)
62 62
            {
63 63
                RemoveImage(this, e.Item.DataBoundItem as AttImageInfo);
64 64
            }
65 65
        }
66

  
67
        private void LstToImages_ItemRemoved(object sender, ListViewItemEventArgs e)
66
        private void LstFrImages_ItemRemoved(object sender, ListViewItemEventArgs e)
68 67
        {
69 68
            if (RemoveImage != null)
70 69
            {
......
160 159

  
161 160
        public void AddToImage(AttImageInfo image,bool SelectItem = false)
162 161
        {
163
            ListViewDataItem item = new ListViewDataItem(image);
162
            ListViewDataItem item = new ListViewDataItem("");
163
            item.DataBoundItem = image;
164 164
            item.ImageAlignment = ContentAlignment.MiddleCenter;
165
            item.Text = "";
166 165
            item.Image = GetImage(image.Data);
167
            item.TextImageRelation = TextImageRelation.Overlay;
166
            item.TextImageRelation = TextImageRelation.ImageBeforeText;
168 167
            lstToImages.Items.Add(item);
169 168

  
170 169
            if (SelectItem)

내보내기 Unified diff

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