Public Member Functions | |
ExamGUI () | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Private Member Functions | |
void | InitializeComponent () |
void | clearButton_Click (object sender, System.EventArgs e) |
void | openExamMenuItem_Click (object sender, System.EventArgs e) |
void | openExamDialog_FileOk (object sender, System.ComponentModel.CancelEventArgs e) |
void | deneme () |
void | previousButton_Click (object sender, System.EventArgs e) |
void | nextButton_Click (object sender, System.EventArgs e) |
void | examDurationTimer_Tick (object sender, System.EventArgs e) |
void | setTimeLabel () |
void | choice1_Click (object sender, System.EventArgs e) |
void | choice2_Click (object sender, System.EventArgs e) |
void | choice3_Click (object sender, System.EventArgs e) |
void | choice4_Click (object sender, System.EventArgs e) |
void | questionComboBox_SelectedIndexChanged (object sender, System.EventArgs e) |
void | endExamButton_Click (object sender, System.EventArgs e) |
Private Attributes | |
System.Windows.Forms.RadioButton | choice1 |
System.Windows.Forms.RadioButton | choice2 |
System.Windows.Forms.RadioButton | choice3 |
System.Windows.Forms.RadioButton | choice4 |
System.Windows.Forms.Button | previousButton |
System.Windows.Forms.Button | clearButton |
System.Windows.Forms.Button | nextButton |
System.Windows.Forms.MainMenu | mainMenu1 |
System.Windows.Forms.MenuItem | fileMenuItem |
System.Windows.Forms.MenuItem | openExamMenuItem |
System.Windows.Forms.OpenFileDialog | openExamDialog |
System.Windows.Forms.GroupBox | choicesGroupBox |
System.Windows.Forms.ComboBox | questionComboBox |
System.Windows.Forms.Label | questionLabel |
ExamDTO | examDTO |
int | questionId = 1 |
AxShockwaveFlashObjects.AxShockwaveFlash | flashAnimation |
System.ComponentModel.IContainer | components |
int | examDurationMinutes = 0 |
System.Windows.Forms.Label | examDurationLabel |
System.Windows.Forms.Label | timeLabel |
System.Windows.Forms.Timer | examDurationTimer |
System.Windows.Forms.Label | examNameTitleLabel |
System.Windows.Forms.Label | examNameLabel |
System.Windows.Forms.Button | endExamButton |
int | examDurationSeconds = 0 |
|
Constructor for the class. This is the default construtor that takes no argument. This constructor first initializes the private form variables. Then disables all the components in the form. |
|
Click Handler for the Choice1 Radio Button. This method is the handler for the Click Action of Choice1 Radio Button that sets the user choice as A.
|
|
Click Handler for the Choice2 Radio Button. This method is the handler for the Click Action of Choice2 Radio Button that sets the user choice as B.
|
|
Click Handler for the Choice3 Radio Button. This method is the handler for the Click Action of Choice3 Radio Button that sets the user choice as C.
|
|
Click Handler for the Choice4 Radio Button. This method is the handler for the Click Action of Choice1 Radio Button that sets the user choice as D.
|
|
Click Handler for the Clear Button. This method is the handler for the Click Action of Clear Button that clears the user choice.
|
|
|
|
Cleans up any resources being used. This method is to clean up any resources that are being used by the system.
|
|
Click Handler for the End Exam Button. This method is the handler for the Click Action of End Exam Button that ends the exam and disables all the components in the form.
|
|
Tick Handler for the Exam Duration Timer. This method is the handler for the Tick Action of Exam Duration Timer that updates the time left for the exam.
|
|
Initializes the windows form components. This method is to initialize the windows form components which is generated with Windows Form Designer. |
|
Click Handler for the Next Button. This method is the handler for the Click Action of Next Button that displays the next question.
|
|
File Ok Handler for the Open Exam File Dialog. This method is the handler for the File Ok Action of Open Exam File Dialog that opens an exam and enables all the components in the form.
|
|
Click Handler for the Open Exam File Dialog. This method is the handler for the Click Action of Open Exam File Dialog that displays the Open File Dialog.
|
|
Click Handler for the Previous Button. This method is the handler for the Click Action of Previous Button that displays the previous question.
|
|
Selected Index Changed Handler for the Question Combo Box. This method is the handler for the Selected Index Changed Action of Question Combo Box that displays the selected question.
|
|
Updates the Time Label. This method updates the Time Label that shows the time left for the exam. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|