C# 클래스 Gwupe.Agent.UI.WPF.Dashboard

Interaction logic for Dashboard.xaml
파일 보기 프로젝트 열기: gwupe/Gwupe 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ActivateEngagement void
ActivateEngagement void
ActivateSearchUi void
ActiveRosterChanged void
ChatRemoteAccessId_Click void
CheckActiveEngagements void
ClearCurrentEngagement void
ContactSelected void
Contacts_LostFocus void
CurrentUserOnPropertyChanged void
Elevate string
EngagementManagerOnNewActivity void
ErrorRemoteIdBox void
ExitApplication void
Hide void
HideIfClosing void
HideIfMinimized void
InitWindowHandle void
LoggedIn void
LoggingIn void
Login void
LoginFailed void
LoginManagerOnLoggedOut void
NavigateToUrl void
NotificationFilter void
Notification_CollectionChanged void
NotificationsOnCollectionChanged void
OnEngagementPropertyChange void
OnPreviewMouseUp void
ProcessSearch void
PromptSignup void
RefreshRosters void
RemoteIdKeyDown void
ReportFaultButtonClick void
Reset void
ResetRemoteIdBox void
ResetUnreadIfVisible void
SearchBoxMenuOnSelectionChanged void
SearchBox_GotFocus void
SearchBox_LostFocus void
SearchMenuClick void
SearchRemoteId void
Search_TextChanged void
SetTitle void
SettingsOnPropertyChanged void
Settings_Click void
SetupCurrentUserListener void
SetupEngagementWindows void
SetupNotificationHandler void
SetupPartner void
SetupRoster void
SetupSearch void
Show void
ShowEngagement void
Team_Click void
UserInfo_Click void
WindowStateChanged void

공개 메소드들

메소드 설명
Alert ( string message ) : void
Close ( ) : void
CompleteElevate ( ) : void
Dashboard ( GwupeClientAppContext appContext ) : System
GenerateFaultReport ( ) : FaultReport
Logout ( object sender, EventArgs e ) : void

Event called by Window when logout button is hit

SigningUp ( ) : void

보호된 메소드들

메소드 설명
OnSourceInitialized ( EventArgs e ) : void

Setup so that we can receive messages from other windows in the OS

비공개 메소드들

메소드 설명
ActivateEngagement ( Attendance attendance ) : void
ActivateEngagement ( string username ) : void
ActivateSearchUi ( ) : void
ActiveRosterChanged ( object sender, NotifyCollectionChangedEventArgs notifyCollectionChangedEventArgs ) : void

Called when the active roster changes

ChatRemoteAccessId_Click ( object sender, RoutedEventArgs e ) : void
CheckActiveEngagements ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

Called on a timer to check which roster elements are no longer active.

ClearCurrentEngagement ( ) : void
ContactSelected ( object sender, RoutedEventArgs e ) : void

When a normal contact is selected, we show the engagement.

Contacts_LostFocus ( object sender, RoutedEventArgs e ) : void

When we click on another button, Team must lose focus so when its clicked on again, the select item event fires.

CurrentUserOnPropertyChanged ( object sender, PropertyChangedEventArgs propertyChangedEventArgs ) : void

Event which gets fired when the current user changes some of his details

Elevate ( String message ) : string
EngagementManagerOnNewActivity ( object sender, EngagementActivity args ) : void

Called if there is new activity on an engagement, so we can prompt the user

ErrorRemoteIdBox ( ) : void
ExitApplication ( object sender, RoutedEventArgs e ) : void

Event called when the exit button is pressed, starts a new thread to shutdown the application (this is so the dispatcher is not responsible for this)

Hide ( ) : void
HideIfClosing ( object sender, CancelEventArgs e ) : void
HideIfMinimized ( object sender, EventArgs e ) : void
InitWindowHandle ( ) : void
LoggedIn ( ) : void
LoggingIn ( ) : void
Login ( ) : void
LoginFailed ( DataSubmitErrorArgs dataSubmissionErrors ) : void
LoginManagerOnLoggedOut ( object sender, LoginEventArgs loginEventArgs ) : void

Event called when we are logged out

NavigateToUrl ( object sender, System.Windows.Navigation.RequestNavigateEventArgs e ) : void
NotificationFilter ( object sender, System.Windows.Data.FilterEventArgs eventArgs ) : void

The filter which determines whether a notification should be shown, this is for general notifications, filters out notifications for a specific user.

Notification_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
NotificationsOnCollectionChanged ( object sender, NotifyCollectionChangedEventArgs notifyCollectionChangedEventArgs ) : void

If the notification collection changes, we must refresh the view.

OnEngagementPropertyChange ( object sender, PropertyChangedEventArgs propertyChangedEventArgs ) : void
OnPreviewMouseUp ( object sender, MouseButtonEventArgs e ) : void
ProcessSearch ( ) : void
PromptSignup ( DataSubmitErrorArgs dataSubmitErrorArgs = null ) : void
RefreshRosters ( ) : void
RemoteIdKeyDown ( object sender, System e ) : void
ReportFaultButtonClick ( object sender, System e ) : void
Reset ( ) : void

Reset the dashboard (normally on disconnect)

ResetRemoteIdBox ( ) : void
ResetUnreadIfVisible ( Engagement engagement ) : void
SearchBoxMenuOnSelectionChanged ( object sender, SelectionChangedEventArgs selectionChangedEventArgs ) : void
SearchBox_GotFocus ( object sender, System e ) : void
SearchBox_LostFocus ( object sender, System e ) : void
SearchMenuClick ( object sender, System e ) : void
SearchRemoteId ( bool searching ) : void
Search_TextChanged ( object sender, TextChangedEventArgs e ) : void
SetTitle ( ) : void
SettingsOnPropertyChanged ( object sender, PropertyChangedEventArgs propertyChangedEventArgs ) : void
Settings_Click ( object sender, System e ) : void
SetupCurrentUserListener ( ) : void

Listen for changes on the current user (so that if we change the current info, we know about it)

SetupEngagementWindows ( ) : void
SetupNotificationHandler ( ) : void

Setup the notification handling

SetupPartner ( ) : void
SetupRoster ( ) : void
SetupSearch ( ) : void
Show ( ) : void
ShowEngagement ( Attendance attendance ) : void
Team_Click ( object sender, System e ) : void
UserInfo_Click ( object sender, System e ) : void
WindowStateChanged ( object sender, EventArgs e ) : void

메소드 상세

Alert() 공개 메소드

public Alert ( string message ) : void
message string
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

CompleteElevate() 공개 메소드

public CompleteElevate ( ) : void
리턴 void

Dashboard() 공개 메소드

public Dashboard ( GwupeClientAppContext appContext ) : System
appContext GwupeClientAppContext
리턴 System

GenerateFaultReport() 공개 메소드

public GenerateFaultReport ( ) : FaultReport
리턴 FaultReport

Logout() 공개 메소드

Event called by Window when logout button is hit
public Logout ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

OnSourceInitialized() 보호된 메소드

Setup so that we can receive messages from other windows in the OS
protected OnSourceInitialized ( EventArgs e ) : void
e EventArgs
리턴 void

SigningUp() 공개 메소드

public SigningUp ( ) : void
리턴 void