protected virtual void PageLoaded() { ActionInLoad(); if (Appbar != null) return; Appbar = GetService<IApplicationBarService>(); Appbar.AddButton(AppResources.Check, "/Assets/AppBar/check.png", SaveClick); Appbar.AddButton(AppResources.Cancel, "/Assets/AppBar/cancel.png", CancelClick); }
private void PageLoaded() { if (_isWasAddTour) // при добавлении новго турнира прокручиваем список в конец { _isWasAddTour = false; CheckYet(); OnScrollIntoView(); } if (_isVisibleAppBar) { if (_appbarService != null) return; _appbarService = GetService<IApplicationBarService>(); _appbarService.AddButton(AppResources.Add, PathAddButton, add_Click); } }
protected virtual void PageLoaded() { if (_appbarService != null) return; _appbarService = GetService<IApplicationBarService>(); _appbarService.Hide(); _appbarService.AddButton(AppResources.Add, AddButton, AddClick); }