Renamed tab headers
This commit is contained in:
parent
34ff7eed3c
commit
d5dad5f5c2
@ -21,7 +21,8 @@
|
||||
</FrameworkElement.CommandBindings>
|
||||
|
||||
<TabControl Margin="15">
|
||||
<!-- System Details -->
|
||||
|
||||
<!-- System Overview -->
|
||||
<TabItem Header="System Overview">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
@ -77,11 +78,12 @@
|
||||
</Grid>
|
||||
</TabItem>
|
||||
|
||||
<!-- Compatibility Summary -->
|
||||
<!-- System Details -->
|
||||
<TabItem Header="System Details">
|
||||
<markdig:MarkdownViewer x:Name="SummaryViewer" />
|
||||
</TabItem>
|
||||
|
||||
<!-- Test Settings -->
|
||||
<TabItem Header="Test Settings">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
@ -100,7 +102,7 @@
|
||||
OnLabel="TESTSINGING is on"
|
||||
OffLabel="TESTSINGING is off"
|
||||
IsChecked="{Binding Path=AllowPrereleaseSignatures}" />
|
||||
|
||||
|
||||
<controls:ToggleSwitch Grid.Row="1" Grid.Column="0"
|
||||
Margin="0,10,0,0"
|
||||
Header="WHQL Developer Test Mode"
|
||||
@ -115,17 +117,17 @@
|
||||
<TabItem Header="About">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Row="0">Made by Benjamin Höglinger-Stelzer</Label>
|
||||
<Grid Grid.Row="1">
|
||||
<!-- Buttons -->
|
||||
<Grid Grid.Row="0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
@ -152,7 +154,30 @@
|
||||
Content="{iconPacks:FontAwesome Kind=NodeJsBrands, Width=32, Height=32}"
|
||||
ToolTip="Visit community forums"
|
||||
Click="Forums_OnClick" />
|
||||
|
||||
<Button Grid.Column="3"
|
||||
Margin="10"
|
||||
Width="64" Height="64"
|
||||
Style="{DynamicResource MetroCircleButtonStyle}"
|
||||
Content="{iconPacks:FontAwesome Kind=GithubBrands, Width=32, Height=32}"
|
||||
ToolTip="Visit GitHub repositories"
|
||||
Click="GitHub_OnClick" />
|
||||
</Grid>
|
||||
|
||||
<!-- License section -->
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
TextAlignment="Justify"
|
||||
Grid.Row="1">
|
||||
MIT License<LineBreak/>
|
||||
Copyright (c) 2018 Benjamin Höglinger-Stelzer<LineBreak/>
|
||||
<LineBreak/>
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:<LineBreak/>
|
||||
<LineBreak/>
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.<LineBreak/>
|
||||
<LineBreak/>
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
</TextBlock>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
|
@ -138,6 +138,11 @@ namespace DerpingDrivers
|
||||
SummaryViewer.Markdown = MatchingSummaryContent;
|
||||
}
|
||||
|
||||
private void OpenHyperlink(object sender, ExecutedRoutedEventArgs e)
|
||||
{
|
||||
Process.Start(e.Parameter.ToString());
|
||||
}
|
||||
|
||||
private void Web_OnClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Process.Start("https://vigem.org");
|
||||
@ -153,9 +158,9 @@ namespace DerpingDrivers
|
||||
Process.Start("https://forums.vigem.org");
|
||||
}
|
||||
|
||||
private void OpenHyperlink(object sender, ExecutedRoutedEventArgs e)
|
||||
private void GitHub_OnClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Process.Start(e.Parameter.ToString());
|
||||
Process.Start("https://github.com/ViGEm");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user