-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
61 lines (61 loc) · 4.31 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
<Window x:Class="ETS_TOOL.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:ETS_TOOL"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="876">
<Window.Resources>
<Style x:Key="BotaoArredondado" TargetType="Button">
<Setter Property="Padding" Value="50"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Grid>
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="3">
</Border>
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center"
Content="{TemplateBinding Content}" />
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#0F0F2D"/>
<Setter Property="Foreground" Value="White"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Window.Resources>
<Grid>
<Button x:Name="profileEtsFolderButton" Style="{StaticResource BotaoArredondado}" Content="{DynamicResource Profile ETS Folder}" HorizontalAlignment="Left" Margin="726,52,0,0" VerticalAlignment="Top" Width="117" Click="profileEtsFolderButton_Click" Height="25"/>
<Button x:Name="LoadEtsInfoButton" Style="{StaticResource BotaoArredondado}" Content="{DynamicResource Load ETS Info}" HorizontalAlignment="Left" Margin="726,82,0,0" VerticalAlignment="Top" Width="117" Click="LoadEtsInfoButton_Click" Height="25"/>
<Label Content="{DynamicResource ETS PROFILES}" HorizontalAlignment="Left" Margin="745,125,0,0" VerticalAlignment="Top" RenderTransformOrigin="1.37,-1.039"/>
<ComboBox x:Name="profilesComboBox" HorizontalAlignment="Left" Margin="726,156,0,0" VerticalAlignment="Top" Width="120" SelectionChanged="profilesComboBox_SelectionChanged"/>
<Button x:Name="editProfileNameButton" Style="{StaticResource BotaoArredondado}" Content="{DynamicResource Edit Profile Name}" HorizontalAlignment="Left" Margin="726,192,0,0" VerticalAlignment="Top" Width="120" Click="editProfileNameButton_Click" Height="25"/>
<StackPanel Orientation="Horizontal" Height="40" VerticalAlignment="Top" Background="#0F0F2D" Grid.ColumnSpan="2" >
<TextBlock Text="ETS TOOL" VerticalAlignment="Center" Margin="20,0,0,0" Foreground="White" FontSize="16" FontWeight="Bold" />
<TextBlock Foreground="White" Margin="30,0,0,0" VerticalAlignment="Center" FontWeight="Medium" FontFamily="Arial">
<Hyperlink Click="ProfilePageButton_Click" TextDecorations="None">
<TextBlock Text="{DynamicResource Profile}" Foreground="White"/>
</Hyperlink>
</TextBlock>
<TextBlock Foreground="White" Margin="30,0,0,0" VerticalAlignment="Center" FontWeight="Medium" FontFamily="Arial" IsEnabled="false">
<Hyperlink Click="CargosPageButton_Click" TextDecorations="None">
<TextBlock Text="{DynamicResource Cargos}" Foreground="White"/>
</Hyperlink>
</TextBlock>
<ComboBox x:Name="LanguagesComboBox" Width="99" SelectionChanged="LanguagesComboBox_SelectionChanged" Height="24" Margin="20,0,0,0">
<ComboBoxItem Content="English"/>
<ComboBoxItem Content="Turkish"/>
</ComboBox>
</StackPanel>
<Frame x:Name="Main" Margin="0,40,150,0" NavigationUIVisibility="Hidden" Grid.ColumnSpan="2" />
</Grid>
</Window>