개정판 3d4d6da9
issue #923 MarkupInfo 삭제 시 메시지 창을 띄워 사용자에게 확인을 받도록 수정
Change-Id: Ie3fd84442b2d5f5c50397b849aba172e38344245
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
366 | 366 |
/// <param name="e"></param> |
367 | 367 |
public void DeleteCommentEvent(object sender, RoutedEventArgs e) |
368 | 368 |
{ |
369 |
var box = new TextBlock(); |
|
370 |
box.MinWidth = 400; |
|
371 |
box.FontSize = 11; |
|
372 |
box.Text = "정말 삭제 하시겠습니까?"; |
|
373 |
box.TextWrapping = System.Windows.TextWrapping.Wrap; |
|
374 | 369 |
DialogParameters parameters = new DialogParameters() |
375 | 370 |
{ |
376 | 371 |
Owner = Application.Current.MainWindow, |
377 |
Content = box, |
|
372 |
Content = new TextBlock() |
|
373 |
{ |
|
374 |
MinWidth = 400, |
|
375 |
FontSize = 11, |
|
376 |
Text = "정말 삭제 하시겠습니까?", |
|
377 |
TextWrapping = System.Windows.TextWrapping.Wrap |
|
378 |
}, |
|
378 | 379 |
Header = "Confirm", |
379 | 380 |
Theme = new VisualStudio2013Theme(), |
380 | 381 |
ModalBackground = new SolidColorBrush { Color = Colors.Black, Opacity = 0.6 }, |
내보내기 Unified diff