<Window x:Class="Message_MainApplication.Views.MainView"
        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:prism="http://prismlibrary.com/"
        xmlns:viewModels="clr-namespace:Message_MainApplication.ViewModels"
        d:DataContext="{d:DesignInstance Type=viewModels:MainViewModel}"
        prism:ViewModelLocator.AutoWireViewModel="True"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>

        <StackPanel Grid.Row="0" Orientation="Horizontal">
            <Button Padding="44 14 " FontSize="19" FontWeight="Bold" Command="{Binding OpenCommand}"
                    CommandParameter="ViewA">
                模块A
            </Button>
            <Button Padding="44 14 " FontSize="19" FontWeight="Bold" Command="{Binding OpenCommand}"
                    CommandParameter="ViewB">
                模块B
            </Button>
        </StackPanel>

        <ContentControl Grid.Row="1" prism:RegionManager.RegionName="MainRegion" />
    </Grid>
</Window>