-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Added automatic check for new versions on github (weekly check, can…
… be disabled).
- Loading branch information
Showing
9 changed files
with
281 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<Window x:Class="com.blueboxmoon.RockDevBooster.Dialogs.PendingUpdateDialog" | ||
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:com.blueboxmoon.RockDevBooster.Dialogs" | ||
mc:Ignorable="d" | ||
Title="New Version Available" | ||
Height="140" | ||
Width="400" | ||
ResizeMode="NoResize" | ||
Icon="/RockDevBooster;component/resources/RockDevBooster.ico" | ||
WindowStartupLocation="CenterOwner"> | ||
<Grid> | ||
<Button x:Name="btnCancel" | ||
Content="Cancel" | ||
Margin="0,0,10,10" | ||
HorizontalAlignment="Right" | ||
Width="73" | ||
Click="btnCancel_Click" | ||
Style="{StaticResource buttonStyleIcon}" Height="36" VerticalAlignment="Bottom"/> | ||
|
||
<Button Name="btnOK" | ||
Content="Show Me" | ||
Margin="0,0,88,10" | ||
HorizontalAlignment="Right" | ||
Width="90" | ||
Click="btnOK_Click" | ||
IsDefault="True" | ||
Style="{StaticResource buttonStyleIconSuccess}" | ||
Height="36" | ||
VerticalAlignment="Bottom"/> | ||
<TextBlock | ||
HorizontalAlignment="Stretch" | ||
Margin="10,10,10,0" | ||
TextWrapping="WrapWithOverflow" | ||
Text="A new version of RockDevBooster is available for download on github." | ||
VerticalAlignment="Top" | ||
Height="41" | ||
/> | ||
</Grid> | ||
</Window> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
using System.Windows.Data; | ||
using System.Windows.Documents; | ||
using System.Windows.Input; | ||
using System.Windows.Media; | ||
using System.Windows.Media.Imaging; | ||
using System.Windows.Shapes; | ||
|
||
namespace com.blueboxmoon.RockDevBooster.Dialogs | ||
{ | ||
/// <summary> | ||
/// Interaction logic for PendingUpdateDialog.xaml | ||
/// </summary> | ||
public partial class PendingUpdateDialog : Window | ||
{ | ||
public PendingUpdateDialog() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
#region Events | ||
|
||
/// <summary> | ||
/// Handles the Click event of the btnCancel control. | ||
/// </summary> | ||
/// <param name="sender">The source of the event.</param> | ||
/// <param name="e">The <see cref="RoutedEventArgs"/> instance containing the event data.</param> | ||
protected void btnCancel_Click( object sender, RoutedEventArgs e ) | ||
{ | ||
DialogResult = false; | ||
} | ||
|
||
/// <summary> | ||
/// Handles the Click event of the btnOK control. | ||
/// </summary> | ||
/// <param name="sender">The source of the event.</param> | ||
/// <param name="e">The <see cref="RoutedEventArgs"/> instance containing the event data.</param> | ||
protected void btnOK_Click( object sender, RoutedEventArgs e ) | ||
{ | ||
DialogResult = true; | ||
} | ||
|
||
#endregion | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters