프로젝트

일반

사용자정보

개정판 0d32593b

ID0d32593b4dd981d0d0987c9cad100ebbf62fdc8e
상위 a09852e9
하위 c4e04410

이지연이(가) 5년 이상 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)