C# Class CinderellaMGS.CinderellaCheckIn

Show file Open project: ThomasMoreCollege/CinderellaMGS Class Usage Examples

Public Methods

Method Description
CinderellaCheckIn ( ) : System
getStatuses ( ) : void
populate ( string status, string order ) : void

Retrieves all cinderellas with the current specified status.

setFormStyle ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

Loads the CinderellaCheckIn_Form Calls the classes getStatuses, populate, and setFormStyle

InitializeComponent ( ) : void

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

aboutToolStripMenuItem1_Click ( object sender, EventArgs e ) : void

Opens and enables the About Form of The Cinderella's Closet Project

aboutToolStripMenuItem1_Click_1 ( object sender, EventArgs e ) : void
addGodmotherToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
addGodmotherToolStripMenuItem_Click ( object sender, EventArgs e ) : void
addGodmotherToolStripMenuItem_Click_1 ( object sender, EventArgs e ) : void

Opens and enables the AddCinderellaForm

checkInButton_Click ( object sender, EventArgs e ) : void

Checks in The Cinderellas with the status of Pending

closeToolStripMenuItem3_Click ( object sender, EventArgs e ) : void

Closes the CinderellaCheckIn_Form

exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Closes the CinderellaCheckIn_Form

filterComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

Filters the Cinderellas displayed in the ListBox by their Statuses

sortByNameButton_Click ( object sender, EventArgs e ) : void

Sorts the Cinderellas displayed in the Listbox From A-Z

sortTimeButton_Click ( object sender, EventArgs e ) : void

Sorts the Cinderellas displayed in the Listbox by their Appointment Date

Method Details

CinderellaCheckIn() public method

public CinderellaCheckIn ( ) : 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

getStatuses() public method

public getStatuses ( ) : void
return void

populate() public method

Retrieves all cinderellas with the current specified status.
public populate ( string status, string order ) : void
status string Status that you are checking for (ie. shopping, pending, etc)
order string How the data should be ordered (ie. lname)
return void

setFormStyle() public method

public setFormStyle ( ) : void
return void