Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

Please tell me how to call a window with in a frame in wpf

Thank you
Posted

XML
<Grid Background="Transparent" PreviewMouseDown="Grid_PreviewMouseDown">
        <Popup AllowsTransparency="True"  Name="TextModulePopup"   VerticalAlignment="Stretch" >
            <Frame Background="Aqua" Source="Page1.xaml" HorizontalAlignment="Stretch" Width="200" Height="260"  Name="SelectTextModuleFrame" />
        </Popup>
    </Grid>
 
Share this answer
 
Public Class Nav

Private Sub Logout1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Logout1.Click
Server_Main_Window.Close()
Form1.Show()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bAccounts.Click
Accounts.TopLevel = False
Server_Main_Window.Panel3.Controls.Add(Accounts)
Accounts.Show()
Accounts.BringToFront()
End Sub
end class
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900