开发者

Click to new window.xaml

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