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(); }
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(); }
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); } }
public async Task CallWebserviceWalkTourList() { if (AppStatics.CheckInternetConnection()) { try { RootObjectWalkTourList response = await CallWebservice.GetResponse_Get <RootObjectWalkTourList>(WebServiceURL.Url_walktourlst); if (response != null) { if (response._resultflag == "1") { foreach (var tourobj in response.Walktour) { tourobj.TitleFontSize = AppStatics.GetFontSizeMedium(); } lstWalkTour.ItemsSource = response.Walktour; _walktourList = response.Walktour; AppStatics.Loading(loading, false); foreach (var objwalktour in response.Walktour) { objwalktour.title = objwalktour.title.ToUpper(); objwalktour.EndColorGradient = new Xamarin.Forms.Color(0, 0, 0, 0.8); objwalktour.StartColorGradient = Xamarin.Forms.Color.Transparent; } } } 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); } }
public void SetFontSizeControls() { lblFullName.FontSize = AppStatics.GetFontSizeMedium(); lblEmail.FontSize = AppStatics.GetFontSizeMedium(); lblSubject.FontSize = AppStatics.GetFontSizeMedium(); lblMessage.FontSize = AppStatics.GetFontSizeMedium(); lblOfficeName.FontSize = AppStatics.GetFontSizeTitle(); lblOfficeAddress.FontSize = AppStatics.GetFontSizeMedium(); lblOfficeEmail.FontSize = AppStatics.GetFontSizeMedium(); lblOfficePhoneNumber.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(); }
public void routeCoversListBindData(int PlaceSelectedIndex) { int plcenumber = 1; for (int i = 0; i < _routeCovers.Count; i++) { _routeCovers[i].placeNumberRing = "route_scroller_nor.png"; _routeCovers[i].placeNumberTitle = plcenumber.ToString(); _routeCovers[i].SeparatorWidth = 35; _routeCovers[i].NumberFontSize = AppStatics.GetFontSizeMedium(); _routeCovers[i].SpacingBetweenNumber = 0; plcenumber++; } _routeCovers[PlaceSelectedIndex].placeNumberRing = "route_scroller_sel.png"; _routeCovers[_routeCovers.Count - 1].SeparatorWidth = 0; // lstPlaceNumber.ItemsSource = null; lstPlaceNumber.ItemsSource = _routeCovers; lstPlaceNumber.Render(); designchanges(); }
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"; }
public void SetFontSizeControls() { lblLogIn_Out.FontSize = AppStatics.GetFontSizeTitle(); lblUserName.FontSize = AppStatics.GetFontSizeMedium(); lblUserNameEmailId.FontSize = AppStatics.GetFontSizeSmall(); }
public void SetFontSizeControls() { lblNoRecord.FontSize = AppStatics.GetFontSizeMedium(); txtbxSearch.FontSize = AppStatics.GetFontSizeMedium(); }