C# Class CapDemo.GUI.ViewQuestion

Afficher le fichier Open project: antang/NewCapstoneProject Class Usage Examples

Méthodes publiques

Свойство Type Description
btn_addAnswer System.Windows.Forms.Button

Méthodes publiques

Méthode Description
ViewQuestion ( ) : System
ViewQuestion ( int IDQuestion, int IDCatalogue ) : System
checkAnswerEmpty ( ) : bool
checkBlankCorrectAnswer ( ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

OneChoiceAnswer_onCheck ( object sender, EventArgs e ) : void
OneChoiceAnswer_onDelete ( object sender, EventArgs e ) : void
ViewQuestion_Load ( object sender, EventArgs e ) : void
btn_EditQuestion_Click ( object sender, EventArgs e ) : void
btn_Exit_Click ( object sender, EventArgs e ) : void
btn_PreviewQuestion_Click ( object sender, EventArgs e ) : void
btn_Save_Click ( object sender, EventArgs e ) : void
btn_addAnswer_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected méthode

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

ViewQuestion() public méthode

public ViewQuestion ( ) : System
Résultat System

ViewQuestion() public méthode

public ViewQuestion ( int IDQuestion, int IDCatalogue ) : System
IDQuestion int
IDCatalogue int
Résultat System

checkAnswerEmpty() public méthode

public checkAnswerEmpty ( ) : bool
Résultat bool

checkBlankCorrectAnswer() public méthode

public checkBlankCorrectAnswer ( ) : bool
Résultat bool

Property Details

btn_addAnswer public_oe property

public System.Windows.Forms.Button btn_addAnswer
Résultat System.Windows.Forms.Button