コード例 #1
0
        // adds the names of the bugs to a list, for the labels (picture section)
        private async Task ForBugPics(int bugID)
        {
            var bug = await BugProcessor.LoadBug(bugID);

            bugNames.Add(bug.NameEn);
        }
コード例 #2
0
        // puts the bug names into the scroll block text
        private async Task PullBug(int bugID)
        {
            var bug = await BugProcessor.LoadBug(bugID);

            bugBlock.Content += $"\n {bug.NameEn.ToUpper()} ";
        }