Пример #1
0
        private async void OnSendButtonClicked(object sender, EventArgs e)
        {
            if (Contents.Text == "")
            {
                await App.Current.MainPage.DisplayAlert("", "내용을 입력해 주세요.", "OK");

                return;
            }

            NetProcess.SendQNS(Contents.Text);
            Contents.Text = "";
            await App.Current.MainPage.DisplayAlert("", "전송되었습니다.", "OK");
        }
Пример #2
0
        async void OnSendButtonClicked(object sender, EventArgs e)
        {
            if (contents.Text.Length == 0)
            {
                await DisplayAlert("", "Transfer complete..\n", "OK");

                return;
            }

            if (contents.Text == "blessnhs")
            {
                User.IsEnableScreenChat = true;
            }
            if (contents.Text == "blessnhs2")
            {
                User.Auto = true;
            }

            NetProcess.SendQNS(contents.Text);

            await DisplayAlert("", "Transfer complete..\n", "OK");

            contents.Text = "";
        }