C# Class CinderellaMGS.AddCinderella

显示文件 Open project: ThomasMoreCollege/CinderellaMGS Class Usage Examples

Public Methods

Method Description
AddCinderella ( ) : System
setFormStyle ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddCinderella_Load ( object sender, EventArgs e ) : void

calls the set form method which sets the style of the form sets the focus to the idTextbox the firsttab index on the form makes sure that there is something selected for the timeComboBox

InitializeComponent ( ) : void

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

aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Calls the AboutBox Form and disables the AddCinderella_Form

addButton_Click ( object sender, EventArgs e ) : void

inserts the data that was entered into the form to the database table Cinderella

closeToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Closes the AddCinderella_Form

resetForm ( ) : void

Method Details

AddCinderella() public method

public AddCinderella ( ) : System
return System

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

setFormStyle() public method

public setFormStyle ( ) : void
return void