KFDtool/sw/control/KFDtool.Gui/MainWindow.xaml

51 lines
3.4 KiB
Plaintext
Raw Normal View History

2019-07-29 15:24:10 -06:00
<Window x:Class="KFDtool.Gui.MainWindow"
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:KFDtool.Gui"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800" WindowStartupLocation="CenterScreen" ResizeMode="CanMinimize" Closing="MainWindow_Closing">
<Grid>
<DockPanel>
<Menu DockPanel.Dock="Top">
<MenuItem Header="_File">
<MenuItem Header="_Exit" Click="Exit_MenuItem_Click" />
</MenuItem>
<MenuItem Name="DeviceMenu" Header="_Device" />
2019-12-28 11:28:57 -07:00
<MenuItem Name="P25KfdMenu" Header="_P25 KFD">
2019-07-29 15:24:10 -06:00
<MenuItem Name="NavigateP25Keyload" Header="_Keyload" IsCheckable="True" Click="Navigate_MenuItem_Click" />
<MenuItem Name="NavigateP25KeyErase" Header="_Key Erase" IsCheckable="True" Click="Navigate_MenuItem_Click" />
<MenuItem Name="NavigateP25EraseAllKeys" Header="_Erase All Keys" IsCheckable="True" Click="Navigate_MenuItem_Click" />
<MenuItem Name="NavigateP25ViewKeyInfo" Header="_View Key Info" IsCheckable="True" Click="Navigate_MenuItem_Click"/>
<MenuItem Name="NavigateP25ViewKeysetInfo" Header="_View Keyset Info" IsCheckable="True" Click="Navigate_MenuItem_Click"/>
<MenuItem Name="NavigateP25ViewRsiConfig" Header="_RSI Configuration" IsCheckable="True" Click="Navigate_MenuItem_Click"/>
<MenuItem Name="NavigateP25KmfConfig" Header="_KMF Configuration" IsCheckable="True" Click="Navigate_MenuItem_Click"/>
2019-07-29 15:24:10 -06:00
</MenuItem>
2019-12-28 11:28:57 -07:00
<MenuItem Name="P25MrMenu" Header="_P25 MR">
<MenuItem Name="NavigateP25MrEmulator" Header="_Emulator" IsCheckable="True" Click="Navigate_MenuItem_Click" />
</MenuItem>
2019-07-29 15:24:10 -06:00
<MenuItem Name="UtilityMenu" Header="_Utility">
2019-09-14 15:03:04 -06:00
<MenuItem Name="NavigateUtilityFixDesKeyParity" Header="_Fix DES Key Parity" IsCheckable="True" Click="Navigate_MenuItem_Click" />
2019-07-29 15:24:10 -06:00
<MenuItem Name="NavigateUtilityUpdateAdapterFirmware" Header="_Update Adapter Firmware" IsCheckable="True" Click="Navigate_MenuItem_Click" />
<MenuItem Name="NavigateUtilityInitializeAdapter" Header="_Initialize Adapter" IsCheckable="True" Click="Navigate_MenuItem_Click" />
<MenuItem Name="NavigateUtilityAdapterSelfTest" Header="_Adapter Self Test" IsCheckable="True" Click="Navigate_MenuItem_Click" />
</MenuItem>
<MenuItem Header="_Help">
2019-08-25 19:44:07 -06:00
<MenuItem Header="_Manual" Click="Manual_MenuItem_Click" />
2019-07-29 15:24:10 -06:00
<MenuItem Header="_Website" Click="Website_MenuItem_Click" />
2019-08-25 19:44:07 -06:00
<MenuItem Header="_About" Click="About_MenuItem_Click" />
2019-07-29 15:24:10 -06:00
</MenuItem>
</Menu>
<StatusBar DockPanel.Dock="Bottom">
<StatusBarItem>
<TextBlock Name="lblSelectedDevice"></TextBlock>
</StatusBarItem>
</StatusBar>
<Grid >
<ContentControl Name="AppView"/>
</Grid>
</DockPanel>
</Grid>
</Window>