C# 클래스 EventManagerPro.ViewModels.EventViewModel

EventViewModel class to be used in EventView as a DataContext.
상속: BaseViewModel
파일 보기 프로젝트 열기: sagittaros/EventManagerModel 1 사용 예제들

공개 메소드들

메소드 설명
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 ( BudgetItemModel b ) : void

Deletes the BudgetItem.

DeleteSubEvent ( SubEventModel s ) : void

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 ( BudgetItemModel b ) : void

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.

메소드 상세

AddNewSubEvent() 공개 메소드

Adds an empty SubEvent into the list.
public AddNewSubEvent ( ) : void
리턴 void

AddWarningMessage() 공개 메소드

Adds a warning message to be displayed onto the View's notice TextBox.
public AddWarningMessage ( string key, string message ) : void
key string Unique key.
message string Message to be displayed.
리턴 void

ClearAllSubEvents() 공개 메소드

Clears all SubEvents in the list.
public ClearAllSubEvents ( ) : void
리턴 void

DeleteBudgetItem() 공개 메소드

Deletes the BudgetItem.
public DeleteBudgetItem ( BudgetItemModel b ) : void
b EventManagerPro.Models.BudgetItemModel BudgetItemModel object to be deleted.
리턴 void

DeleteSubEvent() 공개 메소드

Deletes the specified SubEvent from the list.
public DeleteSubEvent ( SubEventModel s ) : void
s EventManagerPro.Models.SubEventModel SubEventModel object to be delted.
리턴 void

EventViewModel() 공개 메소드

Constructor
public EventViewModel ( ) : System
리턴 System

RemoveWarningMessage() 공개 메소드

Removes the warning message to be displayed onto the View's notice TextBox.
public RemoveWarningMessage ( string key ) : void
key string Unique key.
리턴 void

ResetBudgetForm() 공개 메소드

Resets the BudgetItem in the form.
public ResetBudgetForm ( ) : void
리턴 void

Save() 공개 메소드

Saves the current Event information to the database.
public Save ( ) : bool
리턴 bool

SaveBudgetItem() 공개 메소드

Saves the current BudgetItem in the form.
public SaveBudgetItem ( ) : void
리턴 void

SetActiveBudgetItem() 공개 메소드

Sets the active BudgetItem to be edited in the form.
public SetActiveBudgetItem ( BudgetItemModel b ) : void
b EventManagerPro.Models.BudgetItemModel BudgetItemModel object to be edited.
리턴 void

UnregisterGuest() 공개 메소드

Unregisters the guest from the guest list.
public UnregisterGuest ( string matricID ) : bool
matricID string Matric ID of the guest.
리턴 bool

UpdateBudgetUI() 공개 메소드

Updates the UI for the 'Budget' tab in the View.
public UpdateBudgetUI ( ) : void
리턴 void

UpdateCapacityUI() 공개 메소드

Updates the UI for the 'Guest List' tab in the View.
public UpdateCapacityUI ( ) : void
리턴 void