예제 #1
0
 protected override void OnActivated(IActivatedEventArgs args)
 {
     if (args.Kind == ActivationKind.ToastNotification)
     {
         ToastNotificationActivatedEventArgs eventArgs = args as ToastNotificationActivatedEventArgs;
         WwwFormUrlDecoder query = new WwwFormUrlDecoder(eventArgs.Argument);
         context.SendMessageAsync(query[0].Value, eventArgs.UserInput["replyTextBox"].ToString(), query[1].Value == "1");
     }
 }
예제 #2
0
 private void sendiMsgBtn_Click(object sender, RoutedEventArgs e)
 {
     context.SendMessageAsync(addressTextBox.Text, textTextBox.Text, false);
 }