AnyPlace.MainPage.menuitem_Click C# (CSharp) Method

menuitem_Click() private method

private menuitem_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        async void menuitem_Click(object sender, EventArgs e)
        {
            isDownloading = true;
            buildLoaded = false;

            loading.Visibility = Visibility.Visible;
            loading.IsIndeterminate = true;

            clear();
            // download staff and show them to the map
            var fsdf = await DownloadPoisBuildStaff(_selectedBuild);
            ReadAllBuildingFloorsFromIsolatedStorage(_selectedBuild);
            ReadPoisByBuildingFromIsolatedStorage(_selectedBuild);

            addBuildingsToMap(_selectedBuild);
            buildLoaded = true;
            loadBuidingToMap(_selectedBuild);

            loading.Visibility = Visibility.Collapsed;
            loading.IsIndeterminate = false;

            createAppBarMenuItem();
            isDownloading = false;

            _searchBuilding = true;
        }
MainPage