C# Class MegaMan.LevelEditor.StageForm

Inheritance: WeifenLuo.WinFormsUI.Docking.DockContent
Mostrar archivo Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Public Methods

Method Description
Copy ( ) : void
Paste ( ) : TileBrush
Redo ( ) : void
SetText ( ) : void
StageForm ( StageDocument stage ) : System
Undo ( ) : void
ZoomIn ( Point center ) : void
ZoomOut ( Point center ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnMouseDown ( MouseEventArgs e ) : void
OnScroll ( ScrollEventArgs se ) : void
ScrollToControl ( Control activeControl ) : Point

Private Methods

Method Description
AlignScreenSurfaces ( ) : void
CreateScreenSurface ( ScreenDocument screen ) : ScreenDrawingSurface
InitializeComponent ( ) : void

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

LayoutFromScreen ( ScreenDrawingSurface surface, Point location ) : void
LayoutNextScreen ( ScreenDrawingSurface surface, Point location, Join join, bool one ) : void
RedrawZoom ( Point center ) : void
RenameSurface ( string oldScreenName, string newScreenName ) : void
SetBackgroundGrid ( ) : void
SetStage ( StageDocument stage ) : void
SurfaceCollides ( IEnumerable placedAlready, ScreenDrawingSurface next ) : Rectangle
TryToFixCollision ( ScreenDrawingSurface surface, Rectangle collision ) : void
surface_Edited ( object sender, ScreenEditEventArgs e ) : void

Method Details

Copy() public method

public Copy ( ) : void
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

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnScroll() protected method

protected OnScroll ( ScrollEventArgs se ) : void
se System.Windows.Forms.ScrollEventArgs
return void

Paste() public method

public Paste ( ) : TileBrush
return TileBrush

Redo() public method

public Redo ( ) : void
return void

ScrollToControl() protected method

protected ScrollToControl ( Control activeControl ) : Point
activeControl System.Windows.Forms.Control
return Point

SetText() public method

public SetText ( ) : void
return void

StageForm() public method

public StageForm ( StageDocument stage ) : System
stage StageDocument
return System

Undo() public method

public Undo ( ) : void
return void

ZoomIn() public method

public ZoomIn ( Point center ) : void
center Point
return void

ZoomOut() public method

public ZoomOut ( Point center ) : void
center Point
return void