C# Class PKHeX.Form1

Inheritance: System.Windows.Forms.Form
Show file Open project: gnmmarechal/PKHeX_gnmmarechal Class Usage Examples

Public Properties

Property Type Description
CB_Ball System.Windows.Forms.ComboBox
CB_BoxSelect System.Windows.Forms.ComboBox
CB_GameOrigin System.Windows.Forms.ComboBox
CB_HeldItem System.Windows.Forms.ComboBox
CB_MetLocation System.Windows.Forms.ComboBox
CB_Move1 System.Windows.Forms.ComboBox
CB_Nature System.Windows.Forms.ComboBox
CB_Species System.Windows.Forms.ComboBox
CHK_IsEgg System.Windows.Forms.CheckBox
GB_OT System.Windows.Forms.GroupBox
GB_nOT System.Windows.Forms.GroupBox
HaX bool
Label_Friendship System.Windows.Forms.Label
Label_HatchCounter System.Windows.Forms.Label
NatureTip ToolTip
SaveGame PKX.Structures.SaveGame
Status string
TB_Friendship System.Windows.Forms.MaskedTextBox
TB_Nickname System.Windows.Forms.TextBox
TB_OT System.Windows.Forms.TextBox
TB_OTt2 System.Windows.Forms.TextBox
Tip1 ToolTip
Tip2 ToolTip
Tip3 ToolTip
abilitylist string[]
balllist string[]
buff byte[]
characteristics string[]
colorizedbox int
colorizedcolor Image
colorizedslot int
consoleregions string[]
curlanguage string
cyberSAV byte[]
cybergadget bool
defaultControlText Color
defaultControlWhite Color
eggname string
encountertypelist string[]
forms string[]
gamelanguages string[]
gamelist string[]
gendersymbols string[]
genloc string[]
init bool
itemlist string[]
itempouch string[]
lang_val string[]
largeWidth int
main_langlist string[]
memories string[]
metBW2_00000 string[]
metBW2_30000 string[]
metBW2_40000 string[]
metBW2_60000 string[]
metHGSS_00000 string[]
metHGSS_02000 string[]
metHGSS_03000 string[]
metXY_00000 string[]
metXY_30000 string[]
metXY_40000 string[]
metXY_60000 string[]
mixedHighlight Image
movelist string[]
natures string[]
origintrack string
path3DS string
pathSDF string
puffs string[]
ramsav byte[]
ramsavloaded bool
savLoaded bool
savedited bool
savefile byte[]
savegame_oras bool
savindex int
specialChars bool
specieslist string[]
trainingbags string[]
trainingstage string[]
types string[]
unicode bool
wallpapernames string[]

Public Methods

Method Description
Form1 ( ) : System
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

