Beispiel #1
0
        public MainPage()
        {
            this.InitializeComponent();

            if (account == null)
            {
                account = MessageAccount.Get(Guid.Parse("0CCC09A6-BB68-4155-9844-B690222E3E79")); // テスト用アカウント
            }
            list.ItemsSource = account.Threads;

            if (transfer is null)
            {
                transfer = new MessageTransfer(account);
            }

            var toastContent = new ToastContent()
            {
                Visual = new ToastVisual()
                {
                    BindingGeneric = new ToastBindingGeneric()
                    {
                        Children =
                        {
                            new AdaptiveText()
                            {
                                Text = "スレッド名"
                            },
                            new AdaptiveText()
                            {
                                Text = "メッセージの本文"
                            }
                        }
                    }
                }
            };
        }
Beispiel #2
0
 public MessageTransfer(MessageAccount account)
 {
     Init(account);
     Instance = this;
 }