forked from RobG66/Gamelist-Manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScraperCredentialDialog.xaml
More file actions
46 lines (40 loc) · 2.46 KB
/
ScraperCredentialDialog.xaml
File metadata and controls
46 lines (40 loc) · 2.46 KB
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
<Window x:Class="GamelistManager.ScraperCredentialDialog"
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:GamelistManager"
mc:Ignorable="d"
Title="Scraper Credential Dialog"
Width="220"
Loaded="Window_Loaded"
ResizeMode="NoResize"
SizeToContent="Height">
<!-- This will automatically set the height based on content -->
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Background="#FFA7D3F1" VerticalAlignment="Stretch">
<StackPanel.Effect>
<DropShadowEffect/>
</StackPanel.Effect>
<TextBlock Text="UserID:" Margin="5"/>
<TextBox x:Name="textBox_UserID" MaxLength="50" Width="150" Margin="0,0,0,5" TextChanged="textBox_TextChanged"/>
<TextBlock Text="Password:" Margin="5"/>
<TextBox x:Name="textBox_Password" MaxLength="50" Width="150" TextChanged="textBox_TextChanged"/>
<StackPanel x:Name="stackPanel_ScreenScraperOptions" Visibility="Visible" Orientation="Horizontal" Margin="0,5,0,5">
<Canvas Height="50">
<Label Canvas.Left="5" Content="Language:"/>
<ComboBox x:Name="comboBox_Language" Canvas.Left="70" Width="130" SelectionChanged="comboBox_SelectionChanged"/>
<Label Canvas.Left="5" Canvas.Top="25" Content="Region:"/>
<ComboBox x:Name="comboBox_Region" Canvas.Left="70" Width="130" Canvas.Top="25" SelectionChanged="comboBox_SelectionChanged"/>
</Canvas>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,10,0,10">
<Button x:Name="button_Save" Content="Save" Style="{StaticResource CoolButtonStyle1}" Width="40" Height="20" HorizontalAlignment="Center" Margin="0,0,5,0" Click="Button_Save_Click" IsEnabled="False"/>
<Button x:Name="button_Close" Content="Close" Style="{StaticResource CoolButtonStyle1}" Width="40" Height="20" HorizontalAlignment="Center" Margin="5,0,0,0" Click="Button_Close_Click"/>
</StackPanel>
</StackPanel>
</Grid>
</Window>