개정판 0d32593b
issue #000: DialogParameters Content 수정
Change-Id: Iea69711861af9d77f36761b25aa75b9bee89a51b
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
4936 | 4936 |
|
4937 | 4937 |
public void DialogMessage_Alert(string content, string header) |
4938 | 4938 |
{ |
4939 |
var box = new TextBlock(); |
|
4940 |
box.MinWidth = 400; |
|
4941 |
box.FontSize = 11; |
|
4942 |
//box.FontSize = 12; |
|
4943 |
box.Text = content; |
|
4944 |
box.TextWrapping = System.Windows.TextWrapping.Wrap; |
|
4945 |
|
|
4946 | 4939 |
DialogParameters parameters = new DialogParameters() |
4947 | 4940 |
{ |
4948 | 4941 |
Owner = Application.Current.MainWindow, |
4949 |
Content = box, |
|
4942 |
Content = new TextBlock() |
|
4943 |
{ |
|
4944 |
MinWidth = 400, |
|
4945 |
FontSize = 11, |
|
4946 |
Text = content, |
|
4947 |
TextWrapping = System.Windows.TextWrapping.Wrap |
|
4948 |
}, |
|
4950 | 4949 |
Header = header, |
4951 | 4950 |
Theme = new VisualStudio2013Theme(), |
4952 | 4951 |
ModalBackground = new SolidColorBrush { Color = Colors.Black, Opacity = 0.6 }, |
내보내기 Unified diff