C# Class Sharplike.Editlike.Main

Mostra file Open project: eropple/sharplike

Public Properties

Property Type Description
EntityProperties System.Windows.Forms.PropertyGrid
Map AbstractMap

Public Methods

Method Description
EntityList_ItemDrag ( object sender, ItemDragEventArgs e ) : void
Main ( ) : System
Main_DragDrop ( object sender, DragEventArgs e ) : void
Main_DragEnter ( object sender, DragEventArgs e ) : void
Main_DragLeave ( object sender, EventArgs e ) : void
Main_DragOver ( object sender, DragEventArgs e ) : void
Main_FormClosed ( object sender, FormClosedEventArgs e ) : void
Main_Load ( object sender, EventArgs e ) : void
SelectedEntityType ( ) : EditorExtensionNode
SelectedSquareType ( ) : EditorExtensionNode
SharplikeView_MouseDown ( object sender, MouseEventArgs e ) : void
SharplikeView_MouseMove ( object sender, MouseEventArgs e ) : void
SharplikeView_MouseUp ( object sender, MouseEventArgs e ) : void
SharplikeView_Paint ( object sender, PaintEventArgs e ) : void
btn_Click ( object sender, EventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BuildButton ( MapToolExtensionNode mnode, ToolStripButton btn ) : void
InitializeComponent ( ) : void

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

ReplaceMap ( AbstractMap map ) : void
ScreenToTile ( Point p ) : Point
newToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
redoToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
timer1_Tick ( object sender, EventArgs e ) : void
toolStripButton4_Click ( object sender, EventArgs e ) : void
toolStripButton5_Click ( object sender, EventArgs e ) : void
undoToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
zToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
zToolStripMenuItem_Click ( object sender, EventArgs e ) : void

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

EntityList_ItemDrag() public method

public EntityList_ItemDrag ( object sender, ItemDragEventArgs e ) : void
sender object
e ItemDragEventArgs
return void

Main() public method

public Main ( ) : System
return System

Main_DragDrop() public method

public Main_DragDrop ( object sender, DragEventArgs e ) : void
sender object
e DragEventArgs
return void

Main_DragEnter() public method

public Main_DragEnter ( object sender, DragEventArgs e ) : void
sender object
e DragEventArgs
return void

Main_DragLeave() public method

public Main_DragLeave ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Main_DragOver() public method

public Main_DragOver ( object sender, DragEventArgs e ) : void
sender object
e DragEventArgs
return void

Main_FormClosed() public method

public Main_FormClosed ( object sender, FormClosedEventArgs e ) : void
sender object
e FormClosedEventArgs
return void

Main_Load() public method

public Main_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

SelectedEntityType() public method

public SelectedEntityType ( ) : EditorExtensionNode
return EditorExtensionNode

SelectedSquareType() public method

public SelectedSquareType ( ) : EditorExtensionNode
return EditorExtensionNode

SharplikeView_MouseDown() public method

public SharplikeView_MouseDown ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

SharplikeView_MouseMove() public method

public SharplikeView_MouseMove ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

SharplikeView_MouseUp() public method

public SharplikeView_MouseUp ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

SharplikeView_Paint() public method

public SharplikeView_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
return void

btn_Click() public method

public btn_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

EntityProperties public_oe property

public System.Windows.Forms.PropertyGrid EntityProperties
return System.Windows.Forms.PropertyGrid

Map public_oe property

public AbstractMap Map
return AbstractMap