C# Class PhoneDirect3DXamlAppInterop.MainPage

Inheritance: PhoneApplicationPage
Mostrar archivo Open project: lfeng1420/BrickGame

Public Methods

Method Description
GiveScore ( ) : void
MainPage ( ) : System
OnCocos2dEvent ( Cocos2dEvent theEvent ) : void
OnCocos2dMessageBoxEvent ( String title, String text ) : void
OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnSelectText ( object sender, String str ) : void
OpenEditBox ( String strPlaceHolder, string strText, int maxLength, int inputMode, int inputFlag, EventHandler receiveHandler ) : void

Protected Methods

Method Description
OnBackKeyPress ( CancelEventArgs e ) : void

Private Methods

Method Description
DrawingSurfaceBackground_Loaded ( object sender, RoutedEventArgs e ) : void
StartTimer ( ) : void
TimerTick ( object sender, EventArgs e ) : void

Method Details

GiveScore() public method

public GiveScore ( ) : void
return void

MainPage() public method

public MainPage ( ) : System
return System

OnBackKeyPress() protected method

protected OnBackKeyPress ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnCocos2dEvent() public method

public OnCocos2dEvent ( Cocos2dEvent theEvent ) : void
theEvent Cocos2dEvent
return void

OnCocos2dMessageBoxEvent() public method

public OnCocos2dMessageBoxEvent ( String title, String text ) : void
title String
text String
return void

OnKeyDown() public method

public OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object
e System.Windows.Input.KeyEventArgs
return void

OnKeyUp() public method

public OnKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object
e System.Windows.Input.KeyEventArgs
return void

OnSelectText() public method

public OnSelectText ( object sender, String str ) : void
sender object
str String
return void

OpenEditBox() public method

public OpenEditBox ( String strPlaceHolder, string strText, int maxLength, int inputMode, int inputFlag, EventHandler receiveHandler ) : void
strPlaceHolder String
strText string
maxLength int
inputMode int
inputFlag int
receiveHandler EventHandler
return void