mirror of
https://github.com/AdAstra-LD/DS-Pokemon-Rom-Editor.git
synced 2026-05-10 14:11:04 -05:00
36 lines
1.2 KiB
C#
36 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Controls.Primitives;
|
|
using System.Windows.Forms;
|
|
using static DSPRE.RomInfo;
|
|
|
|
namespace DSPRE {
|
|
public partial class PokemonEditor : Form {
|
|
public PokemonEditor(string[] itemNames, string[] abilityNames, string[] moveNames) {
|
|
InitializeComponent();
|
|
IsMdiContainer = true;
|
|
|
|
PersonalDataEditor personalEditor = new PersonalDataEditor(itemNames, abilityNames, evoPage);
|
|
personalEditor.TopLevel = false;
|
|
personalEditor.Show();
|
|
personalPage.Controls.Add(personalEditor);
|
|
|
|
LearnsetEditor learnsetEditor = new LearnsetEditor(moveNames, evoPage);
|
|
learnsetEditor.TopLevel = false;
|
|
learnsetEditor.Show();
|
|
learnsetPage.Controls.Add(learnsetEditor);
|
|
|
|
EvolutionsEditor evoEditor = new EvolutionsEditor(evoPage);
|
|
evoEditor.TopLevel = false;
|
|
evoEditor.Show();
|
|
evoPage.Controls.Add(evoEditor);
|
|
}
|
|
}
|
|
}
|