<Window x:Class="Philisense.Congress.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:prism="http://www.codeplex.com/prism"
        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:i="http://schemas.microsoft.com/expression/2010/interactivity"
        xmlns:loading="clr-namespace:Philisense.Congress.Common.View;assembly=Philisense.Congress.Common" 
        xmlns:System="clr-namespace:System;assembly=mscorlib"
        mc:Ignorable="d"    
        AllowsTransparency="True" 
        WindowState="Maximized"
        WindowStartupLocation="CenterScreen"
        WindowStyle="None"
        Background="#eeeeee" 
        Width="1366"
        Height="768"
        Title="">
    <i:Interaction.Triggers>
        <i:EventTrigger EventName="Loaded">
            <i:InvokeCommandAction Command="{Binding LoadCommand}" />
        </i:EventTrigger>
    </i:Interaction.Triggers>
    <Window.Resources>
        <LinearGradientBrush x:Key="MyBrush" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#CFFFFFFF"/>
            <GradientStop Color="#0b7bc5" Offset="1"/>
        </LinearGradientBrush>

        <Style x:Key="RDOButton" TargetType="{x:Type RadioButton}">
            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
            <Setter Property="Background" Value="White"/>
            <Setter Property="BorderThickness" Value="0"/>
            <Setter Property="Cursor" Value="Hand"/>
            <Setter Property="Margin" Value="10,7"/>
            <Setter Property="Height" Value="40"/>
            <Setter Property="FontSize" Value="22"/>
            <Setter Property="Padding" Value="10,0"></Setter>
            <Setter Property="VerticalContentAlignment" Value="Center"/>
            <Setter Property="VerticalAlignment" Value="Top"/>
            <Setter Property="SnapsToDevicePixels" Value="True"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type RadioButton}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Key="Storyboard1">
                                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="bd">
                                    <EasingColorKeyFrame KeyTime="0" Value="White"/>
                                    <EasingColorKeyFrame KeyTime="0:0:0.3" Value="#FFAFAFAF"/>
                                </ColorAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Key="Storyboard2">
                                <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="bd">
                                    <EasingColorKeyFrame KeyTime="0" Value="#FFAFAFAF"/>
                                    <EasingColorKeyFrame KeyTime="0:0:0.5" Value="#D3D3D3"/>
                                </ColorAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <BulletDecorator Background="Transparent">
                            <Border x:Name="bd"  HorizontalAlignment="Center" Background="White" CornerRadius="5">
                                <Border.OpacityMask>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="Black" Offset="0"/>
                                        <GradientStop Color="White" Offset="1"/>
                                    </LinearGradientBrush>
                                </Border.OpacityMask>
                                <ContentPresenter Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                            </Border>
                        </BulletDecorator>
                        <ControlTemplate.Triggers>

                            <Trigger Property="IsEnabled" Value="false">
                                <Setter TargetName="bd" Property="Background" Value="gray" />
                                <Setter TargetName="bd" Property="Background" Value="gray" />
                            </Trigger>
                            <Trigger Property="IsChecked" Value="false">
                                <Setter TargetName="bd" Property="Background" Value="{x:Null}" />
                            </Trigger>
                            <Trigger Property="IsChecked" Value="true">
                                <Trigger.EnterActions>
                                    <BeginStoryboard x:Name="Storyboard2_BeginStoryboard" Storyboard="{StaticResource Storyboard2}"/>
                                </Trigger.EnterActions>
                                <!--选中样式-->
                                <Setter TargetName="bd" Property="Background" Value="{DynamicResource SelectBrush}" />
                                <Setter Property="Foreground" Value="White"/>
                            </Trigger>

                            <MultiTrigger>
                                <MultiTrigger.EnterActions>
                                    <BeginStoryboard Storyboard="{StaticResource Storyboard1}"/>
                                </MultiTrigger.EnterActions>
                                <MultiTrigger.Conditions>
                                    <Condition Property="IsMouseOver" Value="True"/>
                                    <Condition Property="IsChecked" Value="False"/>
                                </MultiTrigger.Conditions>
                                <Setter Property="Foreground" Value="White"/>
                                <Setter TargetName="bd" Property="Background" Value="{DynamicResource FocosBrush}" />
                            </MultiTrigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="bottomLable" TargetType="{x:Type Label}">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="12"/>
        </Style>
    </Window.Resources>
    <Grid>
        <Viewbox Stretch="Fill">
            <Grid Width="1920" Height="1000">
                <Border BorderBrush="Black" BorderThickness="0" CornerRadius="0" Margin="0">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="30"/>
                            <RowDefinition Height="80"/>
                            <RowDefinition/>
                            <RowDefinition Height="25"/>
                        </Grid.RowDefinitions>
                        <Grid Height="30">
                            <Label Content="会议信息管理系统" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#0b7bc5" Width="171.79"  FontWeight="Bold" Margin="10,0" Style="{x:Null}"/>
                            <Button Content="" Foreground="#0b7bc5" HorizontalAlignment="Right" BorderThickness="0" Margin="0,3,7,5" Style="{DynamicResource Close_Min_ButtonStyle}" Width="26" Name="closeButton" Click="closeButton_Click">
                                <Button.Background>
                                    <ImageBrush ImageSource="Resources/images/close.png" Stretch="Uniform"/>
                                </Button.Background>
                            </Button>
                            <Button Content="" Foreground="#0b7bc5" HorizontalAlignment="Right" BorderThickness="0" Margin="0,3,38,5" Style="{DynamicResource Close_Min_ButtonStyle}" Width="23" Name="mniButton" Click="mniButton_Click" >
                                <Button.Background>
                                    <ImageBrush ImageSource="Resources/images/min.png" Stretch="Uniform"/>
                                </Button.Background>
                            </Button>
                        </Grid>
                        <Border Grid.Row="1" Background="#0b7bc5">
                            <Border.Effect>
                                <!--<DropShadowEffect BlurRadius="10" Color="Black" Direction="235" Opacity="0.5" RenderingBias="Quality" ShadowDepth="0">
                        </DropShadowEffect>-->
                                <DropShadowEffect BlurRadius="10" Color="Black" Direction="235" Opacity="0.5"
                         ShadowDepth="1" ></DropShadowEffect>
                            </Border.Effect>
                        </Border>
                        <TabControl Grid.RowSpan="2" Margin="0" Style="{StaticResource TabControlStyle}" Grid.Row="1" Background="{x:Null}">
                            <!--基础筹备开始-->
                            <TabItem Header="基础筹备" Visibility="{Binding RoleBlock.BasicPreparation}" Height="80" Width="190" Style="{DynamicResource TabItemStyle}" >
                                <TabItem.Background>
                                    <ImageBrush ImageSource="Resources/theme/skin/ico/ico_Examine.png"/>
                                </TabItem.Background>

                                <Grid Margin="0" Background="{DynamicResource MyBrush}">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*"/>
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto"/>
                                        <RowDefinition Height="*"/>
                                    </Grid.RowDefinitions>
                                    <Border BorderBrush="White" BorderThickness="0,1" Margin="0" Grid.ColumnSpan="3">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#A1C7CFDA" Offset="0.991"/>
                                                <GradientStop Color="#B5F1F1F1"/>
                                                <GradientStop Color="#FFD2D2D2" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                        <WrapPanel>
                                            <RadioButton Name="DeviceBtn"  Visibility="{Binding RoleBlock.DeviceManagement}" Command="{Binding ButtonCommand}" CommandParameter="MainRegion_DeviceView"  Style="{DynamicResource RDOButton}" IsChecked="True">
                                                <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="设备管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <RadioButton Name="StaffBtn" Visibility="{Binding RoleBlock.BasePerson}" Command="{Binding ButtonCommand}" CommandParameter="MainRegion_staffListInfo"  Style="{DynamicResource RDOButton}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock  Padding="10,0"><Run Text="基础人员"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--Visibility="{Binding RoleBlock.BasePerson}"-->
                                            <RadioButton Name="StaffLibBtn" Visibility="Collapsed" Command="{Binding ButtonCommand}" CommandParameter="MainRegion_StaffLib"  Style="{DynamicResource RDOButton}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock  Padding="10,0"><Run Text="人员分类"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <RadioButton  Visibility="{Binding RoleBlock.SeatManagement}" Command="{Binding ButtonCommand}" CommandParameter="MainRegion_SeatModelList" x:Name="SeatBtn"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock  Padding="10,0"><Run Text="坐席图管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <RadioButton Visibility="{Binding RoleBlock.RoomManagement}" Command="{Binding ButtonCommand}" CommandParameter="MainRegion_RoomList" Name="RoomBtn"   Style="{DynamicResource RDOButton}" Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock  Padding="10,0"><Run Text="会议室管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <RadioButton Visibility="{Binding RoleBlock.ScreenManagement}" Command="{Binding ButtonCommand}" CommandParameter="MainRegion_ScreenListView" Name="ScreenBtn"   Style="{DynamicResource RDOButton}" Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock  Padding="10,0"><Run Text="屏幕管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--{Binding RoleBlock.ScreenManagement}-->
                                            <RadioButton Visibility="{Binding RoleBlock.CardManagement}" Command="{Binding ButtonCommand}" CommandParameter="MainRegion_CardListView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="证卡管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--
                                    <RadioButton Visibility="{Binding RoleBlock.DoorManagement}" Command="{Binding ButtonCommand}" CommandParameter="MainRegion_CheckInDoorListView" Name="CheckInDoorBtn"   Style="{DynamicResource RDOButton}" Background="{DynamicResource TabItemHotBackground}">
                                        <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                            <TextBlock  Padding="10,0"><Run Text="报到门管理"/></TextBlock>
                                        </StackPanel>
                                    </RadioButton>
                                    -->
                                            <RadioButton Command="{Binding ButtonCommand}" CommandParameter="MainRegion_CheckInDoorListView" Name="CheckInDoorBtn"   Style="{DynamicResource RDOButton}" Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock  Padding="10,0"><Run Text="报到门管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                        </WrapPanel>
                                    </Border>
                                    <Grid Name="BaseGrid" Margin="0" Grid.Row="2"  >
                                        <ContentControl Name="MainRegion" prism:RegionManager.RegionName="MainRegion" />
                                    </Grid>

                                </Grid>
                            </TabItem>
                            <!--基础筹备结束-->
                            <!--会议筹备开始-->
                            <TabItem Header="会议筹备" x:Name="CongressItem" Visibility="{Binding RoleBlock.MeetingPreparation}" Height="80" Width="190" Style="{DynamicResource TabItemStyle}">
                                <TabItem.Background>
                                    <ImageBrush ImageSource="Resources/theme/skin/ico/ico_dsmain.png"/>
                                </TabItem.Background>
                                <Grid Background="{DynamicResource MyBrush}" Margin="0">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*"/>
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="auto"/>
                                        <RowDefinition Height="*"/>
                                    </Grid.RowDefinitions>
                                    <Border BorderBrush="White" BorderThickness="0,1" Margin="0" Grid.ColumnSpan="3">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#A1C7CFDA" Offset="0.991"/>
                                                <GradientStop Color="#B5F1F1F1"/>
                                                <GradientStop Color="#FFD2D2D2" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                        <WrapPanel>
                                            <RadioButton Visibility="{Binding RoleBlock.MeetingManagement}" Command="{Binding ButtonCommand}" CommandParameter="MeetingCBRegion_CongressList"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}" IsChecked="True">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock  Padding="10,0"><Run Text="会议管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <RadioButton Visibility="{Binding RoleBlock.TopicManagement}" Command="{Binding ButtonCommand}" CommandParameter="MeetingCBRegion_TopicDetailView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock  Padding="10,0"><Run Text="议题管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <RadioButton Visibility="{Binding RoleBlock.StaffManagement}" Command="{Binding ButtonCommand}" CommandParameter="MeetingCBRegion_CongressPersonView"   Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock  Padding="10,0"><Run Text="参会人员"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <RadioButton Visibility="{Binding RoleBlock.SeatDistribution}" Command="{Binding ButtonCommand}" CommandParameter="MeetingCBRegion_SeatAllocationView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock  Padding="10,0"><Run Text="坐席分配"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<RadioButton Visibility="{Binding RoleBlock.FileManagement}" Command="{Binding ButtonCommand}" CommandParameter="MeetingCBRegion_FileListView"   Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                        <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                            <TextBlock><Run Text="文件管理"/></TextBlock>
                                        </StackPanel>
                                    </RadioButton>-->
                                            <!--<RadioButton Visibility="{Binding RoleBlock.CardManagement}" Command="{Binding ButtonCommand}" CommandParameter="MeetingCBRegion_CardListView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                        <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                            <TextBlock Padding="10,0"><Run Text="证卡管理"/></TextBlock>
                                        </StackPanel>
                                    </RadioButton>-->
                                            <RadioButton Visibility="{Binding RoleBlock.DeskCardManagement}" Command="{Binding ButtonCommand}" CommandParameter="MeetingCBRegion_CallingCardView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="桌牌管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <RadioButton Visibility="{Binding RoleBlock.FileManagement}"  Command="{Binding ButtonCommand}" CommandParameter="MeetingCBRegion_CongressFileView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="会议文件"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                        </WrapPanel>
                                    </Border>
                                    <!--<Label Content="新功能推荐" HorizontalAlignment="Left" Margin="-23,23,0,1.667" Grid.Row="1" Width="94.25" FontSize="14.667" FontWeight="Bold" Grid.Column="1"/>-->
                                    <Grid Name="MeetingCBGrid" Margin="0" Grid.Row="2" >
                                        <ContentControl Name="MeetingCBRegion" prism:RegionManager.RegionName="MeetingCBRegion" />
                                    </Grid>
                                </Grid>
                            </TabItem>
                            <!--会议筹备结束-->
                            <!--会议控制开始-->
                            <TabItem Header="会议控制" Visibility="{Binding RoleBlock.MeetingControl}" Height="80" Width="190" HorizontalAlignment="Left"  Style="{DynamicResource TabItemStyle}">
                                <TabItem.Background>
                                    <ImageBrush ImageSource="Resources/theme/skin/ico/ico_RubbishCleaner.png"/>
                                </TabItem.Background>
                                <Grid Name="MeetingConrolGrid" Background="{DynamicResource MyBrush}">
                                    <ContentControl Name="MeetingControlRegion" prism:RegionManager.RegionName="MeetingControlRegion" />

                                </Grid>
                            </TabItem>
                            <!--会议控制结束-->
                            <!--会后管理开始-->
                            <TabItem Header="会后管理"  Visibility="{Binding RoleBlock.PostManagement}" Height="80" Width="190" Style="{DynamicResource TabItemStyle}">
                                <TabItem.Background>
                                    <ImageBrush ImageSource="Resources/theme/skin/ico/ico_PluginCleaner.png"/>
                                </TabItem.Background>
                                <Grid Background="{DynamicResource MyBrush}" Margin="0">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*"/>
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="auto"/>
                                        <RowDefinition Height="*"/>
                                    </Grid.RowDefinitions>
                                    <Border BorderBrush="White" BorderThickness="0,1" Margin="0" Grid.ColumnSpan="3">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#A1C7CFDA" Offset="0.991"/>
                                                <GradientStop Color="#B5F1F1F1"/>
                                                <GradientStop Color="#FFD2D2D2" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                        <WrapPanel>

                                            <RadioButton Visibility="{Binding RoleBlock.ReportInquire}" Command="{Binding ButtonCommand}" CommandParameter="AfterMeetingRegion_ReportView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}" IsChecked="True">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="报表查询"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<Button Content="报表查询" Visibility="{Binding RoleBlock.ReportInquire}" Command="{Binding ButtonCommand}" CommandParameter="AfterMeetingRegion_ReportView" HorizontalAlignment="Left" Margin="5" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="1"/>-->
                                            <Border BorderBrush="#CCFFFFFF"  Visibility="Collapsed"  BorderThickness="1,0,0,0" HorizontalAlignment="Left"   Width="2.5" Background="#FFB6B6B6" Margin="0,5"/>
                                            <RadioButton Visibility="{Binding RoleBlock.PersonFileDown}" Command="{Binding ButtonCommand}" CommandParameter="AfterMeetingRegion_AgendaPersonFileExportView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="批注文件下载"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<Button Content="数据下载" Visibility="Collapsed" Command="{Binding ButtonCommand}" CommandParameter="AfterMeetingRegion_DataDownloadView" HorizontalAlignment="Left" Margin="5" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="1"/>-->
                                            <!--<Border BorderBrush="#CCFFFFFF" Visibility="{Binding RoleBlock.MeetingArchiving}"  BorderThickness="1,0,0,0" HorizontalAlignment="Left"   Width="2.5" Background="#FFB6B6B6" Margin="0,5"/>-->
                                            <RadioButton Visibility="{Binding RoleBlock.MeetingArchiving}" Command="{Binding ButtonCommand}" CommandParameter="AfterMeetingRegion_MeetingPlaceOnFileView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="会议归档"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<Button Content="会议归档" Visibility="{Binding RoleBlock.MeetingArchiving}" Command="{Binding ButtonCommand}" CommandParameter="AfterMeetingRegion_MeetingPlaceOnFileView" HorizontalAlignment="Left" Margin="5" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="1"/>-->
                                            <!--<Border BorderBrush="#CCFFFFFF" Visibility="{Binding RoleBlock.HotStandby}" BorderThickness="1,0,0,0" HorizontalAlignment="Left"   Width="2.5" Background="#FFB6B6B6" Margin="0,5"/>-->
                                            <RadioButton Visibility="{Binding RoleBlock.HotStandby}" Name="RemoteBtn"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="双机热备"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <RadioButton Visibility="{Binding RoleBlock.DataBaseBackUp}" Name="DataBtn"  Command="{Binding ButtonCommand}" CommandParameter="AfterMeetingRegion_DataDownloadView" Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="数据库备份"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<Button Content="双机热备" Visibility="{Binding RoleBlock.HotStandby}" Name="RemoteBtn" HorizontalAlignment="Left" Margin="5" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="1"/>-->

                                        </WrapPanel>
                                    </Border>
                                    <Grid Name="AfterMeetingGrid" Margin="0" Grid.Row="2" >
                                        <ContentControl Name="AfterMeetingRegion" prism:RegionManager.RegionName="AfterMeetingRegion" />
                                    </Grid>
                                </Grid>
                            </TabItem>
                            <!--会后管理结束-->
                            <!--系统设置开始-->
                            <TabItem Header="系统设置"  Visibility="{Binding RoleBlock.SystemControl}" Height="80" Width="190" Style="{DynamicResource TabItemStyle}">
                                <TabItem.Background>
                                    <ImageBrush ImageSource="Resources/theme/skin/ico/ico_VulRepair.png"/>
                                </TabItem.Background>
                                <Grid Background="{DynamicResource MyBrush}">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*"/>
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="auto"/>
                                        <RowDefinition Height="*"/>
                                    </Grid.RowDefinitions>
                                    <Border BorderBrush="White" BorderThickness="0,1" Margin="0" Grid.ColumnSpan="3">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#A1C7CFDA" Offset="0.991"/>
                                                <GradientStop Color="#B5F1F1F1"/>
                                                <GradientStop Color="#FFD2D2D2" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Border.Background>
                                        <WrapPanel>
                                            <RadioButton Visibility="{Binding RoleBlock.DataConfiger}" Command="{Binding ButtonCommand}" CommandParameter="SystemSetRegion_DataBaseView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}" IsChecked="True">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="系统配置"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<Button Content="数据库" Visibility="{Binding RoleBlock.DataConfiger}" Command="{Binding ButtonCommand}" CommandParameter="SystemSetRegion_DataBaseView" HorizontalAlignment="Left" Margin="5" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="1"/>-->
                                            <!--<Border BorderBrush="#CCFFFFFF" Visibility="{Binding RoleBlock.VersionControl}" BorderThickness="1,0,0,0" HorizontalAlignment="Left"   Width="2.5" Background="#FFB6B6B6" Margin="0,5"/>-->
                                            <RadioButton Visibility="{Binding RoleBlock.VersionControl}" Command="{Binding ButtonCommand}" CommandParameter="SystemSetRegion_VersionView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="版本控制"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<Button Content="版本控制" Visibility="{Binding RoleBlock.VersionControl}" Command="{Binding ButtonCommand}" CommandParameter="SystemSetRegion_VersionView" HorizontalAlignment="Left" Margin="5" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="1"/>-->
                                            <!--<Border BorderBrush="#CCFFFFFF" Visibility="{Binding RoleBlock.SystemUser}" BorderThickness="1,0,0,0" HorizontalAlignment="Left"   Width="2.5" Background="#FFB6B6B6" Margin="0,5"/>-->
                                            <RadioButton Visibility="{Binding RoleBlock.BlockManagement}" Command="{Binding ButtonCommand}" CommandParameter="SystemSetRegion_RoleBlockView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="模块管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<Button Content="模块管理" Visibility="{Binding RoleBlock.BlockManagement}" Command="{Binding ButtonCommand}" CommandParameter="SystemSetRegion_RoleBlockView" HorizontalAlignment="Left" Margin="5" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="1"/>-->
                                            <!--<Border BorderBrush="#CCFFFFFF" Visibility="{Binding RoleBlock.BlockManagement}"  BorderThickness="1,0,0,0" HorizontalAlignment="Left"   Width="2.5" Background="#FFB6B6B6" Margin="0,5"/>-->
                                            <RadioButton Visibility="{Binding RoleBlock.SystemUser}" Command="{Binding ButtonCommand}" CommandParameter="SystemSetRegion_UserView"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="系统用户"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<Button Content="系统用户" Visibility="{Binding RoleBlock.SystemUser}" Command="{Binding ButtonCommand}" CommandParameter="SystemSetRegion_UserView" HorizontalAlignment="Left" Margin="5" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="1"/>-->
                                            <!--<Border BorderBrush="#CCFFFFFF" Visibility="{Binding RoleBlock.DictionaryManagement}" BorderThickness="1,0,0,0" HorizontalAlignment="Left"   Width="2.5" Background="#FFB6B6B6" Margin="0,5"/>-->
                                            <RadioButton Visibility="{Binding RoleBlock.DictionaryManagement}" Command="{Binding ButtonCommand}" CommandParameter="SystemSetRegion_DictionaryList"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="字典表管理"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<Button Content="字典表管理" Visibility="{Binding RoleBlock.DictionaryManagement}" Command="{Binding ButtonCommand}" CommandParameter="SystemSetRegion_DictionaryList"  HorizontalAlignment="Left" Margin="0,8" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="1"/>-->
                                            <!--<Border BorderBrush="#CCFFFFFF" Visibility="{Binding RoleBlock.Help}" BorderThickness="1,0,0,0" HorizontalAlignment="Left"   Width="2.5" Background="#FFB6B6B6" Margin="0,5"/>-->
                                            <RadioButton Visibility="{Binding RoleBlock.Help}"  Style="{DynamicResource RDOButton}"  Background="{DynamicResource TabItemHotBackground}">
                                                <StackPanel HorizontalAlignment="Center"  VerticalAlignment="Center">
                                                    <TextBlock Padding="10,0"><Run Text="帮助说明"/></TextBlock>
                                                </StackPanel>
                                            </RadioButton>
                                            <!--<Button Content="帮助说明" Visibility="{Binding RoleBlock.Help}" HorizontalAlignment="Left" Margin="5" Style="{DynamicResource MyButton}" Width="101" Height="25" Grid.Column="1"/>-->

                                        </WrapPanel>
                                    </Border>
                                    <Grid Name="SystemSetGrid" Margin="0" Grid.Row="2" >
                                        <ContentControl Name="SystemSetRegion" prism:RegionManager.RegionName="SystemSetRegion" />
                                    </Grid>
                                </Grid>
                            </TabItem>
                            <!--系统设置结束-->

                        </TabControl>

                        <Border Grid.Row="3" Margin="0,0,0,0" Background="#0b7bc5">
                            <DockPanel>
                                <!--<Label Content="用户：" Margin="20,0" Style="{StaticResource bottomLable}" HorizontalAlignment="Left" />
                        <Label Content="{Binding UserInfo.UI_Name}" Style="{StaticResource bottomLable}" Margin="60,0" HorizontalAlignment="Left" Width="80"/>-->
                                <DockPanel DockPanel.Dock="Right">
                                    <Label Content="版本号："  Style="{StaticResource bottomLable}" />
                                    <Label Content="{Binding SoftVersion}" Style="{StaticResource bottomLable}"/>
                                </DockPanel>
                                <Label Content="本机IP：" Style="{StaticResource bottomLable}"/>
                                <Label Content="{Binding LocalIP}" Style="{StaticResource bottomLable}" ></Label>
                                <Label Content="时间：" Style="{StaticResource bottomLable}"/>
                                <Label Content="{Binding TimerStr}" Style="{StaticResource bottomLable}"/>

                            </DockPanel>
                        </Border>
                    </Grid>
                </Border>
                <Grid>
                    <!--<loading:LoadingWait x:Name="_Loading" Visibility="{Binding LoadingStatues}"></loading:LoadingWait>-->
                </Grid>
            </Grid>
        </Viewbox>
    </Grid>
</Window>
