C# Class PKHeX.Form1

Inheritance: System.Windows.Forms.Form
ファイルを表示 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_oe property

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

CB_BoxSelect public_oe property

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

CB_GameOrigin public_oe property

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

CB_HeldItem public_oe property

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

CB_MetLocation public_oe property

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

CB_Move1 public_oe property

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

CB_Nature public_oe property

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

CB_Species public_oe property

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

CHK_IsEgg public_oe property

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

GB_OT public_oe property

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

GB_nOT public_oe property

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

HaX public_oe static_oe property

public static bool HaX
return bool

Label_Friendship public_oe property

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

Label_HatchCounter public_oe property

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

NatureTip public_oe property

public ToolTip NatureTip
return ToolTip

SaveGame public_oe property

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

Status public_oe static_oe property

public static string Status
return string

TB_Friendship public_oe property

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

TB_Nickname public_oe property

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

TB_OT public_oe property

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

TB_OTt2 public_oe property

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

Tip1 public_oe property

public ToolTip Tip1
return ToolTip

Tip2 public_oe property

public ToolTip Tip2
return ToolTip

Tip3 public_oe property

public ToolTip Tip3
return ToolTip

abilitylist public_oe static_oe property

public static string[] abilitylist
return string[]

balllist public_oe static_oe property

public static string[] balllist
return string[]

buff public_oe property

public byte[] buff
return byte[]

characteristics public_oe static_oe property

public static string[] characteristics
return string[]

colorizedbox public_oe static_oe property

public static int colorizedbox
return int

colorizedcolor public_oe static_oe property

public static Image colorizedcolor
return Image

colorizedslot public_oe static_oe property

public static int colorizedslot
return int

consoleregions public_oe static_oe property

public static string[] consoleregions
return string[]

curlanguage public_oe static_oe property

public static string curlanguage
return string

cyberSAV public_oe property

public byte[] cyberSAV
return byte[]

cybergadget public_oe property

public bool cybergadget
return bool

defaultControlText public_oe static_oe property

public static Color defaultControlText
return Color

defaultControlWhite public_oe static_oe property

public static Color defaultControlWhite
return Color

eggname public_oe static_oe property

public static string eggname
return string

encountertypelist public_oe static_oe property

public static string[] encountertypelist
return string[]

forms public_oe static_oe property

public static string[] forms
return string[]

gamelanguages public_oe static_oe property

public static string[] gamelanguages
return string[]

gamelist public_oe static_oe property

public static string[] gamelist
return string[]

gendersymbols public_oe static_oe property

public static string[] gendersymbols
return string[]

genloc public_oe static_oe property

public static string[] genloc
return string[]

init public_oe property

public bool init
return bool

itemlist public_oe static_oe property

public static string[] itemlist
return string[]

itempouch public_oe static_oe property

public static string[] itempouch
return string[]

lang_val public_oe static_oe property

public static string[] lang_val
return string[]

largeWidth public_oe static_oe property

public static int largeWidth
return int

main_langlist public_oe static_oe property

public static string[] main_langlist
return string[]

memories public_oe static_oe property

public static string[] memories
return string[]

metBW2_00000 public_oe static_oe property

public static string[] metBW2_00000
return string[]

metBW2_30000 public_oe static_oe property

public static string[] metBW2_30000
return string[]

metBW2_40000 public_oe static_oe property

public static string[] metBW2_40000
return string[]

metBW2_60000 public_oe static_oe property

public static string[] metBW2_60000
return string[]

metHGSS_00000 public_oe static_oe property

public static string[] metHGSS_00000
return string[]

metHGSS_02000 public_oe static_oe property

public static string[] metHGSS_02000
return string[]

metHGSS_03000 public_oe static_oe property

public static string[] metHGSS_03000
return string[]

metXY_00000 public_oe static_oe property

public static string[] metXY_00000
return string[]

metXY_30000 public_oe static_oe property

public static string[] metXY_30000
return string[]

metXY_40000 public_oe static_oe property

public static string[] metXY_40000
return string[]

metXY_60000 public_oe static_oe property

public static string[] metXY_60000
return string[]

mixedHighlight public_oe static_oe property

public static Image mixedHighlight
return Image

movelist public_oe static_oe property

public static string[] movelist
return string[]

natures public_oe static_oe property

public static string[] natures
return string[]

origintrack public_oe static_oe property

public static string origintrack
return string

path3DS public_oe property

public string path3DS
return string

pathSDF public_oe property

public string pathSDF
return string

puffs public_oe static_oe property

public static string[] puffs
return string[]

ramsav public_oe static_oe property

public static byte[] ramsav
return byte[]

ramsavloaded public_oe static_oe property

public static bool ramsavloaded
return bool

savLoaded public_oe property

public bool savLoaded
return bool

savedited public_oe property

public bool savedited
return bool

savefile public_oe property

public byte[] savefile
return byte[]

savegame_oras public_oe property

public bool savegame_oras
return bool

savindex public_oe property

public int savindex
return int

specialChars public_oe static_oe property

public static bool specialChars
return bool

specieslist public_oe static_oe property

public static string[] specieslist
return string[]

trainingbags public_oe static_oe property

public static string[] trainingbags
return string[]

trainingstage public_oe static_oe property

public static string[] trainingstage
return string[]

types public_oe static_oe property

public static string[] types
return string[]

unicode public_oe static_oe property

public static bool unicode
return bool

wallpapernames public_oe static_oe property

public static string[] wallpapernames
return string[]