|
@@ -11,6 +11,7 @@
|
|
|
Height="500"
|
|
Height="500"
|
|
|
MinWidth="500"
|
|
MinWidth="500"
|
|
|
MinHeight="500"
|
|
MinHeight="500"
|
|
|
|
|
+ x:DataType="window:CheatWindow"
|
|
|
WindowStartupLocation="CenterOwner"
|
|
WindowStartupLocation="CenterOwner"
|
|
|
mc:Ignorable="d"
|
|
mc:Ignorable="d"
|
|
|
Focusable="True">
|
|
Focusable="True">
|
|
@@ -40,7 +41,7 @@
|
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
|
LineHeight="18"
|
|
LineHeight="18"
|
|
|
- Text="{ReflectionBinding Heading}"
|
|
|
|
|
|
|
+ Text="{Binding Heading}"
|
|
|
TextAlignment="Center"
|
|
TextAlignment="Center"
|
|
|
TextWrapping="Wrap" />
|
|
TextWrapping="Wrap" />
|
|
|
<TextBlock
|
|
<TextBlock
|
|
@@ -61,7 +62,7 @@
|
|
|
MinWidth="160"
|
|
MinWidth="160"
|
|
|
HorizontalAlignment="Center"
|
|
HorizontalAlignment="Center"
|
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
|
- Text="{ReflectionBinding BuildId}"
|
|
|
|
|
|
|
+ Text="{Binding BuildId}"
|
|
|
IsReadOnly="True" />
|
|
IsReadOnly="True" />
|
|
|
<Border
|
|
<Border
|
|
|
Grid.Row="3"
|
|
Grid.Row="3"
|
|
@@ -77,7 +78,7 @@
|
|
|
MinHeight="300"
|
|
MinHeight="300"
|
|
|
HorizontalAlignment="Stretch"
|
|
HorizontalAlignment="Stretch"
|
|
|
VerticalAlignment="Stretch"
|
|
VerticalAlignment="Stretch"
|
|
|
- ItemsSource="{ReflectionBinding LoadedCheats}">
|
|
|
|
|
|
|
+ ItemsSource="{Binding LoadedCheats}">
|
|
|
<TreeView.Styles>
|
|
<TreeView.Styles>
|
|
|
<Styles>
|
|
<Styles>
|
|
|
<Style Selector="TreeViewItem:empty /template/ ItemsPresenter">
|
|
<Style Selector="TreeViewItem:empty /template/ ItemsPresenter">
|
|
@@ -120,18 +121,18 @@
|
|
|
Name="SaveButton"
|
|
Name="SaveButton"
|
|
|
MinWidth="90"
|
|
MinWidth="90"
|
|
|
Margin="5"
|
|
Margin="5"
|
|
|
- Command="{ReflectionBinding Save}"
|
|
|
|
|
- IsVisible="{ReflectionBinding !NoCheatsFound}">
|
|
|
|
|
|
|
+ Command="{Binding Save}"
|
|
|
|
|
+ IsVisible="{Binding !NoCheatsFound}">
|
|
|
<TextBlock Text="{locale:Locale SettingsButtonSave}" />
|
|
<TextBlock Text="{locale:Locale SettingsButtonSave}" />
|
|
|
</Button>
|
|
</Button>
|
|
|
<Button
|
|
<Button
|
|
|
Name="CancelButton"
|
|
Name="CancelButton"
|
|
|
MinWidth="90"
|
|
MinWidth="90"
|
|
|
Margin="5"
|
|
Margin="5"
|
|
|
- Command="{ReflectionBinding Close}">
|
|
|
|
|
|
|
+ Command="{Binding Close}">
|
|
|
<TextBlock Text="{locale:Locale InputDialogCancel}" />
|
|
<TextBlock Text="{locale:Locale InputDialogCancel}" />
|
|
|
</Button>
|
|
</Button>
|
|
|
</DockPanel>
|
|
</DockPanel>
|
|
|
</DockPanel>
|
|
</DockPanel>
|
|
|
</Grid>
|
|
</Grid>
|
|
|
-</window:StyleableWindow>
|
|
|
|
|
|
|
+</window:StyleableWindow>
|