コード例 #1
0
        public void SetFontSizeControls()
        {
            lblName.FontSize        = AppStatics.GetFontSizeMedium();
            lblEmail.FontSize       = AppStatics.GetFontSizeMedium();
            lblMobNum.FontSize      = AppStatics.GetFontSizeMedium();
            lblPass.FontSize        = AppStatics.GetFontSizeMedium();
            lblConfirmPass.FontSize = AppStatics.GetFontSizeMedium();
            lblFirstName.FontSize   = AppStatics.GetFontSizeMedium();
            lblLastName.FontSize    = AppStatics.GetFontSizeMedium();

            txtbxName.FontSize        = AppStatics.GetFontSizeMedium();
            txtbxEmail.FontSize       = AppStatics.GetFontSizeMedium();
            txtbxMobNum.FontSize      = AppStatics.GetFontSizeMedium();
            txtbxPass.FontSize        = AppStatics.GetFontSizeMedium();
            txtbxConfirmPass.FontSize = AppStatics.GetFontSizeMedium();
            txtbxFirstName.FontSize   = AppStatics.GetFontSizeMedium();
            txtbxLastName.FontSize    = AppStatics.GetFontSizeMedium();

            lblLogin.FontSize            = AppStatics.GetFontSizeSmall();
            lblAlreadyHaveAccnt.FontSize = AppStatics.GetFontSizeSmall();

            lblAgreeTermCondition.FontSize     = AppStatics.GetFontSizeSmall();
            lblAgreeTermConditionLink.FontSize = AppStatics.GetFontSizeSmall();

            btnRegistration.FontSize = AppStatics.GetFontSizeMedium();
        }
コード例 #2
0
        public void SetFontSizeControls()
        {
            lblFullName.FontSize = AppStatics.GetFontSizeMedium();
            lblEmail.FontSize    = AppStatics.GetFontSizeMedium();
            lblSubject.FontSize  = AppStatics.GetFontSizeMedium();
            lblMessage.FontSize  = AppStatics.GetFontSizeMedium();

            txtbxFullName.FontSize      = AppStatics.GetFontSizeMedium();
            txtbxEmail.FontSize         = AppStatics.GetFontSizeMedium();
            txtbxSubject.FontSize       = AppStatics.GetFontSizeMedium();
            txtbxMessage.FontSize       = AppStatics.GetFontSizeMedium();
            MessageTextOverlap.FontSize = AppStatics.GetFontSizeMedium();

            btnSubmit.FontSize = AppStatics.GetFontSizeMedium();
            lblFeedBackDescription.FontSize = AppStatics.GetFontSizeSmall();
        }
コード例 #3
0
        public async Task CallWebserviceFAQ()
        {
            if (AppStatics.CheckInternetConnection())
            {
                try
                {
                    RootObjectFAQ response = await CallWebservice.GetResponse_Get <RootObjectFAQ>(WebServiceURL.Url_FAQ);

                    if (response != null)
                    {
                        if (response._resultflag == "1")
                        {
                            for (int i = 0; i < response.faqlist.Count; i++)
                            {
                                var objFAQ = new Faqlist();
                                objFAQ.TapId           = i.ToString();
                                objFAQ.expand_collapse = "faq_plus.png";
                                objFAQ.ObjIsVisible    = false;
                                objFAQ.title           = response.faqlist[i].title;
                                objFAQ.content         = response.faqlist[i].content;
                                objFAQ.TitleFontSize   = AppStatics.GetFontSizeMedium();
                                objFAQ.DetailFontSize  = AppStatics.GetFontSizeSmall();
                                ListFAQ.Add(objFAQ);
                            }
                            lstFAQ.ItemsSource = ListFAQ;
                            AppStatics.Loading(loading, false);
                        }
                    }
                    else
                    {
                        AppStatics.Loading(loading, false);
                        await DisplayAlert(AppResources.AppResources.LError, AppResources.AppResources.LWebserverNotResponding, AppResources.AppResources.LOk);
                    }
                }
                catch (Exception e)
                {
                    AppStatics.Loading(loading, false);
                    await DisplayAlert(AppResources.AppResources.LError, AppResources.AppResources.LSomethingWentWrong, AppResources.AppResources.LOk);
                }
            }
            else
            {
                AppStatics.Loading(loading, false);
                await DisplayAlert(AppResources.AppResources.LError, AppResources.AppResources.LNoInternetConnection, AppResources.AppResources.LOk);
            }
        }
コード例 #4
0
        public void SetFontSizeControls()
        {
            lblEmail.FontSize      = AppStatics.GetFontSizeMedium();
            lblPassword.FontSize   = AppStatics.GetFontSizeMedium();
            lblForgotPass.FontSize = AppStatics.GetFontSizeMedium();

            txtbxEmail.FontSize      = AppStatics.GetFontSizeMedium();
            txtbxPassword.FontSize   = AppStatics.GetFontSizeMedium();
            txtbxForgotPass.FontSize = AppStatics.GetFontSizeMedium();

            lblRegistration.FontSize   = AppStatics.GetFontSizeSmall();
            lblDontHaveAccnt.FontSize  = AppStatics.GetFontSizeSmall();
            LblForgotPassword.FontSize = AppStatics.GetFontSizeSmall();

            lblForgotPasTitlePage.FontSize = AppStatics.GetFontSizeTitle();

            btnLogin.FontSize            = AppStatics.GetFontSizeMedium();
            btnForgotPass.FontSize       = AppStatics.GetFontSizeMedium();
            btnForgotPassCancel.FontSize = AppStatics.GetFontSizeMedium();

            txtbxForgotPass.Placeholder = "Username or email address";
        }
コード例 #5
0
 public void SetFontSizeControls()
 {
     lblLogIn_Out.FontSize       = AppStatics.GetFontSizeTitle();
     lblUserName.FontSize        = AppStatics.GetFontSizeMedium();
     lblUserNameEmailId.FontSize = AppStatics.GetFontSizeSmall();
 }