개정판 a1142a6b
#00000 Debug에서 DevDoftech/Hyosung를 병행하여 Debug하도록 수정
- Web.config/Web.Debug.config/Web.Debug_DevDoftech.config/Web.Debug_HyoSung.config
- 솔루션 구성을 선택하여 각각 Debug
- Kcom_api에서 사용자 정보를 MS SQL 쿼리로 가져와서 사용하도록 수정( EF의 오류 방지)
Change-Id: I7c64e3f99a18dd29d91036a99604401f24c469d8
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
191 | 191 |
{ |
192 | 192 |
try |
193 | 193 |
{ |
194 |
var _page = _thumbnailItems.Where(item => item.PageNumber == _pageNumber); |
|
195 |
if (_page.Count() > 0) |
|
196 |
{ |
|
197 |
ThumbnailItem thumbnailitem = _page.First(); |
|
198 |
if (PageChanging != null) |
|
194 |
System.Threading.Tasks.Task.Factory.StartNew(() => { |
|
195 |
|
|
196 |
var _page = _thumbnailItems.Where(item => item.PageNumber == _pageNumber); |
|
197 |
if (_page.Count() > 0) |
|
199 | 198 |
{ |
200 |
var _itemIndex = this._thumbnailItems.IndexOf(thumbnailitem); |
|
201 |
ImgListbox.SelectedItem = thumbnailitem; |
|
202 |
//ImgListbox.Items.MoveCurrentTo(thumbnailitem); |
|
203 |
//if (_itemIndex < _thumbnailItems.Count() - 1) |
|
204 |
// ImgListbox.ScrollIntoView(_itemIndex); |
|
205 |
//else |
|
206 |
// ImgListbox.ScrollIntoView(this._thumbnailItems.Count() - 1); |
|
199 |
ThumbnailItem thumbnailitem = _page.First(); |
|
200 |
if (PageChanging != null) |
|
201 |
{ |
|
202 |
|
|
203 |
ImgListbox.Dispatcher.InvokeAsync(() => { |
|
204 |
var _itemIndex = this._thumbnailItems.IndexOf(thumbnailitem); |
|
205 |
ImgListbox.SelectedItem = thumbnailitem; |
|
206 |
}); |
|
207 |
//ImgListbox.Items.MoveCurrentTo(thumbnailitem); |
|
208 |
//if (_itemIndex < _thumbnailItems.Count() - 1) |
|
209 |
// ImgListbox.ScrollIntoView(_itemIndex); |
|
210 |
//else |
|
211 |
// ImgListbox.ScrollIntoView(this._thumbnailItems.Count() - 1); |
|
212 |
} |
|
207 | 213 |
} |
208 |
} |
|
214 |
|
|
215 |
}).ConfigureAwait(true); |
|
209 | 216 |
} |
210 | 217 |
catch(Exception ex) |
211 | 218 |
{ |
내보내기 Unified diff