개정판 df2e7646
DataNavigation 추가
PEMSS 기능 완료
Change-Id: I88374faf732cb66b4f9be60fbd457e2e7259bfb2
KCOM/ViewModel/RequirementViewModel.cs | ||
---|---|---|
85 | 85 |
|
86 | 86 |
public RelayCommand SelectedVPCommentCommand => new RelayCommand(x => OnSelectedVPCommentCommand(x)); |
87 | 87 |
|
88 |
public RelayCommand RequirementSearchCommand => new RelayCommand(x => OnRequirementSearchCommand(x)); |
|
89 |
|
|
90 |
|
|
91 |
|
|
88 | 92 |
#endregion |
89 | 93 |
|
90 | 94 |
#region 초기화 및 종료 이벤트 |
... | ... | |
264 | 268 |
} |
265 | 269 |
} |
266 | 270 |
|
271 |
private void OnRequirementSearchCommand(object obj) |
|
272 |
{ |
|
273 |
var searchView = new Views.RequirementSearchView(); |
|
274 |
RadWindow window = new RadWindow(); |
|
275 |
window.Header = "정합성 목록"; |
|
276 |
window.Content = searchView; |
|
277 |
window.Width = 1268; |
|
278 |
window.Height = 700; |
|
279 |
|
|
280 |
window.Closed += (snd, evt) => |
|
281 |
{ |
|
282 |
if(evt.DialogResult == true) |
|
283 |
{ |
|
284 |
if(!string.IsNullOrEmpty( evt.PromptResult)) |
|
285 |
{ |
|
286 |
SelectRequirement = RequirementList.Where(x => x.mdId == evt.PromptResult).First(); |
|
287 |
} |
|
288 |
} |
|
289 |
}; |
|
290 |
|
|
291 |
window.ShowDialogCenter(); |
|
292 |
|
|
293 |
} |
|
294 |
|
|
267 | 295 |
private void GotoMarkup(IEnumerable<string> CommentIdList) |
268 | 296 |
{ |
269 | 297 |
var selectComments = Common.ViewerDataModel.Instance.MarkupControls_USER.Where(x=> CommentIdList.Count(y=> y == x.CommentID) > 0).ToList(); |
내보내기 Unified diff