프로젝트

일반

사용자정보

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

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

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

1
<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
      xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
5
      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
      mc:Ignorable="d" Background="White" d:DesignHeight="450" d:DesignWidth="800">
9
    <Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"  VerticalAlignment="Stretch">
10
        <Grid.RowDefinitions>
11
            <RowDefinition/>
12
            <RowDefinition/>
13
        </Grid.RowDefinitions>
14
        <Grid.Resources>
15
            <Style TargetType="{x:Type TextBox}">
16
                <Setter Property="Margin" Value="5,5,0,0"/>
17
                <Setter Property="VerticalAlignment" Value="Center"/>
18
                <Setter Property="HorizontalContentAlignment" Value="Left"/>
19
                <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
            </Style>
40
            <Style TargetType="DataGridCell">
41
                <Setter Property="Margin" Value="10"/>
42
            </Style>
43
            <Style TargetType="TextBlock">
44
                <Setter Property="FontWeight" Value="Bold"/>
45
                <Setter Property="Margin" Value="5,5,0,0"/>
46
                <Setter Property="HorizontalAlignment" Value="Left"/>
47
                <Setter Property="VerticalAlignment" Value="Center"/>
48
            </Style>
49
        </Grid.Resources>
50
        <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
                    <ColumnDefinition Width="58" />
62
                    <ColumnDefinition Width="57"/>
63
                    <ColumnDefinition Width="10"/>
64
                    <ColumnDefinition Width="300"/>
65
                </Grid.ColumnDefinitions>
66
                <TextBlock Text="Group No: "
67
                                   Grid.Row="0"
68
                                   Grid.Column="0" Margin="5,5,0,19" Grid.RowSpan="2"/>
69
                <TextBox Text="{Binding GroupNo}" 
70
                                   Grid.Row="0"
71
                                   Grid.Column="2"/>
72
                <!--<TextBlock Text="Processor Affinity: "
73
                                   Grid.Row="0" 
74
                                   Grid.Column="3"/>
75
                <TextBox Text="{Binding ProcessorAffinity}" MaxWidth="300"
76
                                   Grid.Row="0" 
77
                                   Grid.Column="5" />-->
78
                <TextBlock Text="Document No: "
79
                                   Grid.Row="1"
80
                                   Grid.Column="0" HorizontalAlignment="Stretch" Margin="5,5,0,19" Grid.RowSpan="2"  />
81
                <TextBox Text="{Binding DocumentNo}"
82
                                   Grid.Row="1" 
83
                                   Grid.Column="2" />
84
                <TextBlock Text="ReConverter: "
85
                                   Grid.Row="1" 
86
                                   Grid.Column="3" Grid.ColumnSpan="2" Margin="5,5,0,19" Grid.RowSpan="2"/>
87
                <TextBox Text="{Binding ReConverter}" MaxWidth="300"
88
                                   Grid.Row="1" 
89
                                   Grid.Column="6"/>
90
                <TextBlock Text="Document Name: "
91
                                   Grid.Row="2"
92
                                   Grid.Column="0" Margin="5,5,0,-1" />
93
                <TextBox Text="{Binding DocumentName}"
94
                                   Grid.Row="2" 
95
                                   Grid.Column="2"/>
96
                <TextBlock Text="Service ID: "
97
                                   Grid.Row="2" 
98
                                   Grid.Column="3" Grid.ColumnSpan="2" Margin="5,5,0,-1"/>
99
                <TextBox Text="{Binding ServiceID}"  MaxWidth="300"
100
                                   Grid.Row="2" 
101
                                   Grid.Column="6" />
102
                <TextBlock Text="Revision: "
103
                                   Grid.Row="0"
104
                                   Grid.Column="3" Grid.ColumnSpan="2" Margin="5,5,0,19" Grid.RowSpan="2"/>
105
                <TextBox Text="{Binding Revision}"
106
                                   Grid.Row="0" 
107
                                   Grid.Column="6"/>
108
            </Grid>
109

    
110
            <Grid Grid.Row="1">
111
                <Grid.RowDefinitions>
112
                    <RowDefinition Height="AUTO" />
113
                </Grid.RowDefinitions>
114
                <Grid.ColumnDefinitions>
115
                    <ColumnDefinition Width="110" />
116
                    <ColumnDefinition Width="10" />
117
                    <ColumnDefinition Width="Auto"/>
118
                </Grid.ColumnDefinitions>
119
                <TextBlock Text="Exception: "
120
                                   Grid.Row="4" Margin="5,5,0,15"
121
                                   Grid.Column="0"/>
122
                <TextBox Text="{Binding Exception}" TextWrapping="Wrap" 
123
                                   Grid.Row="4" AcceptsReturn="True" Margin="0,5,0,15"
124
                                   Grid.Column="2" Grid.ColumnSpan="4"/>
125
            </Grid>
126
        </StackPanel>
127
    </Grid>
128
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)