How can I show message box when a page has opened? This is the code for my WP project, but I want to know the WinRT version of it.
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
{
base.OnNavigatedTo(e);
CustomMessageBox messageBox = new CustomMessageBox()
{
Caption = "",
Message = "",
LeftButtonContent = "ok"
};
messageBox.Show();
}
MessageDialog class can be used for this purpose
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.