C# Класс Gwupe.Agent.UI.WPF.Dashboard

Interaction logic for Dashboard.xaml
Показать файл Открыть проект Примеры использования класса

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