C# Class CapDemo.Open_Game

Inheritance: System.Windows.Forms.Form
Exibir arquivo Open project: antang/NewCapstoneProject Class Usage Examples

Public Properties

Property Type Description
axWindowsMediaPlayer1 AxWMPLib.AxWindowsMediaPlayer

Public Methods

Method Description
AssignPlayerCorrect ( ) : void
BonusScoreofPhase ( int idpha ) : int
CalculateScoreChallenge ( ) : void
CalculateScoreNotChallenge ( ) : void
CalculteScore ( ) : void
DisplayScorePlayerGet ( ) : void
EndGame ( ) : void
EnterAnswer ( ) : void
EnterAnswerChallenge ( ) : void
EnterAnswerChallenge_1 ( ) : void
EnterAnswerNotChallenge ( ) : void
ExistPM ( ) : bool
FailQuestionInPhase ( int score ) : void
FailQuestionPM ( int score ) : void
FixSizeText ( ) : void
GetContestContent ( ) : void
GoPlayer ( ) : void
LastPlayerRun ( ) : int
MinusScoreofPhase ( int idpha ) : int
MoveNextPhaseHaveChallenge ( ) : void
NameofPhase ( int idpha ) : string
NumofQuestionInPhase ( int id ) : int
NumofQuestionPM ( ) : int
Open_Game ( ) : System
OutOfQuestion ( ) : void
PassQuestionInPhase ( int score ) : void
PassQuestionPM ( int score ) : void
ReceiveScoreChallenge ( ) : void
ShowCorrectAnswer ( ) : void
ShowCorrectAnswer_1 ( ) : void
ShowQuestion ( ) : void
ShowQuestionByIDPhase ( int id ) : bool
ShowQuestionByIDPhase_1 ( ) : bool
ShowTeamsChallenged ( ) : void
ShowTeamsChallenged_1 ( ) : void
StartGame ( ) : void
TimeofPhase ( int idpha ) : int
UpdateLog ( int idPla, int idpha, int score, int NumTrue, int NumFalse, int check ) : void
UpdatePlayerChallengeInPM ( ) : void
UpdatePlayerChallengeInPM_1 ( ) : void
UpdatePlayerChallengeInPhase ( ) : void
UpdateScreenAfterChallenge ( ) : void
colorplayer ( int idplayer ) : int
loadMap ( ) : void
loadNumberQuestionInPhase ( ) : void
nameplayer ( int idplayer ) : string
sequenceplayer ( int idplayer ) : int

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Open_Game_Load ( object sender, EventArgs e ) : void
TableAnswerMultiTeam ( List ListQuestion, List ListAnswer ) : void
TableAnswerMultiTeam_1 ( List ListQuestion, List ListAnswer ) : void
TableAnswerOneTeam ( List ListQuestion, List ListAnswer ) : void
mnui_Maximize_Click ( object sender, EventArgs e ) : void
mnui_Minimize_Click ( object sender, EventArgs e ) : void
mnui_RestoreDown_Click ( object sender, EventArgs e ) : void
pb_EndGame_Click ( object sender, EventArgs e ) : void
pb_Exit_Click ( object sender, EventArgs e ) : void
pb_Maximize_Click ( object sender, EventArgs e ) : void
pb_Minimize_Click ( object sender, EventArgs e ) : void
pb_Play_Click ( object sender, EventArgs e ) : void
pb_QuestionSub_Click ( object sender, EventArgs e ) : void
pb_Setting_Click ( object sender, EventArgs e ) : void
pb_SubContest_Click ( object sender, EventArgs e ) : void
team_ChoiceChallengedTeam ( object sender, EventArgs e ) : void
team_checkChallenge ( object sender, EventArgs e ) : void
team_checkCorrect ( object sender, EventArgs e ) : void
team_checkQuestionPM ( object sender, EventArgs e ) : void
team_checkSupport ( object sender, EventArgs e ) : void
timer1_Tick ( object sender, EventArgs e ) : void

Method Details

AssignPlayerCorrect() public method

public AssignPlayerCorrect ( ) : void
return void

BonusScoreofPhase() public method

public BonusScoreofPhase ( int idpha ) : int
idpha int
return int

CalculateScoreChallenge() public method

public CalculateScoreChallenge ( ) : void
return void

CalculateScoreNotChallenge() public method

