프로젝트

일반

사용자정보

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

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

이력 | 보기 | 이력해설 | 다운로드 (5.64 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
                    <ColumnDefinition Width="115" />
62
                    <ColumnDefinition Width="10"/>
63
                    <ColumnDefinition Width="300"/>
64
                </Grid.ColumnDefinitions>
65
                <TextBlock Text="Group No: "
66 8c7d1ea1 alzkakdixm
                                   Grid.Row="0"
67
                                   Grid.Column="0"/>
68 85f68fef semi
                <TextBox Text="{Binding GroupNo}" 
69
                                   Grid.Row="0"
70 b63dcfbb semi
                                   Grid.Column="2"/>
71 3bde451b semi
                <!--<TextBlock Text="Processor Affinity: "
72 85f68fef semi
                                   Grid.Row="0" 
73
                                   Grid.Column="3"/>
74
                <TextBox Text="{Binding ProcessorAffinity}" MaxWidth="300"
75
                                   Grid.Row="0" 
76 3bde451b semi
                                   Grid.Column="5" />-->
77 85f68fef semi
                <TextBlock Text="Document No: "
78 344ac7ed alzkakdixm
                                   Grid.Row="1"
79 85f68fef semi
                                   Grid.Column="0" HorizontalAlignment="Stretch"  />
80
                <TextBox Text="{Binding DocumnetNo}"
81
                                   Grid.Row="1" 
82
                                   Grid.Column="2" />
83
                <TextBlock Text="ReConverter: "
84
                                   Grid.Row="1" 
85 8c7d1ea1 alzkakdixm
                                   Grid.Column="3"/>
86 85f68fef semi
                <TextBox Text="{Binding ReConverter}" MaxWidth="300"
87
                                   Grid.Row="1" 
88
                                   Grid.Column="5"/>
89
                <TextBlock Text="Document Name: "
90 344ac7ed alzkakdixm
                                   Grid.Row="2"
91 8c7d1ea1 alzkakdixm
                                   Grid.Column="0" />
92 85f68fef semi
                <TextBox Text="{Binding DocumnetName}"
93
                                   Grid.Row="2" 
94 8c7d1ea1 alzkakdixm
                                   Grid.Column="2"/>
95 85f68fef semi
                <TextBlock Text="Service ID: "
96
                                   Grid.Row="2" 
97
                                   Grid.Column="3"/>
98
                <TextBox Text="{Binding ServiceID}"  MaxWidth="300"
99
                                   Grid.Row="2" 
100
                                   Grid.Column="5" />
101
                <TextBlock Text="Revision: "
102 3bde451b semi
                                   Grid.Row="0"
103
                                   Grid.Column="3"/>
104 85f68fef semi
                <TextBox Text="{Binding Revision}"
105 3bde451b semi
                                   Grid.Row="0" 
106
                                   Grid.Column="5"/>
107 85f68fef semi
            </Grid>
108
109
            <Grid Grid.Row="1">
110
                <Grid.RowDefinitions>
111
                    <RowDefinition Height="AUTO" />
112
                </Grid.RowDefinitions>
113
                <Grid.ColumnDefinitions>
114
                    <ColumnDefinition Width="110" />
115
                    <ColumnDefinition Width="10" />
116
                    <ColumnDefinition Width="Auto"/>
117
                </Grid.ColumnDefinitions>
118
                <TextBlock Text="Exception: "
119 b63dcfbb semi
                                   Grid.Row="4" Margin="5,5,0,15"
120 8c7d1ea1 alzkakdixm
                                   Grid.Column="0"/>
121 85f68fef semi
                <TextBox Text="{Binding Exception}" TextWrapping="Wrap" 
122
                                   Grid.Row="4" AcceptsReturn="True" Margin="0,5,0,15"
123
                                   Grid.Column="2" Grid.ColumnSpan="4"/>
124
            </Grid>
125
        </StackPanel>
126 344ac7ed alzkakdixm
    </Grid>
127 85f68fef semi
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)