프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / DataBaseViewInfo.xaml @ ee910e7f

이력 | 보기 | 이력해설 | 다운로드 (5.69 KB)

1 344ac7ed alzkakdixm
<UserControl x:Class="Markus.Service.StationController.Views.DataBaseViewInfo"
2
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 b63dcfbb semi
      xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
5 344ac7ed alzkakdixm
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
6
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
7
      xmlns:local="clr-namespace:Markus.Service.StationController.Views"
8 b63dcfbb semi
      mc:Ignorable="d" Background="White" d:DesignHeight="450" d:DesignWidth="800">
9 85f68fef semi
    <Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"  VerticalAlignment="Stretch">
10
        <Grid.RowDefinitions>
11
            <RowDefinition/>
12
            <RowDefinition/>
13
        </Grid.RowDefinitions>
14 344ac7ed alzkakdixm
        <Grid.Resources>
15 85f68fef semi
            <Style TargetType="{x:Type TextBox}">
16 b63dcfbb semi
                <Setter Property="Margin" Value="5,5,0,0"/>
17
                <Setter Property="VerticalAlignment" Value="Center"/>
18 85f68fef semi
                <Setter Property="HorizontalContentAlignment" Value="Left"/>
19 b63dcfbb semi
                <Setter Property="Foreground" Value="Black"/>
20
                <Setter Property="Background" Value="Transparent"/>
21
                <Setter Property="BorderBrush" Value="Transparent"/>
22
                <Setter Property="BorderThickness" Value="0"/>
23
                <Setter Property="IsReadOnly" Value="true"/>
24
                <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
25
                <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
26
                <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
27
                <Setter Property="Template">
28
                    <Setter.Value>
29
                        <ControlTemplate TargetType="{x:Type TextBox}">
30
                            <Border x:Name="Bd" 
31
                    BorderThickness="{TemplateBinding BorderThickness}" 
32
                    SnapsToDevicePixels="true">
33
                                <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
34
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
35
                            </Border>
36
                        </ControlTemplate>
37
                    </Setter.Value>
38
                </Setter>
39 344ac7ed alzkakdixm
            </Style>
40 85f68fef semi
            <Style TargetType="DataGridCell">
41 b63dcfbb semi
                <Setter Property="Margin" Value="10"/>
42 85f68fef semi
            </Style>
43 344ac7ed alzkakdixm
            <Style TargetType="TextBlock">
44
                <Setter Property="FontWeight" Value="Bold"/>
45 b63dcfbb semi
                <Setter Property="Margin" Value="5,5,0,0"/>
46 344ac7ed alzkakdixm
                <Setter Property="HorizontalAlignment" Value="Left"/>
47
                <Setter Property="VerticalAlignment" Value="Center"/>
48
            </Style>
49
        </Grid.Resources>
50 85f68fef semi
        <StackPanel>
51
            <Grid Grid.Row="0">
52
                <Grid.RowDefinitions>
53
                    <RowDefinition Height="20" />
54
                    <RowDefinition Height="20" />
55
                    <RowDefinition Height="20" />
56
                </Grid.RowDefinitions>
57
                <Grid.ColumnDefinitions>
58
                    <ColumnDefinition Width="110" />
59
                    <ColumnDefinition Width="10" />
60
                    <ColumnDefinition Width="300"/>
61 5feff9f0 semi
                    <ColumnDefinition Width="58" />
62
                    <ColumnDefinition Width="57"/>
63 85f68fef semi
                    <ColumnDefinition Width="10"/>
64
                    <ColumnDefinition Width="300"/>
65
                </Grid.ColumnDefinitions>
66
                <TextBlock Text="Group No: "
67 8c7d1ea1 alzkakdixm
                                   Grid.Row="0"
68 5feff9f0 semi
                                   Grid.Column="0" Margin="5,5,0,19" Grid.RowSpan="2"/>
69 85f68fef semi
                <TextBox Text="{Binding GroupNo}" 
70
                                   Grid.Row="0"
71 b63dcfbb semi
                                   Grid.Column="2"/>
72 85f68fef semi
                <TextBlock Text="Document No: "
73 344ac7ed alzkakdixm
                                   Grid.Row="1"
74 5feff9f0 semi
                                   Grid.Column="0" HorizontalAlignment="Stretch" Margin="5,5,0,19" Grid.RowSpan="2"  />
75
                <TextBox Text="{Binding DocumentNo}"
76 85f68fef semi
                                   Grid.Row="1" 
77
                                   Grid.Column="2" />
78
                <TextBlock Text="ReConverter: "
79
                                   Grid.Row="1" 
80 5feff9f0 semi
                                   Grid.Column="3" Grid.ColumnSpan="2" Margin="5,5,0,19" Grid.RowSpan="2"/>
81 85f68fef semi
                <TextBox Text="{Binding ReConverter}" MaxWidth="300"
82
                                   Grid.Row="1" 
83 5feff9f0 semi
                                   Grid.Column="6"/>
84 85f68fef semi
                <TextBlock Text="Document Name: "
85 344ac7ed alzkakdixm
                                   Grid.Row="2"
86 5feff9f0 semi
                                   Grid.Column="0" Margin="5,5,0,-1" />
87
                <TextBox Text="{Binding DocumentName}"
88 85f68fef semi
                                   Grid.Row="2" 
89 8c7d1ea1 alzkakdixm
                                   Grid.Column="2"/>
90 85f68fef semi
                <TextBlock Text="Service ID: "
91
                                   Grid.Row="2" 
92 5feff9f0 semi
                                   Grid.Column="3" Grid.ColumnSpan="2" Margin="5,5,0,-1"/>
93 85f68fef semi
                <TextBox Text="{Binding ServiceID}"  MaxWidth="300"
94
                                   Grid.Row="2" 
95 5feff9f0 semi
                                   Grid.Column="6" />
96 85f68fef semi
                <TextBlock Text="Revision: "
97 3bde451b semi
                                   Grid.Row="0"
98 5feff9f0 semi
                                   Grid.Column="3" Grid.ColumnSpan="2" Margin="5,5,0,19" Grid.RowSpan="2"/>
99 85f68fef semi
                <TextBox Text="{Binding Revision}"
100 3bde451b semi
                                   Grid.Row="0" 
101 5feff9f0 semi
                                   Grid.Column="6"/>
102 85f68fef semi
            </Grid>
103
104
            <Grid Grid.Row="1">
105
                <Grid.RowDefinitions>
106
                    <RowDefinition Height="AUTO" />
107
                </Grid.RowDefinitions>
108
                <Grid.ColumnDefinitions>
109
                    <ColumnDefinition Width="110" />
110
                    <ColumnDefinition Width="10" />
111
                    <ColumnDefinition Width="Auto"/>
112
                </Grid.ColumnDefinitions>
113
                <TextBlock Text="Exception: "
114 b63dcfbb semi
                                   Grid.Row="4" Margin="5,5,0,15"
115 8c7d1ea1 alzkakdixm
                                   Grid.Column="0"/>
116 85f68fef semi
                <TextBox Text="{Binding Exception}" TextWrapping="Wrap" 
117
                                   Grid.Row="4" AcceptsReturn="True" Margin="0,5,0,15"
118
                                   Grid.Column="2" Grid.ColumnSpan="4"/>
119
            </Grid>
120
        </StackPanel>
121 344ac7ed alzkakdixm
    </Grid>
122 85f68fef semi
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)