C# Class P02Project.hcihDonateControl

Interaction logic for hcihDonateControl.xaml
Inheritance: System.Windows.Controls.UserControl, Animatiable
显示文件 Open project: raouldc/OptiDev Class Usage Examples

Public Methods

Method Description
AnimateIn ( ) : void

Animate the poloroid and the text box

AnimateOut ( ) : void

Does nothing

hcihDonateControl ( ) : System

Constructor

Private Methods

Method Description
ResetTimer ( ) : void
lastingLegacyContent ( ) : StackPanel

the helper method to generate the content when the "Lasting Legacy" has been clicked

lastingLegacy_Click ( object sender, RoutedEventArgs e ) : void

This method called when the "Lasting Legacy" button has been clicked

moreInfoContent ( ) : StackPanel

the helper method to generate the content when the "More Information" has been clicked

moreInfo_Click ( object sender, RoutedEventArgs e ) : void

This method called when the "More Information" button has been clicked

onGoingContent ( ) : StackPanel

the helper method to generate the content when the "On Going Donation" has been clicked

onGoing_Click ( object sender, RoutedEventArgs e ) : void

This method called when the "On Going Donation" button has been clicked

oneOffContent ( ) : StackPanel

the helper method to generate the content when the "One Off Donation" has been clicked

oneOff_Click ( object sender, RoutedEventArgs e ) : void

This method called when the "One Off Donation" button has been clicked

text_ScrollChanged ( object sender, System.Windows.Controls.ScrollChangedEventArgs e ) : void

Reset the timer back to zero

workplaceGivingContent ( ) : StackPanel

the helper method to generate the content when the "Workplac Giving" has been clicked

workplaceGiving_Click ( object sender, RoutedEventArgs e ) : void

This method called when the "Workplace Giving" button has been clicked

Method Details

AnimateIn() public method

Animate the poloroid and the text box
public AnimateIn ( ) : void
return void

AnimateOut() public method

Does nothing
public AnimateOut ( ) : void
return void

hcihDonateControl() public method

Constructor
public hcihDonateControl ( ) : System
return System