You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.6 KiB
32 lines
1.6 KiB
<UserControl x:Class="Gumming.MonitorView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
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"
|
|
mc:Ignorable="d"
|
|
xmlns:local="clr-namespace:Gumming"
|
|
xmlns:tool="clr-namespace:GummingCommon;assembly=GummingCommon"
|
|
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
|
|
d:DesignHeight="700" d:DesignWidth="1000"
|
|
VerticalAlignment="Stretch"
|
|
Background="Transparent"
|
|
x:Name="rootControl">
|
|
<UserControl.Resources>
|
|
|
|
</UserControl.Resources>
|
|
<Grid Margin="0,3,0,3">
|
|
<TabControl Background="Transparent" BorderThickness="0" SelectionChanged="TabControl_SelectionChanged">
|
|
<TabItem Header="环境监控" Style="{DynamicResource HighlightTabItem}">
|
|
<ContentControl Content="{Binding EnviromentView.View}"></ContentControl>
|
|
</TabItem>
|
|
<TabItem Header="温度监控" Style="{DynamicResource HighlightTabItem}">
|
|
<ContentControl Content="{Binding TemperatureView.View}"></ContentControl>
|
|
</TabItem>
|
|
<TabItem Header="I/O监控" Style="{DynamicResource HighlightTabItem}">
|
|
<ContentControl Content="{Binding IOView.View}"></ContentControl>
|
|
</TabItem>
|
|
|
|
</TabControl>
|
|
</Grid>
|
|
</UserControl>
|