C# Class CapDemo.GUI.ViewQuestion

Mostrar archivo Open project: antang/NewCapstoneProject Class Usage Examples

Public Properties

Property Type Description
btn_addAnswer System.Windows.Forms.Button

Public Methods

Method Description
ViewQuestion ( ) : System
ViewQuestion ( int IDQuestion, int IDCatalogue ) : System
checkAnswerEmpty ( ) : bool
checkBlankCorrectAnswer ( ) : bool

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.

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 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

ViewQuestion() public method

public ViewQuestion ( ) : System
return System

ViewQuestion() public method

public ViewQuestion ( int IDQuestion, int IDCatalogue ) : System
IDQuestion int
IDCatalogue int
return System

checkAnswerEmpty() public method

public checkAnswerEmpty ( ) : bool
return bool

checkBlankCorrectAnswer() public method

public checkBlankCorrectAnswer ( ) : bool
return bool

Property Details

btn_addAnswer public_oe property

public System.Windows.Forms.Button btn_addAnswer
return System.Windows.Forms.Button