【发布时间】:2020-08-06 05:19:17
【问题描述】:
嘿,我想做一些类似幻灯片的东西,您可以在其中启动应用程序,然后它会遍历页面,但程序不会加载。
public MainPage()
{
this.InitializeComponent();
while (true)
{
this.contentFrame.Navigate(typeof(Page1));
Thread.Sleep(10000);
this.contentFrame.Navigate(typeof(werbungPage));
Thread.Sleep(10000);
this.contentFrame.Navigate(typeof(ChartZielPage));
Thread.Sleep(10000);
this.contentFrame.Navigate(typeof(mitarbeiteronlinePage));
Thread.Sleep(10000);
this.contentFrame.Navigate(typeof(MomentaneKundenPage));
Thread.Sleep(10000);
this.contentFrame.Navigate(typeof(OutlookKalenderPage));
Thread.Sleep(10000);
this.contentFrame.Navigate(typeof(ChartServerPage));
Thread.Sleep(10000);
this.contentFrame.Navigate(typeof(ChartWheaterPage));
Thread.Sleep(10000);
}
}
【问题讨论】:
标签: c# .net visual-studio uwp uwp-xaml