C# Class DoodlePad.MainPage

Inheritance: PhoneApplicationPage
Mostra file Open project: disbitski/DoodlePad

Public Properties

Property Type Description
ink InkCollector

Public Methods

Method Description
ChangeBrushColor ( Color color ) : void
ChangeBrushSize ( int width, int height ) : void
MainPage ( ) : System
MainPage_BackKeyPress ( object sender, System e ) : void
SwapScreens ( ) : void
cameraTask_Completed ( object sender, PhotoResult e ) : void
colorPicker_ColorSelected ( Color c ) : void
menuItemFree_Click ( object sender, EventArgs e ) : void
photoTask_Completed ( object sender, PhotoResult e ) : void

Private Methods

Method Description
About_Click ( object sender, EventArgs e ) : void
ChangeBackgroundCamera ( BitmapImage bmp ) : void
ChangeColorFromCustomBrush ( System.Windows.Media.Brush brush ) : void
Clear_All_Click ( object sender, EventArgs e ) : void
ContactUs_Click ( object sender, System e ) : void
Erase_Click ( object sender, EventArgs e ) : void
LoadAppBar ( ) : void
LoadCustomGlobalBrushes ( ) : void
Redo_Click ( object sender, EventArgs e ) : void
ResetBG_Click ( object sender, EventArgs e ) : void
SetBrushDefaults ( ) : void
SetCustomColor ( SolidColorBrush newColor ) : void
ShowCurrentSelections ( Color color, double height ) : void
Undo_Click ( object sender, EventArgs e ) : void
appbar_camera_Click ( object sender, EventArgs e ) : void
appbar_colors_Click ( object sender, EventArgs e ) : void
appbar_photos_Click ( object sender, EventArgs e ) : void
appbar_save_Click ( object sender, EventArgs e ) : void
brushSize15_MouseLeftButtonUp ( object sender, System e ) : void
brushSize25_MouseLeftButtonUp ( object sender, System e ) : void
brushSize30_MouseLeftButtonUp ( object sender, System e ) : void
brushSize35_MouseLeftButtonUp ( object sender, System e ) : void
brushSize45_MouseLeftButtonUp ( object sender, System e ) : void
brushSize50_MouseLeftButtonUp ( object sender, System e ) : void
brushSize7_MouseLeftButtonUp ( object sender, System e ) : void
btnPurchase_Click ( object sender, System e ) : void
rectBlack_MouseLeftButtonUp ( object sender, System e ) : void
rectBlue_MouseLeftButtonUp ( object sender, System e ) : void
rectCustom1_MouseLeftButtonUp ( object sender, System e ) : void
rectCustom2_MouseLeftButtonUp ( object sender, System e ) : void
rectCustom3_MouseLeftButtonUp ( object sender, System e ) : void
rectCustom4_MouseLeftButtonUp ( object sender, System e ) : void
rectCustom5_MouseLeftButtonUp ( object sender, System e ) : void
rectCustom6_MouseLeftButtonUp ( object sender, System e ) : void
rectCustomColor_MouseLeftButtonUp ( object sender, System e ) : void
rectGreen_MouseLeftButtonUp ( object sender, System e ) : void
rectRed_MouseLeftButtonUp ( object sender, System e ) : void
rectWhite_MouseLeftButtonUp ( object sender, System e ) : void
rectYellow_MouseLeftButtonUp ( object sender, System e ) : void
resetBrushSelctions ( ) : void
resetCustomSelections ( ) : void
spAboutOpen_Completed ( object sender, System e ) : void

Method Details

ChangeBrushColor() public method

public ChangeBrushColor ( Color color ) : void
color Color
return void

ChangeBrushSize() public method

public ChangeBrushSize ( int width, int height ) : void
width int
height int
return void

MainPage() public method

public MainPage ( ) : System
return System

MainPage_BackKeyPress() public method

public MainPage_BackKeyPress ( object sender, System e ) : void
sender object
e System
return void

SwapScreens() public method

public SwapScreens ( ) : void
return void

cameraTask_Completed() public method

public cameraTask_Completed ( object sender, PhotoResult e ) : void
sender object
e PhotoResult
return void

colorPicker_ColorSelected() public method

public colorPicker_ColorSelected ( Color c ) : void
c Color
return void

menuItemFree_Click() public method

public menuItemFree_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

photoTask_Completed() public method

public photoTask_Completed ( object sender, PhotoResult e ) : void
sender object
e PhotoResult
return void

Property Details

ink public_oe property

public InkCollector,DoodlePad ink
return InkCollector