开发者

Showing MultiPle UserControl in a Window as ChildWindows

开发者 https://www.devze.com 2023-04-09 14:46 出处:网络
I have developed a WPF ERP in which i have a single main window and rest windows i have crea开发者_开发知识库ted as UserControls...

I have developed a WPF ERP in which i have a single main window and rest windows i have crea开发者_开发知识库ted as UserControls... Currently I am displaying the user controls in a ContentFrame in the MainWindow but my problem is that i can only display a single user control in a WPF Content Frame and i cant create a Content Frame dynamically...

How can i overcome this...

I have opened the child window as

Stock s=new Stock(); //UserControll
mainGrid.Children.Add(s);
0

精彩评论

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