Beispiel #1
0
        private async void FeedBack_Click(object sender, RoutedEventArgs e)
        {
            var userInfo = await JyUserInfoManager.QuickLogin(Constants.Appkey);

            if (userInfo.isLoginSuccess)
            {
                _userInfo = userInfo;
                _jyUserFeedbackSdkManager.ShowFeedBack(Root_Grid, false, Constants.Appkey, _userInfo.U_Key);
            }
        }
Beispiel #2
0
        private async void FastLoginButton_Click(object sender, RoutedEventArgs e)
        {
            var userInfo = await JyUserInfoManager.QuickLogin(Constants.Appkey);

            if (userInfo.isLoginSuccess)
            {
                _userInfo = userInfo;
                await new MessageDialog(Constants.FastLoginSuccessMessage).ShowAsync();
            }
            else
            {
                await new MessageDialog(Constants.FastLoginFailedMessage).ShowAsync();
            }
        }