setAbilityList ( MaskedTextBox tb_abil, int species, ComboBox cb_abil, ComboBox cb_forme ) : void
setCountrySubRegion ( ComboBox CB, string type ) : void
setForms ( int species, ComboBox cb, Label l = null ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
B_JPEG_Click ( object sender, EventArgs e ) : void
B_OUTHallofFame_Click ( object sender, EventArgs e ) : void
B_OUTPasserby_Click ( object sender, EventArgs e ) : void
B_OpenBerryField_Click ( object sender, EventArgs e ) : void
B_OpenBoxLayout_Click ( object sender, EventArgs e ) : void
B_OpenEventFlags_Click ( object sender, EventArgs e ) : void
B_OpenItemPouch_Click ( object sender, EventArgs e ) : void
B_OpenOPowers_Click ( object sender, EventArgs e ) : void
B_OpenPokedex_Click ( object sender, EventArgs e ) : void
B_OpenPokepuffs_Click ( object sender, EventArgs e ) : void
B_OpenSecretBase_Click ( object sender, EventArgs e ) : void
B_OpenSuperTraining_Click ( object sender, EventArgs e ) : void
B_OpenTrainerInfo_Click ( object sender, EventArgs e ) : void
B_OpenWondercards_Click ( object sender, EventArgs e ) : void
B_SaveBoxBin_Click ( object sender, EventArgs e ) : void
CAL_MetDate_ValueChanged ( object sender, EventArgs e ) : void
CHK_AsEgg_CheckedChanged ( object sender, EventArgs e ) : void
Form1_Load ( object sender, EventArgs e ) : void
GB_EggConditions_Enter ( object sender, EventArgs e ) : void
InitializeFields ( ) : void
InitializeLanguage ( ) : void
InitializeStrings ( ) : void
Label_ATK_Click ( object sender, EventArgs e ) : void
Label_DEF_Click ( object sender, EventArgs e ) : void
Label_HP_Click ( object sender, EventArgs e ) : void
Label_IsShiny_Click ( object sender, EventArgs e ) : void
Label_PID_Click ( object sender, EventArgs e ) : void
Label_SPA_Click ( object sender, EventArgs e ) : void
Label_SPD_Click ( object sender, EventArgs e ) : void
Label_SPE_Click ( object sender, EventArgs e ) : void
Menu_Tools_Click ( object sender, EventArgs e ) : void
TB_TID_MaskInputRejected ( object sender, MaskInputRejectedEventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button4_Click ( object sender, EventArgs e ) : void
changeMainLanguage ( object sender, EventArgs e ) : void
clickBoxLeft ( object sender, EventArgs e ) : void
clickBoxRight ( object sender, EventArgs e ) : void
clickCT ( object sender, EventArgs e ) : void
clickClone ( object sender, EventArgs e ) : void
clickDelete ( object sender, EventArgs e ) : void
clickExportSAV ( object sender, EventArgs e ) : void
clickFriendship ( object sender, EventArgs e ) : void
clickGT ( object sender, EventArgs e ) : void
clickGender ( object sender, EventArgs e ) : void
clickMarking ( object sender, EventArgs e ) : void
clickMoves ( object sender, EventArgs e ) : void
clickOT ( object sender, EventArgs e ) : void
clickOpenTempFolder ( object sender, EventArgs e ) : void
clickPPUps ( object sender, EventArgs e ) : void
clickQR ( object sender, EventArgs e ) : void
clickSaveFileName ( object sender, EventArgs e ) : void
clickSet ( object sender, EventArgs e ) : void
clickSlot ( object sender, EventArgs e ) : void
clickSwitchSAV ( object sender, EventArgs e ) : void
clickTRGender ( object sender, EventArgs e ) : void
clickVerifyCHK ( object sender, EventArgs e ) : void
clickVerifySHA ( object sender, EventArgs e ) : void
clickView ( object sender, EventArgs e ) : void
dragoutDrop ( object sender, DragEventArgs e ) : void
dragoutHover ( object sender, EventArgs e ) : void
dragoutLeave ( object sender, EventArgs e ) : void
dragout_DragOver ( object sender, DragEventArgs e ) : void
dragout_MouseDown ( object sender, MouseEventArgs e ) : void
eggToolStripMenuItem_Click ( object sender, EventArgs e ) : void
getBox ( object sender, EventArgs e ) : void
getNatureModification ( object sender, EventArgs e ) : void
getPKXOffset ( int slot ) : int
getPictureBox ( int slot ) : PictureBox
getQuickFiller ( PictureBox pb, byte dslotdata = null ) : void
getSAVOffsets ( bool &oras ) : void
getShowdownSet ( ) : void
getSlot ( object sender ) : int
getSlotColor ( int slot, Image color ) : void
getSlotFiller ( int offset, PictureBox pb ) : void
getTSV ( object sender, EventArgs e ) : void
loadBoxesFromDB ( string path ) : void
loadToolStripMenuItem_Click ( object sender, EventArgs e ) : void
locationFixerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
mainMenuAbout ( object sender, EventArgs e ) : void
mainMenuBoxDumpLoad ( object sender, EventArgs e ) : void
mainMenuBoxReport ( object sender, EventArgs e ) : void
mainMenuCodeGen ( object sender, EventArgs e ) : void
mainMenuExit ( object sender, EventArgs e ) : void
mainMenuOpen ( object sender, EventArgs e ) : void
mainMenuSave ( object sender, EventArgs e ) : void
mainMenuUnicode ( object sender, EventArgs e ) : void
mainMenuWiden ( object sender, EventArgs e ) : void
nonShinyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
open1MB ( byte input, string path, string GameType, bool oras ) : void
openBulbapediaToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openFile ( byte input, string path, string ext ) : void
openHistory ( object sender, EventArgs e ) : void
openMAIN ( byte input, string path, string GameType, bool oras, bool ram = false ) : void
openQuick ( string path ) : void
openRibbons ( object sender, EventArgs e ) : void
openSave ( bool oras ) : void
openXOR ( byte input, string path ) : bool
pbBoxSlot_DragDrop ( object sender, DragEventArgs e ) : void
pbBoxSlot_DragEnter ( object sender, DragEventArgs e ) : void
pbBoxSlot_MouseDown ( object sender, MouseEventArgs e ) : void
populateFields ( byte data ) : void
preparepkx ( bool click = true ) : byte[]
randomizeOTToolStripMenuItem_Click ( object sender, EventArgs e ) : void
removedropCB ( object sender, KeyEventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
setBoxNames ( ) : void
setIsShiny ( ) : void
setMarkings ( ) : void
setPKXBoxes ( ) : void
setParty ( ) : byte
setPokedex ( byte pkxdata ) : void
setSAVLabel ( ) : void
shinyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
switchDaycare ( object sender, EventArgs e ) : void
tabMain_DragDrop ( object sender, DragEventArgs e ) : void
tabMain_DragEnter ( object sender, DragEventArgs e ) : void
update255_MTB ( object sender, EventArgs e ) : void
update255_TB ( object sender, EventArgs e ) : void
updateCountry ( object sender, EventArgs e ) : void
updateEVs ( object sender, EventArgs e ) : void
updateEXPLevel ( object sender, EventArgs e ) : void
updateExtraByteIndex ( object sender, EventArgs e ) : void
updateExtraByteValue ( object sender, EventArgs e ) : void
updateForm ( object sender, EventArgs e ) : void
updateHPType ( object sender, EventArgs e ) : void
updateHackedStats ( object sender, EventArgs e ) : void
updateIVs ( object sender, EventArgs e ) : void
updateIsEgg ( object sender, EventArgs e ) : void
updateMetAsEgg ( object sender, EventArgs e ) : void
updateNickname ( object sender, EventArgs e ) : void
updateNicknameClick ( object sender, MouseEventArgs e ) : void
updateNotOT ( object sender, EventArgs e ) : void
updateOriginGame ( object sender, EventArgs e ) : void
updatePKRSCured ( object sender, EventArgs e ) : void
updatePKRSInfected ( object sender, EventArgs e ) : void
updatePKRSdays ( object sender, EventArgs e ) : void
updatePKRSstrain ( object sender, EventArgs e ) : void
updatePP ( object sender, EventArgs e ) : void
updateRandomEC ( object sender, EventArgs e ) : void
updateRandomEVs ( object sender, EventArgs e ) : void
updateRandomIVs ( object sender, EventArgs e ) : void
updateRandomPID ( object sender, EventArgs e ) : void
updateShinyPID ( object sender, EventArgs e ) : void
updateSpecies ( object sender, EventArgs e ) : void
updateStats ( ) : void
update_ID ( object sender, EventArgs e ) : void
validateComboBox ( object sender, CancelEventArgs e ) : void
validateComboBox2 ( object sender, EventArgs e ) : void
verifiedPKX ( ) : bool

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Form1() public method

public Form1 ( ) : System
return System

InitializeComponent() public method

Required method for Designer support - do not modify the contents of this method with the code editor.
public InitializeComponent ( ) : void
return void

setAbilityList() public method

public setAbilityList ( MaskedTextBox tb_abil, int species, ComboBox cb_abil, ComboBox cb_forme ) : void
tb_abil MaskedTextBox
species int
cb_abil ComboBox
cb_forme ComboBox
return void

setCountrySubRegion() public method

public setCountrySubRegion ( ComboBox CB, string type ) : void
CB ComboBox
type string
return void

setForms() public method

public setForms ( int species, ComboBox cb, Label l = null ) : void
species int
cb ComboBox
l Label
return void

Property Details

CB_Ball public property

public System.Windows.Forms.ComboBox CB_Ball
return System.Windows.Forms.ComboBox

CB_BoxSelect public property

public System.Windows.Forms.ComboBox CB_BoxSelect
return System.Windows.Forms.ComboBox

CB_GameOrigin public property

public System.Windows.Forms.ComboBox CB_GameOrigin
return System.Windows.Forms.ComboBox

CB_HeldItem public property

public System.Windows.Forms.ComboBox CB_HeldItem
return System.Windows.Forms.ComboBox

CB_MetLocation public property

public System.Windows.Forms.ComboBox CB_MetLocation
return System.Windows.Forms.ComboBox

CB_Move1 public property

public System.Windows.Forms.ComboBox CB_Move1
return System.Windows.Forms.ComboBox

CB_Nature public property

public System.Windows.Forms.ComboBox CB_Nature
return System.Windows.Forms.ComboBox

CB_Species public property

public System.Windows.Forms.ComboBox CB_Species
return System.Windows.Forms.ComboBox

CHK_IsEgg public property

public System.Windows.Forms.CheckBox CHK_IsEgg
return System.Windows.Forms.CheckBox

GB_OT public property

public System.Windows.Forms.GroupBox GB_OT
return System.Windows.Forms.GroupBox

GB_nOT public property

public System.Windows.Forms.GroupBox GB_nOT
return System.Windows.Forms.GroupBox

HaX public static property

public static bool HaX
return bool

Label_Friendship public property

public System.Windows.Forms.Label Label_Friendship
return System.Windows.Forms.Label

Label_HatchCounter public property

public System.Windows.Forms.Label Label_HatchCounter
return System.Windows.Forms.Label

NatureTip public property

public ToolTip NatureTip
return ToolTip

SaveGame public property

public PKX.Structures.SaveGame SaveGame
return PKX.Structures.SaveGame

Status public static property

public static string Status
return string

TB_Friendship public property

public System.Windows.Forms.MaskedTextBox TB_Friendship
return System.Windows.Forms.MaskedTextBox

TB_Nickname public property

public System.Windows.Forms.TextBox TB_Nickname
return System.Windows.Forms.TextBox

TB_OT public property

public System.Windows.Forms.TextBox TB_OT
return System.Windows.Forms.TextBox

TB_OTt2 public property

public System.Windows.Forms.TextBox TB_OTt2
return System.Windows.Forms.TextBox

Tip1 public property

public ToolTip Tip1
return ToolTip

Tip2 public property

public ToolTip Tip2
return ToolTip

Tip3 public property

public ToolTip Tip3
return ToolTip

abilitylist public static property

public static string[] abilitylist
return string[]

balllist public static property

public static string[] balllist
return string[]

buff public property

public byte[] buff
return byte[]

characteristics public static property

public static string[] characteristics
return string[]

colorizedbox public static property

public static int colorizedbox
return int

colorizedcolor public static property

public static Image colorizedcolor
return Image

colorizedslot public static property

public static int colorizedslot
return int

consoleregions public static property

public static string[] consoleregions
return string[]

curlanguage public static property

public static string curlanguage
return string

cyberSAV public property

public byte[] cyberSAV
return byte[]

cybergadget public property

public bool cybergadget
return bool

defaultControlText public static property

public static Color defaultControlText
return Color

defaultControlWhite public static property

public static Color defaultControlWhite
return Color

eggname public static property

public static string eggname
return string

encountertypelist public static property

public static string[] encountertypelist
return string[]

forms public static property

public static string[] forms
return string[]

gamelanguages public static property

public static string[] gamelanguages
return string[]

gamelist public static property

public static string[] gamelist
return string[]

gendersymbols public static property

public static string[] gendersymbols
return string[]

genloc public static property

public static string[] genloc
return string[]

init public property

public bool init
return bool

itemlist public static property

public static string[] itemlist
return string[]

itempouch public static property

public static string[] itempouch
return string[]

lang_val public static property

public static string[] lang_val
return string[]

largeWidth public static property

public static int largeWidth
return int

main_langlist public static property

public static string[] main_langlist
return string[]

memories public static property

public static string[] memories
return string[]

metBW2_00000 public static property

public static string[] metBW2_00000
return string[]

metBW2_30000 public static property

public static string[] metBW2_30000
return string[]

metBW2_40000 public static property

public static string[] metBW2_40000
return string[]

metBW2_60000 public static property

public static string[] metBW2_60000
return string[]

metHGSS_00000 public static property

public static string[] metHGSS_00000
return string[]

metHGSS_02000 public static property

public static string[] metHGSS_02000
return string[]

metHGSS_03000 public static property

public static string[] metHGSS_03000
return string[]

metXY_00000 public static property

public static string[] metXY_00000
return string[]

metXY_30000 public static property

public static string[] metXY_30000
return string[]

metXY_40000 public static property

public static string[] metXY_40000
return string[]

metXY_60000 public static property

public static string[] metXY_60000
return string[]

mixedHighlight public static property

public static Image mixedHighlight
return Image

movelist public static property

public static string[] movelist
return string[]

natures public static property

public static string[] natures
return string[]

origintrack public static property

public static string origintrack
return string

path3DS public property

public string path3DS
return string

pathSDF public property

public string pathSDF
return string

puffs public static property

public static string[] puffs
return string[]

ramsav public static property

public static byte[] ramsav
return byte[]

ramsavloaded public static property

public static bool ramsavloaded
return bool

savLoaded public property

public bool savLoaded
return bool

savedited public property

public bool savedited
return bool

savefile public property

public byte[] savefile
return byte[]

savegame_oras public property

public bool savegame_oras
return bool

savindex public property

public int savindex
return int

specialChars public static property

public static bool specialChars
return bool

specieslist public static property

public static string[] specieslist
return string[]

trainingbags public static property

public static string[] trainingbags
return string[]

trainingstage public static property

public static string[] trainingstage
return string[]

types public static property

public static string[] types
return string[]

unicode public static property

public static bool unicode
return bool

wallpapernames public static property

public static string[] wallpapernames
return string[]