//helper for when a user taps an image to view in more detail on the classification page private void SelectImage(object sender, EventArgs e) { var imageSender = (Image)sender; int arraySpot = imageToSpot[imageSender]; ClassificationPage page = new ClassificationPage(previousImages); page.Setup(arraySpot); App.SwitchTo(page); }
private void Classify(object sender, EventArgs e) { if (serverResponses.Count > 0) { ClassificationPage page = new ClassificationPage(serverResponses); counter = 0; page.Setup(); App.SwitchTo(page); } }
private void ClassifyThese(object sender, EventArgs e) { if (serverResponses.Count > 0) { imageCount = 0; classifyButton.Text = "Classify " + imageCount + " Photos"; ClassificationPage page = new ClassificationPage(serverResponses); page.Setup(); App.SwitchTo(page); } }