TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sami vatansever
NA
9
2.3k
raspberry pi 3 iot messagedialog problem. please help me
Jun 28 2016 11:56 AM
Dear all. i download http://www.c-sharpcorner.com/ebooks/step-into-windows-10-uwp link is book.example for dialog message.
i have raspberry pi 3 . i make part 5 example, but i have a problem.
run remote machine (my raspberry pi) i can not see dialog message.
run the local machine its work. please help me please.
using Windows.UI.Popups;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409
namespace App9
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class MainPage : Page
{
public MainPage()
{
this.InitializeComponent();
}
private async void Showbutton_Click(object sender, RoutedEventArgs e)
{
{
MessageDialog showDialog = new MessageDialog("Hi Welcome to Windows 10"); showDialog.Commands.Add(new UICommand("Yes")
{
Id = 0
}); showDialog.Commands.Add(new UICommand("No")
{
Id = 1
});
showDialog.DefaultCommandIndex = 0;
showDialog.CancelCommandIndex = 1;
var result = await showDialog.ShowAsync();
if ((int)result.Id == 0)
{
//do your task
}
else
{
//skip your task
}
}
}
}
}
Reply
Answers (
0
)
Message box problem please help.
How developers can profit from the Internet of Things