개정판 c35e49f5
issue #923 MarkupInfo 삭제 시 메시지 창을 띄워 사용자에게 확인을 받도록 수정
Change-Id: I2dea56673f387c280762e236d072c4ddb601b64e
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
366 | 366 |
/// <param name="e"></param> |
367 | 367 |
public void DeleteCommentEvent(object sender, RoutedEventArgs e) |
368 | 368 |
{ |
369 |
//선택된 어도너가 있을시 삭제가 되지 않음(강인구 추가) |
|
370 |
SelectionSet.Instance.UnSelect(this); |
|
369 |
if (MessageBox.Show("정말 삭제 하시겠습니까?", "MARKUS", MessageBoxButton.OKCancel) == MessageBoxResult.OK) |
|
370 |
{ |
|
371 |
//선택된 어도너가 있을시 삭제가 되지 않음 |
|
372 |
SelectionSet.Instance.UnSelect(this); |
|
371 | 373 |
|
372 |
Button content = (sender as Button); |
|
373 |
MarkupInfoItem item = content.CommandParameter as MarkupInfoItem; |
|
374 |
Button content = (sender as Button);
|
|
375 |
MarkupInfoItem item = content.CommandParameter as MarkupInfoItem;
|
|
374 | 376 |
|
375 |
DeleteItem(item); |
|
377 |
DeleteItem(item); |
|
378 |
} |
|
376 | 379 |
} |
377 | 380 |
|
378 | 381 |
System.Windows.Media.Animation.DoubleAnimation da = new System.Windows.Media.Animation.DoubleAnimation(); |
내보내기 Unified diff