-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
77 lines (73 loc) · 3.11 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<Window x:Class="EnumSharpIntegrator.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:EnumSharpIntegrator"
mc:Ignorable="d"
Title="EnumSharpIntegrator" Height="450" Width="600">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="0.2*" />
<RowDefinition Height="0.2*" />
<RowDefinition Height="0.2*" />
<RowDefinition Height="0.2*" />
<RowDefinition Height="0.2*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.25*" />
<ColumnDefinition Width="0.5*" />
<ColumnDefinition Width="0.25*" />
</Grid.ColumnDefinitions>
<StackPanel Grid.Row="1" Grid.Column="1" Margin="20">
<TextBlock Text="Target file:" FontWeight="DemiBold"/>
<DockPanel>
<TextBox x:Name="TxtTargetPath" Width="200" />
<Button Content="..." Margin="4 0 0 0" Click="BtnTargetPath_Click" />
</DockPanel>
</StackPanel>
<StackPanel Grid.Row="2" Grid.Column="1" Margin="20">
<TextBlock Text="Integrated file:" FontWeight="DemiBold"/>
<DockPanel>
<TextBox x:Name="TxtFilePath" Width="200" />
<Button Content="..." Margin="4 0 0 0" Click="BtnFilePath_Click" />
</DockPanel>
</StackPanel>
<StackPanel Grid.Row="3" Grid.Column="1" Margin="20" VerticalAlignment="Center">
<Button x:Name="MergeBtn"
Background="BlueViolet"
Foreground="White"
FontWeight="Bold"
Content="MERGE"
Margin="4 0 0 0"
BorderBrush="Black"
BorderThickness="2"
Click="BtnMerge_OnClick" />
</StackPanel>
<StackPanel x:Name="spAlert"
Grid.Row="4"
Grid.Column="1"
Background="#cd5d5d"
Visibility="Hidden"
Width="300"
Height="45">
<TextBlock x:Name="tbAlert"
FontWeight="Bold"
FontSize="15"
TextWrapping="Wrap"
VerticalAlignment="Center"
Foreground="White"
Margin="10 8 10 10" HorizontalAlignment="Center"/>
</StackPanel>
<ProgressBar x:Name="ProgressBar"
Maximum="100"
BorderThickness="2"
Grid.Column="1"
HorizontalAlignment="Left"
Height="10"
Margin="66,64,0,0"
Grid.Row="3"
VerticalAlignment="Top"
Width="169"/>
</Grid>
</Window>