private void ShowIncubatorSelection_Click(object sender, RoutedEventArgs e) { IncubatorSelectionOverlayControl incubatorControl = new IncubatorSelectionOverlayControl(); incubatorControl.IncubatorSelected += (incubator) => { IncubateEggCommand?.Execute(incubator); }; incubatorControl.Show(); }
private void ShowIncubatorSelection_Click(object sender, RoutedEventArgs e) { // TODO: Enable this path of activation incubator via ItemsUseOnPokemonPage IncubatorSelectionOverlayControl incubatorControl = new IncubatorSelectionOverlayControl(); incubatorControl.Show(); }
private void ShowIncubatorSelection_Click(object sender, RoutedEventArgs e) { IncubatorSelectionOverlayControl incubatorControl = new IncubatorSelectionOverlayControl(); incubatorControl.IncubatorSelected += IncubatorControl_IncubatorSelected; incubatorControl.Show(); }