C# Class CinderellaMGS.User_Mngt

Exibir arquivo Open project: ThomasMoreCollege/CinderellaMGS Class Usage Examples

Public Methods

Method Description
User_Mngt ( ) : System
editUser ( ) : void

Enables and disables the appropriate controls to edit a user.

newUser ( ) : void

Enables and disables the appropriate controls for a new user.

populateControls ( ) : void

Binds the forms controls to a datasource.

reset ( ) : void

Resets the controls on the form to their default state.

setFormStyle ( ) : void

Sets the global styles for the form.

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.

cancelButton_Click ( object sender, EventArgs e ) : void

Calls the reset Method.

deleteButton_Click ( object sender, EventArgs e ) : void

Deletes the user.

editButton_Click ( object sender, EventArgs e ) : void

Calls the editUser Method.

exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Closes the form.

newButton_Click ( object sender, EventArgs e ) : void

Calls the newUser Method.

selectButton_Click ( object sender, EventArgs e ) : void

Loads the information for the currently selected user.

submitButton_Click ( object sender, EventArgs e ) : void

Submits the new user or changes to an existing user.

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

User_Mngt() public method

public User_Mngt ( ) : System
return System

editUser() public method

Enables and disables the appropriate controls to edit a user.
public editUser ( ) : void
return void

newUser() public method

Enables and disables the appropriate controls for a new user.
public newUser ( ) : void
return void

populateControls() public method

Binds the forms controls to a datasource.
public populateControls ( ) : void
return void

reset() public method

Resets the controls on the form to their default state.
public reset ( ) : void
return void

setFormStyle() public method

Sets the global styles for the form.
public setFormStyle ( ) : void
return void