-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGBModPrompt.xaml
62 lines (48 loc) · 2.61 KB
/
GBModPrompt.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
<Window x:Class="Concursus.GBModPrompt"
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:Concursus"
mc:Ignorable="d"
Title="[mod title]" Height="1024" Width="668" ResizeMode="CanResize">
<StackPanel>
<Border BorderThickness="1" BorderBrush="#FF000000">
<Grid>
<Image x:Name="image" Height="342" Width="668" Stretch="Fill" Visibility="Visible"/>
<ToggleButton x:Name="toggleImage" Content="Toggle Image" Margin="5" HorizontalAlignment="Right" VerticalAlignment="Top" Click="toggleImage_Click"/>
</Grid>
</Border>
<DockPanel>
<StackPanel Width="334">
<Label Margin="5,10,5,0">Game:</Label>
<TextBox Margin="15,5,5,0" x:Name="txtGame" IsReadOnly="False"></TextBox>
</StackPanel>
<StackPanel Width="334">
<Label Margin="5,10,5,0">Mod Name:</Label>
<TextBox Margin="15,5,15,0" x:Name="txtModName" IsReadOnly="False" HorizontalAlignment="Left" Width="298"></TextBox>
</StackPanel>
</DockPanel>
<DockPanel>
<StackPanel Width="334">
<Label Margin="5,10,5,0">Submitter:</Label>
<TextBox Margin="15,5,5,0" x:Name="txtSubmitter" IsReadOnly="False"></TextBox>
</StackPanel>
<StackPanel Width="334" Margin="0,0,0,0">
<Label Margin="5,10,5,0">Version:</Label>
<TextBox Margin="15,5,15,0" x:Name="txtVersion" IsReadOnly="False" HorizontalAlignment="Left" Width="298"></TextBox>
</StackPanel>
</DockPanel>
<Label Margin="5,10,5,0">Description:</Label>
<Border Margin="15,5,10,0"
BorderThickness="1"
BorderBrush="#FF000000"
>
<WebBrowser x:Name="broDescription"></WebBrowser>
</Border>
<Label Margin="5,10,5,0">Files (Select the right one):</Label>
<ComboBox x:Name="cboFiles" Width="607" Margin="0,5,0,0" SelectedValuePath="Key" DisplayMemberPath="Value.filename"/>
<Button x:Name="btnDownload" Content="Download Mod" Margin="10,32,10,0" Height="47" Click="btnDownload_Click"/>
<TextBox x:Name="txtProgress" Margin="0,20,0,0" Text="" IsReadOnly="False" TextWrapping="Wrap" Width="642" Height="129"></TextBox>
</StackPanel>
</Window>