开发者

Click to new window.xaml

开发者 https://www.devze.com 2023-03-08 04:06 出处:网络
im learning wpf for the first time, i have made this far 开发者_Go百科 private void Button_Click(object sender, System.Windows.RoutedEventArgs e)

im learning wpf for the first time,

i have made this far

开发者_Go百科
    private void Button_Click(object sender, System.Windows.RoutedEventArgs e)
    {
        // TODO: Add event handler implementation here.
    }

lets say its my click button 'home' some how i have made a new window store.xaml at the same product.

how can i connect them ?

heres a sc

Click to new window.xaml


Your question seems a bit vague to me, if you simply want to display the store inside the same window you should not implement the content of the window directly but only use the window as a shell for your content, if your store is a window as well you should refactor it into a UserControl which then can be added to the window.

You can also use Pages, see the Navigation Overview for more info on that.

0

精彩评论

暂无评论...
验证码 换一张
取 消