C# Class CadEditor.BigBlockEdit

Inheritance: System.Windows.Forms.Form
Exibir arquivo Open project: spiiin/CadEditor Class Usage Examples

Protected Properties

Property Type Description
SMALL_BLOCKS_COUNT int
bigBlockIndexes BigBlock[]
curActiveBlock int
curHierarchyLevel int
curPallete int
curPart int
curSmallBlockNo int
curTileset int
curVideo int
curViewType MapViewType
dirty bool
formMain FormMain
readOnly bool

Public Methods

Method Description
BigBlockEdit ( ) : System
setFormMain ( FormMain f ) : void

Protected Methods

Method Description
BigBlockEdit_FormClosing ( object sender, FormClosingEventArgs e ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

btClear_Click ( object sender, EventArgs e ) : void
btExport_Click ( object sender, EventArgs e ) : void
btImport_Click ( object sender, EventArgs e ) : void
btSave_Click ( object sender, EventArgs e ) : void
buttonObjClick ( Object button, EventArgs e ) : void
exportBlocks ( ) : void
initControls ( ) : void
mapScreen_MouseClick ( object sender, MouseEventArgs e ) : void
mapScreen_MouseLeave ( object sender, EventArgs e ) : void
mapScreen_MouseMove ( object sender, MouseEventArgs e ) : void
mapScreen_Paint ( object sender, PaintEventArgs e ) : void
reloadBlocksPanel ( ) : void
reloadLevel ( bool reloadBigBlocks = true ) : void
saveToFile ( ) : bool
setBigBlocksIndexes ( ) : void
setSmallBlocks ( ) : void
updateSaveVisibility ( ) : void

Private Methods

Method Description
BigBlockEdit_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

cbLevelPair_SelectedIndexChanged ( object sender, EventArgs e ) : void
getBlockHeight ( ) : int
getBlockWidth ( ) : int
returnCbLevelIndexes ( ) : void

Method Details

BigBlockEdit() public method

public BigBlockEdit ( ) : System
return System

BigBlockEdit_FormClosing() protected method

protected BigBlockEdit_FormClosing ( object sender, FormClosingEventArgs e ) : void
sender object
e System.Windows.Forms.FormClosingEventArgs
return void

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

btClear_Click() protected method

protected btClear_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btExport_Click() protected method

protected btExport_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btImport_Click() protected method

protected btImport_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btSave_Click() protected method

protected btSave_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

buttonObjClick() protected method

protected buttonObjClick ( Object button, EventArgs e ) : void
button Object
e System.EventArgs
return void

exportBlocks() protected method

protected exportBlocks ( ) : void
return void

initControls() protected method

protected initControls ( ) : void
return void

mapScreen_MouseClick() protected method

protected mapScreen_MouseClick ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

mapScreen_MouseLeave() protected method

protected mapScreen_MouseLeave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

mapScreen_MouseMove() protected method

protected mapScreen_MouseMove ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

mapScreen_Paint() protected method

protected mapScreen_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
return void

reloadBlocksPanel() protected method

protected reloadBlocksPanel ( ) : void
return void

reloadLevel() protected method

protected reloadLevel ( bool reloadBigBlocks = true ) : void
reloadBigBlocks bool
return void

saveToFile() protected method

protected saveToFile ( ) : bool
return bool

setBigBlocksIndexes() protected method

protected setBigBlocksIndexes ( ) : void
return void

setFormMain() public method

public setFormMain ( FormMain f ) : void
f FormMain
return void

setSmallBlocks() protected method

protected setSmallBlocks ( ) : void
return void

updateSaveVisibility() protected method

protected updateSaveVisibility ( ) : void
return void

Property Details

SMALL_BLOCKS_COUNT protected_oe property

protected int SMALL_BLOCKS_COUNT
return int

bigBlockIndexes protected_oe property

protected BigBlock[] bigBlockIndexes
return BigBlock[]

curActiveBlock protected_oe property

protected int curActiveBlock
return int

curHierarchyLevel protected_oe property

protected int curHierarchyLevel
return int

curPallete protected_oe property

protected int curPallete
return int

curPart protected_oe property

protected int curPart
return int

curSmallBlockNo protected_oe property

protected int curSmallBlockNo
return int

curTileset protected_oe property

protected int curTileset
return int

curVideo protected_oe property

protected int curVideo
return int

curViewType protected_oe property

protected MapViewType curViewType
return MapViewType

dirty protected_oe property

protected bool dirty
return bool

formMain protected_oe property

protected FormMain,CadEditor formMain
return FormMain

readOnly protected_oe property

protected bool readOnly
return bool