Method | Description | |
---|---|---|
AddNewSubEvent ( ) : void |
Adds an empty SubEvent into the list.
|
|
AddWarningMessage ( string key, string message ) : void |
Adds a warning message to be displayed onto the View's notice TextBox.
|
|
ClearAllSubEvents ( ) : void |
Clears all SubEvents in the list.
|
|
DeleteBudgetItem ( |
Deletes the BudgetItem.
|
|
DeleteSubEvent ( |
Deletes the specified SubEvent from the list.
|
|
EventViewModel ( ) : System |
Constructor
|
|
RemoveWarningMessage ( string key ) : void |
Removes the warning message to be displayed onto the View's notice TextBox.
|
|
ResetBudgetForm ( ) : void |
Resets the BudgetItem in the form.
|
|
Save ( ) : bool |
Saves the current Event information to the database.
|
|
SaveBudgetItem ( ) : void |
Saves the current BudgetItem in the form.
|
|
SetActiveBudgetItem ( |
Sets the active BudgetItem to be edited in the form.
|
|
UnregisterGuest ( string matricID ) : bool |
Unregisters the guest from the guest list.
|
|
UpdateBudgetUI ( ) : void |
Updates the UI for the 'Budget' tab in the View.
|
|
UpdateCapacityUI ( ) : void |
Updates the UI for the 'Guest List' tab in the View.
|
public AddWarningMessage ( string key, string message ) : void | ||
key | string | Unique key. |
message | string | Message to be displayed. |
return | void |
public DeleteBudgetItem ( |
||
b | BudgetItemModel object to be deleted. | |
return | void |
public DeleteSubEvent ( |
||
s | SubEventModel object to be delted. | |
return | void |
public RemoveWarningMessage ( string key ) : void | ||
key | string | Unique key. |
return | void |
public SetActiveBudgetItem ( |
||
b | BudgetItemModel object to be edited. | |
return | void |
public UnregisterGuest ( string matricID ) : bool | ||
matricID | string | Matric ID of the guest. |
return | bool |