C# Class CapDemo.GUI.User_Controls.Question_OnlyOneSelect

Inheritance: System.Windows.Forms.UserControl
Mostra file Open project: antang/NewCapstoneProject

Public Properties

Property Type Description
btn_addAnswer System.Windows.Forms.Button
flp_addAnswer System.Windows.Forms.FlowLayoutPanel

Public Methods

Method Description
Question_OnlyOneSelect ( ) : System
Question_OnlyOneSelect ( int IDCat, string NameCat ) : 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
Question_OnlyOneSelect_Load ( object sender, EventArgs e ) : void
btn_CancelQuestion_Click ( object sender, EventArgs e ) : void
btn_SaveAndCreateNewQuestion_Click ( object sender, EventArgs e ) : void
btn_SaveQuestion_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

Question_OnlyOneSelect() public method

public Question_OnlyOneSelect ( ) : System
return System

Question_OnlyOneSelect() public method

public Question_OnlyOneSelect ( int IDCat, string NameCat ) : System
IDCat int
NameCat string
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

flp_addAnswer public_oe property

public System.Windows.Forms.FlowLayoutPanel flp_addAnswer
return System.Windows.Forms.FlowLayoutPanel