| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- <Window
- x:Class="SHJX.Service.Shell.Views.Manual.ManualWindow"
- 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:i="http://schemas.microsoft.com/xaml/behaviors"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:pu="clr-namespace:Panuon.UI.Silver;assembly=Panuon.UI.Silver"
- Title="手动模式"
- Width="864"
- Height="950"
- prism:ViewModelLocator.AutoWireViewModel="True"
- Background="Transparent"
- ResizeMode="NoResize"
- WindowStartupLocation="CenterScreen"
- WindowStyle="None"
- mc:Ignorable="d">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Loaded">
- <i:InvokeCommandAction Command="{Binding LoginLoadingCommand}" />
- </i:EventTrigger>
- <i:EventTrigger EventName="Closing">
- <i:InvokeCommandAction Command="{Binding ClosingCommand}" />
- </i:EventTrigger>
- </i:Interaction.Triggers>
- <Window.Resources>
- <DataTemplate x:Key="tabTemplate">
- <TabItem Header="{Binding Header}" />
- </DataTemplate>
- </Window.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="0.7*" />
- <RowDefinition Height="1*" />
- <RowDefinition Height="16*" />
- </Grid.RowDefinitions>
- <Border
- Grid.Row="0"
- Grid.RowSpan="3"
- Margin="2"
- Background="White"
- BorderBrush="#6452A4"
- BorderThickness="1"
- CornerRadius="0">
- <Border.Effect>
- <DropShadowEffect
- BlurRadius="10"
- Opacity="0.6"
- ShadowDepth="0"
- Color="LightGray" />
- </Border.Effect>
- </Border>
- <Border
- Grid.Row="0"
- Margin="2"
- Background="#6452A4"
- CornerRadius="0" />
- <Grid
- x:Name="ManualTag"
- Grid.Row="0"
- Background="Transparent"
- MouseLeftButtonDown="ManualTag_MouseLeftButtonDown">
- <TextBlock
- Margin="10,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- FontFamily="幼圆"
- FontWeight="UltraBlack"
- Foreground="White"
- Text="手动模式" />
- <Button
- Name="btn_manual_close"
- Width="25"
- Height="25"
- Margin="0,0,10,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- pu:ButtonHelper.ClickStyle="Sink"
- pu:ButtonHelper.CornerRadius="15"
- pu:ButtonHelper.HoverBrush="#929FDE"
- Background="Transparent"
- Click="btn_manual_close_Click"
- Cursor="Hand">
- <Image
- Width="20"
- Height="20"
- Source="/SHJX.Service.Resource;component/Assets/Photos/关闭.png" />
- </Button>
- </Grid>
- <Border
- Grid.Row="1"
- Width="840"
- Margin="0,5,0,5"
- Background="#6452A4"
- CornerRadius="5">
- <TabControl
- x:Name="Menu"
- Margin="20,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Bottom"
- pu:TabControlHelper.SelectedForeground="White"
- Background="Transparent"
- Cursor="Hand"
- Foreground="#CCCCCC"
- ItemTemplate="{StaticResource ResourceKey=tabTemplate}"
- ItemsSource="{Binding TabItemInfos}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="SelectionChanged">
- <i:InvokeCommandAction Command="{Binding MenuSelectionChangedCommand}" CommandParameter="{Binding ElementName=Menu, Path=SelectedItem.Header}" />
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </TabControl>
- </Border>
- <Border
- Grid.Row="2"
- Width="840"
- Margin="0,0,0,10"
- Background="#F6FBFF"
- BorderBrush="#6452A4"
- BorderThickness="2"
- CornerRadius="5">
- <ScrollViewer
- HorizontalAlignment="Stretch"
- BorderBrush="#666666"
- BorderThickness="0"
- HorizontalScrollBarVisibility="Disabled"
- VerticalScrollBarVisibility="Auto">
- <ContentControl x:Name="manualOptionRegion" />
- </ScrollViewer>
- </Border>
- </Grid>
- </Window>
|