C# Class Ushahidi.Common.Controls.MapBox

MapBox
Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: ushahidi/Ushahidi_WinMobile

Méthodes publiques

Méthode Description
MapBox ( ) : System
ReCalculate ( ) : bool

Recalculate Latitude and Longitude

ToString ( ) : string

Méthodes protégées

Méthode Description
OnKeyDown ( KeyEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Private Methods

Méthode Description
LatitudeToY ( double y ) : double
LongitudeToX ( double x ) : double
OnGotFocus ( object sender, EventArgs e ) : void
OnLostFocus ( object sender, EventArgs e ) : void
OnResize ( object sender, EventArgs e ) : void
OnZoomIn ( ) : void

Fire Zoom In Event

OnZoomOut ( ) : void

Fire Zoom Out Event

XToLongitude ( double x ) : double
YToLatitude ( double y ) : double

Method Details

MapBox() public méthode

public MapBox ( ) : System
Résultat System

OnKeyDown() protected méthode

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

ReCalculate() public méthode

Recalculate Latitude and Longitude
public ReCalculate ( ) : bool
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string