Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Easter egg for Victor
Browse files Browse the repository at this point in the history
  • Loading branch information
Dyvinia committed Jul 10, 2021
1 parent d7c8e97 commit 2ee3285
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 5 additions & 2 deletions AboutWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,12 @@
</Canvas>
<TextBlock Name="txt_Version" Margin="150,82,150,0" TextWrapping="Wrap" Text="version" VerticalAlignment="Top" Foreground="#FFF1F1F1" FontSize="14" TextAlignment="Center"/>
<TextBlock Margin="97,113,96,0" TextWrapping="Wrap" Text="Created by Dulana57" VerticalAlignment="Top" Foreground="#FFF1F1F1" FontSize="18" Height="24" TextAlignment="Center"/>
<TextBlock Margin="40,142,40,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="#FFF1F1F1" Height="42" TextAlignment="Center" FontSize="13">
<ContentControl MouseDoubleClick="VictorCringe">
<TextBlock Name="txt_Credits" Margin="40,142,40,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="#FFF1F1F1" Height="42" TextAlignment="Center" FontSize="13">
Originally based off the batch file by<LineBreak/>BattleDash, Dulana57, and VictorPLopes
</TextBlock>
</TextBlock>
</ContentControl>

<Grid Height="155" Margin="10,0,10,117" VerticalAlignment="Bottom" Background="#FF141414">
<TextBlock Margin="10,6" TextWrapping="Wrap" Foreground="#FFF1F1F1" TextAlignment="Center" FontSize="16"><Run Text="Extra Options"/></TextBlock>
</Grid>
Expand Down
9 changes: 9 additions & 0 deletions AboutWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ public AboutWindow() {
string version = Assembly.GetExecutingAssembly().GetName().Version.ToString().Substring(0, 5);
txt_Version.Text = "v" + version;
}

public void VictorCringe(object sender, MouseButtonEventArgs e) {
string message = "Victor is Cringe";
string title = "Victor";
MessageBoxButton buttons = MessageBoxButton.OK;
MessageBoxImage icon = MessageBoxImage.Error;
MessageBoxResult result = MessageBox.Show(message, title, buttons, icon);
}

private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) {
System.Diagnostics.Process.Start(e.Uri.ToString());
}
Expand Down

0 comments on commit 2ee3285

Please sign in to comment.