Skip to content

Commit 30c4dce

Browse files
committed
- Main Page > WarningButton OnClick displays message about new video guide for SimTools v4, encourages viewing.
- Added two additional songs to the music manifest (SimCity 3000, SimCopter).
1 parent 8049318 commit 30c4dce

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

Pages/MainWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
</Button.Background>
165165
</Button>
166166
<Image x:Name="SulSul" HorizontalAlignment="Left" Height="225" Margin="584,281,0,0" VerticalAlignment="Top" Width="225" Source="/Images/sulsul.png"/>
167-
<Button x:Name="WarningButton" Content="IMPORTANT NOTICE!" HorizontalAlignment="Left" Margin="624,512,0,0" VerticalAlignment="Top" Width="154" Height="34" FontFamily="Tahoma" FontWeight="Bold" Click="TweakButton_Click" FontSize="11" ContextMenuOpening="TweakButton_Context" BorderBrush="{x:Null}">
167+
<Button x:Name="WarningButton" Content="IMPORTANT NOTICE!" HorizontalAlignment="Left" Margin="624,512,0,0" VerticalAlignment="Top" Width="154" Height="34" FontFamily="Tahoma" FontWeight="Bold" Click="WarningButton_Click" FontSize="11" BorderBrush="{x:Null}">
168168
<Button.Background>
169169
<ImageBrush ImageSource="/Images/button_red.png"/>
170170
</Button.Background>

Pages/MainWindow.xaml.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,5 +1747,15 @@ private void SimPortButton_Click(object sender, RoutedEventArgs e)
17471747
}
17481748
}
17491749

1750+
private void WarningButton_Click(object sender, RoutedEventArgs e)
1751+
{
1752+
{
1753+
MessageBox.Show(
1754+
"A great deal has changed between v3.2.4 and v4.0.1. Please take a moment to watch the new video guide by clicking the 'SimTools Video Guide' button. This and the changelog will hopefully better aclimate you to the massive changes.",
1755+
"Watch the Video Guide!",
1756+
MessageBoxButton.OK,
1757+
MessageBoxImage.Warning);
1758+
}
1759+
}
17501760
}
17511761
}

build.counter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4016
1+
4019

0 commit comments

Comments
 (0)