用WPF做了3个page页面  第一个page用两个frame  source到另外两个page页面第一个page的frame代码如下:      
<Page x:Class="testFrame.Page1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Page1" Height="200" Width="200">
    <Grid>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            
        </Grid.RowDefinitions>
        <Rectangle Grid.Row="0" Stroke="Gray"></Rectangle>
        <Rectangle Grid.Row="1" Stroke="Gray"></Rectangle>
        <Frame Grid.Row="0" Source="a.xaml" Name="frameA"></Frame>
        <Frame Grid.Row="1" Source="b.xaml" Visibility="Hidden" Name="frameB"></Frame>
    </Grid>
</Page>第二个page页面   a.xaml 上有个按钮  button1现在想做的功能是在运行的时候在第一个page上,通过点击frameA(a。xaml)上的这个button1按钮,使得frameB在page1上显示出来,请问这个功能应该怎么做? 我是新手弄了半天没弄出来,求指教