C# 클래스 P02Project.Screens.Game.Quiz

Interaction logic for Quiz.xaml
상속: System.Windows.Window
파일 보기 프로젝트 열기: raouldc/OptiDev 1 사용 예제들

공개 메소드들

메소드 설명
Quiz ( ) : System

Initializes a new instance of the Quiz class.

비공개 메소드들

메소드 설명
ChooseQuestions ( List AllQuestions ) : void

Chooses the questions.

ResetTimer ( ) : void

Resets the timer.

Window_Loaded ( object sender, RoutedEventArgs e ) : void

Handles the Loaded event of the Window control.

addButtonColours ( int index ) : void

Adds the button colours.

answerQuestion ( String content ) : void
changeButtonState ( ) : void

Changes the state of the button.

close_Clicked ( object sender, RoutedEventArgs e ) : void
fifty_fifty_click ( object sender, RoutedEventArgs e ) : void

Handles the click event of the fifty_fifty control.

hint_click ( object sender, RoutedEventArgs e ) : void

Handles the click event of the hint control.

option_A_Clicked ( object sender, RoutedEventArgs e ) : void

Handles the Clicked event of the option_A control.

option_B_Clicked ( object sender, RoutedEventArgs e ) : void

Handles the Clicked event of the option_B control.

option_C_Clicked ( object sender, RoutedEventArgs e ) : void

Handles the Clicked event of the option_C control.

option_D_Clicked ( object sender, RoutedEventArgs e ) : void

Handles the Clicked event of the option_D control.

question1_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the question1 control.

question2_CLick ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the question2 control.

question3_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the question3 control.

question4_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the question4 control.

question5_click ( object sender, RoutedEventArgs e ) : void

Handles the click event of the question5 control.

question6_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the question6 control.

setContent ( Question qn ) : void

Sets the content.

setScore ( ) : void

Sets the score.

skip_click ( object sender, RoutedEventArgs e ) : void

Handles the click event of the skip control.

메소드 상세

Quiz() 공개 메소드

Initializes a new instance of the Quiz class.
public Quiz ( ) : System
리턴 System