-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMainWindow.xaml
74 lines (74 loc) · 3.68 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
<Window x:Class="Switch_Trados_Studios_Environment.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:Switch_Trados_Studios_Environment"
mc:Ignorable="d"
Title="Switch Environment 1.3.0" Height="420" Width="346"
Icon="Switch.png"
ResizeMode="CanMinimize">
<Grid Height="420">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100*"/>
<ColumnDefinition Width="9*"/>
<ColumnDefinition Width="27*"/>
<ColumnDefinition Width="210*"/>
</Grid.ColumnDefinitions>
<StackPanel Grid.ColumnSpan="4">
<StackPanel Margin="10,10,10,10">
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5,5,5">
<TextBlock HorizontalAlignment="Left" Text="Select environment type" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="16"/>
<StackPanel Orientation="Horizontal">
<ComboBox
Name="EnvironmentType"
HorizontalAlignment="Left"
Margin="0,10,0,0"
VerticalAlignment="Top"
Width="220"
Height="30"/>
<Button
Width="60"
Height="30"
Name="Help"
Content=" Help "
Margin="5,10,0,0" Click="Help_Click" />
</StackPanel>
</StackPanel>
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5,5,5">
<TextBlock
HorizontalAlignment="Left"
Text="Select or browse build type"
TextWrapping="Wrap"
VerticalAlignment="Top"
FontSize="16"/>
<StackPanel Orientation="Horizontal">
<ComboBox
Name="StudioBuildType"
HorizontalAlignment="Left"
Margin="0,10,0,0"
VerticalAlignment="Top"
Width="220"
Height="30"/>
<Button
Width="60"
Height="30"
Name="CustomLocation"
Content=" Browse "
Margin="5,10,0,0"
Click="CustomLocation_Click"/>
</StackPanel>
</StackPanel>
</StackPanel>
<StackPanel Margin="20,0,10,0">
<TextBox IsReadOnly="True" Name="Status" HorizontalAlignment="Left" VerticalContentAlignment="Top" BorderThickness="0" Text="" Visibility="Hidden" TextAlignment="Left" TextWrapping="Wrap" Height="151" Width="250" FontSize="16" VerticalAlignment="Stretch" ScrollViewer.CanContentScroll="True" Opacity="0.8"/>
</StackPanel>
<Button
Name="SwitchEnvironmentButton"
Content="Switch Environment"
HorizontalAlignment="Center"
Margin="0,20,0,0" Height="35" Width="280"
Click="ChangeEnvironment_Click"/>
</StackPanel>
</Grid>
</Window>