<c:BWindow x:Class="PJZS.MainWindow" xmlns:c="clr-namespace:BBWY.Controls;assembly=BBWY.Controls" 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:PJZS" xmlns:b="http://schemas.microsoft.com/xaml/behaviors" mc:Ignorable="d" WindowStartupLocation="CenterScreen" Title="评价助手" Height="1050" Width="1920" RightButtonGroupMargin="0,5,5,0"> <!--<b:Interaction.Triggers> <b:EventTrigger EventName="Closing"> <b:InvokeCommandAction Command="{Binding ClosingCommand}" PassEventArgsToCommand="True"/> </b:EventTrigger> <b:EventTrigger EventName="Loaded"> <b:InvokeCommandAction Command="{Binding LoadCommand}" PassEventArgsToCommand="True"/> </b:EventTrigger> </b:Interaction.Triggers>--> <Grid x:Name="grid"> <Grid.RowDefinitions> <RowDefinition Height="30"/> <RowDefinition/> </Grid.RowDefinitions> <Border BorderThickness="0,0,0,1" BorderBrush="#D7D7D7" Background="#8080FF"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0" TextBlock.Foreground="White"> <TextBlock Text="评价助手"/> <TextBlock Text="v10005" Margin="5,0,0,0"/> <TextBlock x:Name="txtUserName" Margin="5,0,0,0"/> </StackPanel> </Border> </Grid> </c:BWindow>