예제 #1
0
        private void TestSendButton_Clicked(object sender, EventArgs e)
        {
            TestSendButton.IsEnabled = false;

            _client.SendTestNotificationToUserCompleted += ClientSendTestNotificationToUserCompleted;
            _client.SendTestNotificationToUserAsync(GlobalData.loginData);

            while (TestDone == -1)
            {
                continue;
            }


            TestSendLayout.Children.Remove(TestSendFrame);
            TestSendLayout.Children.Add(LabelFrame);

            Device.BeginInvokeOnMainThread(() =>
            {
                this.Content = TestSendLayout;
            });
        }