SPARK-901: Link to website in About
This commit is contained in:
1 parent
d864a773c3
commit
939e2b4444
2 files changed
+6
-2
No files matched your search
@@ -45,7 +45,10 @@ namespace bts.ui {
|
||||
about.CommandBindings.Add(new CommandBinding(ApplicationCommands.Open, (arg, e) => {
|
||||
if (e.Parameter != null) {
|
||||
string param = e.Parameter.ToString();
|
||||
if (!string.IsNullOrEmpty(param)) {
|
||||
if (!string.IsNullOrEmpty(param) && param.IndexOf("http") == 0) {
|
||||
Process.Start(param);
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(param)) {
|
||||
Uri address = new Uri("bts://" + param);
|
||||
_browser.Pages.Add(address);
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
Width="400" Height="248"
|
||||
Width="400" Height="265"
|
||||
xmlns:ui="clr-namespace:mbts.ui"
|
||||
xmlns:mbts="clr-namespace:mbts.ui" WindowStartupLocation="CenterScreen"
|
||||
Style="{StaticResource BTSWindow}" ui:WindowStyle.ShowCloseButton="True" ui:WindowStyle.ShowMinimizeButton="False">
|
||||
@@ -23,6 +23,7 @@
|
||||
Blue Trading Systems delivers comprehensive trading solutions for professional derivatives traders.<LineBreak /><LineBreak />
|
||||
<!--Hyperlink Command="ApplicationCommands.Open" CommandParameter="/doc/release_notes/user.html">Release Notes</Hyperlink> <LineBreak />
|
||||
<Hyperlink Command="ApplicationCommands.Open" CommandParameter="/doc/manual/index.html">Manual</Hyperlink-->
|
||||
<Hyperlink Command="ApplicationCommands.Open" CommandParameter="https://www.bluetradingsystems.com">www.bluetradingsystems.com</Hyperlink>
|
||||
</TextBlock>
|
||||
<TextBlock Grid.ColumnSpan="2" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,10">© Blue Trading Systems 2013 - 2018</TextBlock>
|
||||
<Button HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.ColumnSpan="2" Margin="10" IsDefault="True" Command="ApplicationCommands.Close" MinWidth="60">OK</Button>
|
||||
|
||||
Reference in new issue
Block a user