public CalculateScoreNotChallenge ( ) : void
return void

CalculteScore() public method

public CalculteScore ( ) : void
return void

DisplayScorePlayerGet() public method

public DisplayScorePlayerGet ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

EndGame() public method

public EndGame ( ) : void
return void

EnterAnswer() public method

public EnterAnswer ( ) : void
return void

EnterAnswerChallenge() public method

public EnterAnswerChallenge ( ) : void
return void

EnterAnswerChallenge_1() public method

public EnterAnswerChallenge_1 ( ) : void
return void

EnterAnswerNotChallenge() public method

public EnterAnswerNotChallenge ( ) : void
return void

ExistPM() public method

public ExistPM ( ) : bool
return bool

FailQuestionInPhase() public method

public FailQuestionInPhase ( int score ) : void
score int
return void

FailQuestionPM() public method

public FailQuestionPM ( int score ) : void
score int
return void

FixSizeText() public method

public FixSizeText ( ) : void
return void

GetContestContent() public method

public GetContestContent ( ) : void
return void

GoPlayer() public method

public GoPlayer ( ) : void
return void

LastPlayerRun() public method

public LastPlayerRun ( ) : int
return int

MinusScoreofPhase() public method

public MinusScoreofPhase ( int idpha ) : int
idpha int
return int

MoveNextPhaseHaveChallenge() public method

public MoveNextPhaseHaveChallenge ( ) : void
return void

NameofPhase() public method

public NameofPhase ( int idpha ) : string
idpha int
return string

NumofQuestionInPhase() public method

public NumofQuestionInPhase ( int id ) : int
id int
return int

NumofQuestionPM() public method

public NumofQuestionPM ( ) : int
return int

Open_Game() public method

public Open_Game ( ) : System
return System

OutOfQuestion() public method

public OutOfQuestion ( ) : void
return void

PassQuestionInPhase() public method

public PassQuestionInPhase ( int score ) : void
score int
return void

PassQuestionPM() public method

public PassQuestionPM ( int score ) : void
score int
return void

ReceiveScoreChallenge() public method

public ReceiveScoreChallenge ( ) : void
return void

ShowCorrectAnswer() public method

public ShowCorrectAnswer ( ) : void
return void

ShowCorrectAnswer_1() public method

public ShowCorrectAnswer_1 ( ) : void
return void

ShowQuestion() public method

public ShowQuestion ( ) : void
return void

ShowQuestionByIDPhase() public method

public ShowQuestionByIDPhase ( int id ) : bool
id int
return bool

ShowQuestionByIDPhase_1() public method

public ShowQuestionByIDPhase_1 ( ) : bool
return bool

ShowTeamsChallenged() public method

public ShowTeamsChallenged ( ) : void
return void

ShowTeamsChallenged_1() public method

public ShowTeamsChallenged_1 ( ) : void
return void

StartGame() public method

public StartGame ( ) : void
return void

TimeofPhase() public method

public TimeofPhase ( int idpha ) : int
idpha int
return int

UpdateLog() public method

public UpdateLog ( int idPla, int idpha, int score, int NumTrue, int NumFalse, int check ) : void
idPla int
idpha int
score int
NumTrue int
NumFalse int
check int
return void

UpdatePlayerChallengeInPM() public method

public UpdatePlayerChallengeInPM ( ) : void
return void

UpdatePlayerChallengeInPM_1() public method

public UpdatePlayerChallengeInPM_1 ( ) : void
return void

UpdatePlayerChallengeInPhase() public method

public UpdatePlayerChallengeInPhase ( ) : void
return void

UpdateScreenAfterChallenge() public method

public UpdateScreenAfterChallenge ( ) : void
return void

colorplayer() public method

public colorplayer ( int idplayer ) : int
idplayer int
return int

loadMap() public method

public loadMap ( ) : void
return void

loadNumberQuestionInPhase() public method

public loadNumberQuestionInPhase ( ) : void
return void

nameplayer() public method

public nameplayer ( int idplayer ) : string
idplayer int
return string

sequenceplayer() public method

public sequenceplayer ( int idplayer ) : int
idplayer int
return int

Property Details

axWindowsMediaPlayer1 public_oe property

public AxWMPLib.AxWindowsMediaPlayer axWindowsMediaPlayer1
return AxWMPLib.AxWindowsMediaPlayer