프로젝트

일반

사용자정보

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

markus / ImageComparer / ComparerTestWPF / MainWindow.xaml @ 71208c63

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

1
<Window x:Class="ComparerTestWPF.MainWindow"
2
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6
        xmlns:local="clr-namespace:ComparerTestWPF"
7
        mc:Ignorable="d"
8
        Title="MainWindow" Height="450" Width="800">
9
    <Grid>
10
        <Grid.RowDefinitions>
11
            <RowDefinition Height="Auto"/>
12
            <RowDefinition/>
13
            <RowDefinition/>
14
        </Grid.RowDefinitions>
15
        <StackPanel>
16
            <StackPanel.Resources>
17
                <Style TargetType="TextBlock">
18
                    <Setter Property="FontSize" Value="20"/>
19
                </Style>
20
                <Style TargetType="TextBox">
21
                    <Setter Property="FontSize" Value="20"/>
22
                    <Setter Property="MinWidth" Value="400"/>
23
                </Style>
24
            </StackPanel.Resources>
25
            <TextBlock Text="비교 대상 이미지 선택"/>
26
            <StackPanel Orientation="Horizontal">
27
                <TextBlock Text="원본       "/>
28
                <TextBox x:Name="TxtOriginalImage"/>
29
                <Button Content="찾기" Click="btFindOriginalFile_click"/>
30
            </StackPanel>
31
            <StackPanel Orientation="Horizontal">
32
                <TextBlock Text="비교대상  "/>
33
                <TextBox x:Name="TxtTargetImage"/>
34
                <Button Content="찾기" Click="btFindTargetFile_click"/>
35
            </StackPanel>
36
        </StackPanel>
37
        <Grid Height="100" Width="200" Grid.Row="1">
38
        <Grid.RowDefinitions>
39
            <RowDefinition/>
40
            <RowDefinition/>
41
            <RowDefinition/>
42
        </Grid.RowDefinitions>
43
            <Button Content="동기 이미지 비교" Click="btNoneTask_Click"/>
44
            <Button Content="비동기 이미지 비교" Grid.Row="1" Click="btTask_Click"/>
45
            <Button Content="비동기 URI 이미지 비교" Grid.Row="2" Click="btTaskUri_Click"/>
46
        </Grid>
47
        <Grid Grid.Row="2">
48
            <Grid.ColumnDefinitions>
49
                <ColumnDefinition/>
50
                <ColumnDefinition/>
51
            </Grid.ColumnDefinitions>
52
            <DataGrid x:Name="lstView"/>
53
            <DataGrid x:Name="lstView2" Grid.Column="1"/>
54
        </Grid>
55
    </Grid>
56
</Window>
클립보드 이미지 추가 (최대 크기: 500 MB)