PapaganEgitim::ExamGUI Class Reference

Graphical User Interface class for the Exam Module. More...

List of all members.

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


Detailed Description

Graphical User Interface class for the Exam Module.


Constructor & Destructor Documentation

PapaganEgitim::ExamGUI::ExamGUI  )  [inline]
 

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.


Member Function Documentation

void PapaganEgitim::ExamGUI::choice1_Click object  sender,
System.EventArgs  e
[inline, private]
 

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.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::choice2_Click object  sender,
System.EventArgs  e
[inline, private]
 

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.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::choice3_Click object  sender,
System.EventArgs  e
[inline, private]
 

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.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::choice4_Click object  sender,
System.EventArgs  e
[inline, private]
 

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.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::clearButton_Click object  sender,
System.EventArgs  e
[inline, private]
 

Click Handler for the Clear Button.

This method is the handler for the Click Action of Clear Button that clears the user choice.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::deneme  )  [inline, private]
 

override void PapaganEgitim::ExamGUI::Dispose bool  disposing  )  [inline, protected]
 

Cleans up any resources being used.

This method is to clean up any resources that are being used by the system.

Parameters:
disposing If true, components will be disposed.

void PapaganEgitim::ExamGUI::endExamButton_Click object  sender,
System.EventArgs  e
[inline, private]
 

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.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::examDurationTimer_Tick object  sender,
System.EventArgs  e
[inline, private]
 

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.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::InitializeComponent  )  [inline, private]
 

Initializes the windows form components.

This method is to initialize the windows form components which is generated with Windows Form Designer.

void PapaganEgitim::ExamGUI::nextButton_Click object  sender,
System.EventArgs  e
[inline, private]
 

Click Handler for the Next Button.

This method is the handler for the Click Action of Next Button that displays the next question.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::openExamDialog_FileOk object  sender,
System.ComponentModel.CancelEventArgs  e
[inline, private]
 

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.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::openExamMenuItem_Click object  sender,
System.EventArgs  e
[inline, private]
 

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.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::previousButton_Click object  sender,
System.EventArgs  e
[inline, private]
 

Click Handler for the Previous Button.

This method is the handler for the Click Action of Previous Button that displays the previous question.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::questionComboBox_SelectedIndexChanged object  sender,
System.EventArgs  e
[inline, private]
 

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.

Parameters:
sender The sender that calls this method.
e System Event Arguments

void PapaganEgitim::ExamGUI::setTimeLabel  )  [inline, private]
 

Updates the Time Label.

This method updates the Time Label that shows the time left for the exam.


Member Data Documentation

System.Windows.Forms.RadioButton PapaganEgitim::ExamGUI::choice1 [private]
 

System.Windows.Forms.RadioButton PapaganEgitim::ExamGUI::choice2 [private]
 

System.Windows.Forms.RadioButton PapaganEgitim::ExamGUI::choice3 [private]
 

System.Windows.Forms.RadioButton PapaganEgitim::ExamGUI::choice4 [private]
 

System.Windows.Forms.GroupBox PapaganEgitim::ExamGUI::choicesGroupBox [private]
 

System.Windows.Forms.Button PapaganEgitim::ExamGUI::clearButton [private]
 

System.ComponentModel.IContainer PapaganEgitim::ExamGUI::components [private]
 

System.Windows.Forms.Button PapaganEgitim::ExamGUI::endExamButton [private]
 

ExamDTO PapaganEgitim::ExamGUI::examDTO [private]
 

System.Windows.Forms.Label PapaganEgitim::ExamGUI::examDurationLabel [private]
 

int PapaganEgitim::ExamGUI::examDurationMinutes = 0 [private]
 

int PapaganEgitim::ExamGUI::examDurationSeconds = 0 [private]
 

System.Windows.Forms.Timer PapaganEgitim::ExamGUI::examDurationTimer [private]
 

System.Windows.Forms.Label PapaganEgitim::ExamGUI::examNameLabel [private]
 

System.Windows.Forms.Label PapaganEgitim::ExamGUI::examNameTitleLabel [private]
 

System.Windows.Forms.MenuItem PapaganEgitim::ExamGUI::fileMenuItem [private]
 

AxShockwaveFlashObjects.AxShockwaveFlash PapaganEgitim::ExamGUI::flashAnimation [private]
 

System.Windows.Forms.MainMenu PapaganEgitim::ExamGUI::mainMenu1 [private]
 

System.Windows.Forms.Button PapaganEgitim::ExamGUI::nextButton [private]
 

System.Windows.Forms.OpenFileDialog PapaganEgitim::ExamGUI::openExamDialog [private]
 

System.Windows.Forms.MenuItem PapaganEgitim::ExamGUI::openExamMenuItem [private]
 

System.Windows.Forms.Button PapaganEgitim::ExamGUI::previousButton [private]
 

System.Windows.Forms.ComboBox PapaganEgitim::ExamGUI::questionComboBox [private]
 

int PapaganEgitim::ExamGUI::questionId = 1 [private]
 

System.Windows.Forms.Label PapaganEgitim::ExamGUI::questionLabel [private]
 

System.Windows.Forms.Label PapaganEgitim::ExamGUI::timeLabel [private]
 


The documentation for this class was generated from the following file:
Generated on Mon May 29 01:05:01 2006 for PAPAGAN by  doxygen 1.4.6-NO