PKHeX/PKHeX.Avalonia/Views/Subforms/SAVPokeBlockORASView.axaml.cs
montanon 7f44bc2e1e Add Gen 5-6 subform dialogs
17 generation-specific subforms:

Gen 5: Misc5, Pokedex5, DLC5, UnityTower5, CGearImage5
Gen 6: Trainer6, SecretBase6, PokedexXY, PokedexORAS,
       HallOfFame6, SuperTrain6, Link6, OPower6, Pokepuff6,
       BerryFieldXY, PokeBlockORAS, Roamer6
2026-03-18 15:32:35 -03:00

25 lines
570 B
C#

using Avalonia.Interactivity;
using PKHeX.Avalonia.ViewModels.Subforms;
namespace PKHeX.Avalonia.Views.Subforms;
public partial class SAVPokeBlockORASView : SubformWindow
{
public SAVPokeBlockORASView()
{
InitializeComponent();
}
private void OnOkClick(object? sender, RoutedEventArgs e)
{
if (DataContext is SAVPokeBlockORASViewModel vm)
vm.SaveCommand.Execute(null);
CloseWithResult(true);
}
private void OnCancelClick(object? sender, RoutedEventArgs e)
{
CloseWithResult(false);
}
}