what I'm supposed to do is ,show a user control in a popup and when you click a button on the control it should show the second user control within the same popup .it should behave similar like the settings charm but should show on the left of the screen .
how can i archive that ?
Suresh MPosted Apr 12, 2014, 3:51 AM
Write the code in your button click event
{
MessageDialog msg;
msg = new MessageDialog("Hint Message?");
UICommand okbtn = new UICommand("YES");
okbtn.Invoked = OKBUTNCLICK;
msg.Commands.Add(okbtn);
UICommand cancelbtn = new UICommand("NO");
cancelbtn.Invoked = CancelClick;
msg.Commands.Add(cancelbtn);
await msg.ShowAsync();
}
private void CancelClick(IUICommand command)
{
///write the code for popup 1///
}
private void OKBUTNCLICK(IUICommand command)
{
//write the code for popup 2//
}