Method | Description | |
---|---|---|
AddMessage ( |
Adds a single new message to a table and displays it
|
|
AddMessage ( |
Adds multiple new messages to a table and displays it
|
|
AddStar ( |
Adds a star to the given TextBox.
|
|
ErrorMessageHandler ( Label>.Dictionary |
Constructs a new ErrorMessageHandler (should only have one instance per dialog)
|
|
RemoveMessage ( |
Removes message from table of error messages
|
|
RemoveStar ( |
Removes the star from the given text box.
|
Method | Description | |
---|---|---|
DisplayErrorTable ( ) : void |
Displays all the errors that currently the user hasn't fixed, using the labels specified in the labelAssociation Dictionary.
|
public AddMessage ( |
||
textBox | The text box where the error appears | |
message | ErrorMessage | The error message you wish to add |
return | void |
public AddMessage ( |
||
textBox | The text box where the error appears | |
messages | Set |
The set of messages you wish to add |
return | void |
public AddStar ( |
||
textBox | The text box to place the star by | |
return | void |
public ErrorMessageHandler ( Label>.Dictionary |
||
labelAssociation | Label>.Dictionary | Dictionary that contains your /// textbox as a key and the associated error label |
enabledControl | Contains the control that we want to enable/disable /// based on whether we have errors present. | |
return | System |
public RemoveMessage ( |
||
textBox | The text box associated with the errors you wish to remove | |
return | void |
public RemoveStar ( |
||
textBox | The text box that may or may not have a star to remove. | |
return | void |