C# 클래스 TrakHound_Dashboard.MainWindow

파일 보기 프로젝트 열기: TrakHound/TrakHound-Community

공개 프로퍼티들

프로퍼티 타입 설명
CurrentPageProperty DependencyProperty
DevConsole_ShownProperty DependencyProperty
DeveloperConsoleHeightProperty DependencyProperty
NotificationsCountProperty DependencyProperty
ServerInstalledProperty DependencyProperty
ServerRunningProperty DependencyProperty
ServerStatusProperty DependencyProperty
aboutManager PageManager
accountManager PageManager
addDevicePage TrakHound_Dashboard.Pages.DeviceManager.AddDevice.Page
deviceListPage DeviceList
optionsManager PageManager

Private Properties

프로퍼티 타입 설명
About_Initialize void
AccountManager_Initialize void
AddDevicePage_PageClosed void
AddPlugins void
AddWelcomeMessage void
AnimateTabPageClose void
AnimateTabPageClose_Completed void
AnimateTabPageOpen void
ChangePage_Backward void
ChangePage_Forward void
CheckCancel bool
CheckVersion void
ClearDevices void
ClientReader_LineAdded void
DeveloperConsole_ToolBarItem_Clicked void
DeviceManager_AddDevice_DeviceListSelected void
DeviceManager_AddDevice_EditTableSelected void
DeviceManager_DeviceList_AddDeviceSelected void
DeviceManager_DeviceList_DeviceEditSelected void
DeviceManager_DeviceList_DeviceManagerListSelected void
DeviceManager_DeviceList_Initialize void
DeviceManager_EditDevice_DeviceListSelected void
FindPluginConfiguration PluginConfiguration
GetPluginConfigurations List
GetPlugins List
GetPlugins List
GetPlugins List
GetTabPanelWidth double
LoadDevices void
LoadDevicesRequested void
LoadLocalDevices void
LoadPlugins void
LoadUserDevices void
Log_Initialize void
Log_Updated_GUI void
LoggerConfigurationFileMonitor_Changed void
LoggerConfigurationFileMonitor_Start void
Login void
Login_Finished void
Login_Worker void
Main_Window_Closed void
Main_Window_Closing void
Main_Window_PreviewKeyUp void
Main_Window_PreviewMouseDown void
Main_Window_SizeChanged void
MessageCenter_ToolBarItem_Clicked void
Options_Initialize void
Plugin_CreateOptionsPage void
Plugin_LoadSubPlugins void
Plugin_LoadSubPlugins void
Plugin_SendData void
Plugins_Closed void
ProcessPluginConfigurations List
ProcessSendData void
SendCurrentDevices void
SendCurrentDevices void
SendDeviceAddedMessage void
SendDeviceRemovedMessage void
SendDeviceUpdatedMessage void
SendDevicesLoadedMessage void
SendDevicesLoadingMessage void
SendEventData void
ServerMonitor_GUI void
ServerMonitor_Initialize void
ServerMonitor_Timer_Elapsed void
ServerReader_LineAdded void
SetTabWidths void
ShowDeviceManagerRequested void
ShowEditDeviceRequested void
ShowMe void
ShowRequested void
Splash_Close void
Splash_Initialize void
Splash_Show void
Splash_Show_GUI void
Splash_UpdateStatus void
Splash_UpdateStatus_GUI void
StartLogReaders void
StartMessageMonitor void
TabHeader_Clicked void
TabHeader_CloseClicked void
TabHeader_Closed void
TabHeader_Opened void
Timer_Elapsed void
TokenLogin_Worker void
TopBar_UserInfo_MouseDown void
UpdateUserSettings void
WndProc System.IntPtr
accountpage_UserChanged void
config_EnabledChanged void
developerConsole_ShownChanged void

공개 메소드들

메소드 설명
About_Open ( ) : void
AccountManager_Open ( ) : void
AddDevice ( DeviceDescription device ) : void

Adds a device to the Device List

AddTab ( IPage page, string name = null, ImageSource image = null, string tag = null ) : void
CloseTab ( string name, string tag = null ) : void
DeviceManager_AddDevice_Initialize ( ) : void
DeviceManager_AddDevice_Open ( ) : void
DeviceManager_DeviceList_Open ( ) : void
DeviceManager_EditDevice_Open ( DeviceDescription device ) : void
FindTab ( IPage page, string name = null, string tag = null ) : TabHeader
FindTab ( int index ) : TabHeader
FindTab ( string name, string tag = null ) : TabHeader
FindTabIndex ( TabHeader header ) : int
FindTabIndex ( string name, string tag = null ) : int
LoadSavedPageZoomValue ( IPage page ) : double
Login ( string username, string password ) : void
Logout ( ) : void
Logout_Finished ( bool success ) : void
Logout_Worker ( object o ) : void
MainWindow ( ) : System
OpenBugReport ( ) : void
OpenBugReport ( Exception ex ) : void
Options_AddPage ( IPage page ) : void
Options_Open ( ) : void
Plugin_Load ( PluginConfiguration config ) : void

Load Plugin if Enabled

SavePageZoomLevel ( IPage page, double zoomPercentage ) : void
SelectTab ( IPage page, string tag = null ) : void
SelectTab ( TabHeader header ) : void
SelectTab ( int index ) : void
SelectTab ( string name, string tag = null ) : void
TokenLogin ( string token ) : void
WelcomeMessage_Clicked ( object obj ) : void
init ( ) : void

보호된 메소드들

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

비공개 메소드들

메소드 설명
About_Initialize ( ) : void
AccountManager_Initialize ( ) : void
AddDevicePage_PageClosed ( ) : void
AddPlugins ( List newPlugins, List oldPlugins ) : void

Add plugins to list making sure that plugins are not repeated in list

AddWelcomeMessage ( ) : void
AnimateTabPageClose ( ) : void
AnimateTabPageClose_Completed ( object sender, EventArgs e ) : void
AnimateTabPageOpen ( ) : void
ChangePage_Backward ( ) : void
ChangePage_Forward ( ) : void
CheckCancel ( TabHeader header ) : bool
CheckVersion ( ) : void
ClearDevices ( ) : void

Clears the Device List

ClientReader_LineAdded ( System.Line line ) : void
DeveloperConsole_ToolBarItem_Clicked ( TrakHound_UI bt ) : void
DeviceManager_AddDevice_DeviceListSelected ( ) : void
DeviceManager_AddDevice_EditTableSelected ( DeviceConfiguration config ) : void
DeviceManager_DeviceList_AddDeviceSelected ( ) : void
DeviceManager_DeviceList_DeviceEditSelected ( DeviceDescription device ) : void
DeviceManager_DeviceList_DeviceManagerListSelected ( ) : void
DeviceManager_DeviceList_Initialize ( ) : void
DeviceManager_EditDevice_DeviceListSelected ( ) : void
FindPluginConfiguration ( IClientPlugin plugin, List configs ) : PluginConfiguration

Find a PluginConfiguration item in 'configs' using 'name' as an identifier Searches all subpluginconfigurations also

GetPluginConfigurations ( List plugins ) : List

Get a list of PluginConfigurations

GetPlugins ( ) : List

Get a list of IClientPlugins

GetPlugins ( Assembly assembly ) : List

Get a list of plugins in the specified Assembly

GetPlugins ( string path ) : List

Get a list of plugins in the specified path

GetTabPanelWidth ( ) : double
LoadDevices ( ) : void
LoadDevicesRequested ( EventData data ) : void
LoadLocalDevices ( ) : void
LoadPlugins ( ) : void
LoadUserDevices ( object o ) : void
Log_Initialize ( ) : void
Log_Updated_GUI ( System.Line line, string applicationName ) : void
LoggerConfigurationFileMonitor_Changed ( object sender, FileSystemEventArgs e ) : void
LoggerConfigurationFileMonitor_Start ( ) : void
Login ( UserConfiguration userConfig ) : void
Login_Finished ( UserConfiguration userConfig ) : void
Login_Worker ( object o ) : void
Main_Window_Closed ( object sender, EventArgs e ) : void
Main_Window_Closing ( object sender, System e ) : void
Main_Window_PreviewKeyUp ( object sender, KeyEventArgs e ) : void
Main_Window_PreviewMouseDown ( object sender, MouseButtonEventArgs e ) : void
Main_Window_SizeChanged ( object sender, SizeChangedEventArgs e ) : void
MessageCenter_ToolBarItem_Clicked ( TrakHound_UI bt ) : void
Options_Initialize ( ) : void
Plugin_CreateOptionsPage ( IClientPlugin plugin ) : void

Create an Options page for the plugin and add it to the Options Manager

Plugin_LoadSubPlugins ( IClientPlugin plugin ) : void

Process the SubPlugins

Plugin_LoadSubPlugins ( PluginConfiguration config ) : void

Add the 'sub' plugins to the PluginConfiguration

Plugin_SendData ( EventData data ) : void

Plugin has sent a DataEvent_Data object to other plugins

Plugins_Closed ( ) : void

Signal plugins to close

ProcessPluginConfigurations ( List configs ) : List

Process the PluginConfigurations for SubCategories

ProcessSendData ( object o ) : void
SendCurrentDevices ( ) : void
SendCurrentDevices ( IPage page ) : void
SendDeviceAddedMessage ( DeviceDescription device ) : void
SendDeviceRemovedMessage ( DeviceDescription device ) : void
SendDeviceUpdatedMessage ( DeviceDescription device ) : void
SendDevicesLoadedMessage ( ) : void
SendDevicesLoadingMessage ( ) : void
SendEventData ( EventData data ) : void
ServerMonitor_GUI ( ) : void
ServerMonitor_Initialize ( ) : void
ServerMonitor_Timer_Elapsed ( object sender, System e ) : void
ServerReader_LineAdded ( System.Line line ) : void
SetTabWidths ( ) : void
ShowDeviceManagerRequested ( EventData data ) : void
ShowEditDeviceRequested ( EventData data ) : void
ShowMe ( ) : void
ShowRequested ( EventData data ) : void

Page has sent a message requesting to be shown as a tab de_d.id = 'show' de_d.data01 = Configuration de_d.data02 = Page (IPage) de_d.data03 = [Optional] Alternate Title de_d.data04 = [Optional] Tag

Splash_Close ( ) : void
Splash_Initialize ( ) : void
Splash_Show ( ) : void
Splash_Show_GUI ( ) : void
Splash_UpdateStatus ( string status, double loadingProgress ) : void
Splash_UpdateStatus_GUI ( string status, double loadingProgress ) : void
StartLogReaders ( ) : void
StartMessageMonitor ( ) : void
TabHeader_Clicked ( TabHeader header ) : void
TabHeader_CloseClicked ( TabHeader header ) : void
TabHeader_Closed ( object sender, EventArgs e ) : void
TabHeader_Opened ( object sender, EventArgs e ) : void
Timer_Elapsed ( object sender, System e ) : void
TokenLogin_Worker ( object o ) : void
TopBar_UserInfo_MouseDown ( object sender, System e ) : void
UpdateUserSettings ( ) : void
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr
accountpage_UserChanged ( UserConfiguration userConfig ) : void
config_EnabledChanged ( PluginConfiguration sender ) : void
developerConsole_ShownChanged ( bool shown ) : void

메소드 상세

About_Open() 공개 메소드

public About_Open ( ) : void
리턴 void

AccountManager_Open() 공개 메소드

public AccountManager_Open ( ) : void
리턴 void

AddDevice() 공개 메소드

Adds a device to the Device List
public AddDevice ( DeviceDescription device ) : void
device DeviceDescription
리턴 void

AddTab() 공개 메소드

public AddTab ( IPage page, string name = null, ImageSource image = null, string tag = null ) : void
page IPage
name string
image ImageSource
tag string
리턴 void

CloseTab() 공개 메소드

public CloseTab ( string name, string tag = null ) : void
name string
tag string
리턴 void

DeviceManager_AddDevice_Initialize() 공개 메소드

public DeviceManager_AddDevice_Initialize ( ) : void
리턴 void

DeviceManager_AddDevice_Open() 공개 메소드

public DeviceManager_AddDevice_Open ( ) : void
리턴 void

DeviceManager_DeviceList_Open() 공개 메소드

public DeviceManager_DeviceList_Open ( ) : void
리턴 void

DeviceManager_EditDevice_Open() 공개 메소드

public DeviceManager_EditDevice_Open ( DeviceDescription device ) : void
device DeviceDescription
리턴 void

FindTab() 공개 메소드

public FindTab ( IPage page, string name = null, string tag = null ) : TabHeader
page IPage
name string
tag string
리턴 TabHeader

FindTab() 공개 메소드

public FindTab ( int index ) : TabHeader
index int
리턴 TabHeader

FindTab() 공개 메소드

public FindTab ( string name, string tag = null ) : TabHeader
name string
tag string
리턴 TabHeader

FindTabIndex() 공개 메소드

public FindTabIndex ( TabHeader header ) : int
header TabHeader
리턴 int

FindTabIndex() 공개 메소드

public FindTabIndex ( string name, string tag = null ) : int
name string
tag string
리턴 int

LoadSavedPageZoomValue() 공개 정적인 메소드

public static LoadSavedPageZoomValue ( IPage page ) : double
page IPage
리턴 double

Login() 공개 메소드

public Login ( string username, string password ) : void
username string
password string
리턴 void

Logout() 공개 메소드

public Logout ( ) : void
리턴 void

Logout_Finished() 공개 메소드

public Logout_Finished ( bool success ) : void
success bool
리턴 void

Logout_Worker() 공개 메소드

public Logout_Worker ( object o ) : void
o object
리턴 void

MainWindow() 공개 메소드

public MainWindow ( ) : System
리턴 System

OnSourceInitialized() 보호된 메소드

protected OnSourceInitialized ( EventArgs e ) : void
e System.EventArgs
리턴 void

OpenBugReport() 공개 메소드

public OpenBugReport ( ) : void
리턴 void

OpenBugReport() 공개 메소드

public OpenBugReport ( Exception ex ) : void
ex System.Exception
리턴 void

Options_AddPage() 공개 메소드

public Options_AddPage ( IPage page ) : void
page IPage
리턴 void

Options_Open() 공개 메소드

public Options_Open ( ) : void
리턴 void

Plugin_Load() 공개 메소드

Load Plugin if Enabled
public Plugin_Load ( PluginConfiguration config ) : void
config PluginConfiguration
리턴 void

SavePageZoomLevel() 공개 정적인 메소드

public static SavePageZoomLevel ( IPage page, double zoomPercentage ) : void
page IPage
zoomPercentage double
리턴 void

SelectTab() 공개 메소드

public SelectTab ( IPage page, string tag = null ) : void
page IPage
tag string
리턴 void

SelectTab() 공개 메소드

public SelectTab ( TabHeader header ) : void
header TabHeader
리턴 void

SelectTab() 공개 메소드

public SelectTab ( int index ) : void
index int
리턴 void

SelectTab() 공개 메소드

public SelectTab ( string name, string tag = null ) : void
name string
tag string
리턴 void

TokenLogin() 공개 메소드

public TokenLogin ( string token ) : void
token string
리턴 void

WelcomeMessage_Clicked() 공개 메소드

public WelcomeMessage_Clicked ( object obj ) : void
obj object
리턴 void

init() 공개 메소드

public init ( ) : void
리턴 void

프로퍼티 상세

CurrentPageProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty CurrentPageProperty
리턴 DependencyProperty

DevConsole_ShownProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty DevConsole_ShownProperty
리턴 DependencyProperty

DeveloperConsoleHeightProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty DeveloperConsoleHeightProperty
리턴 DependencyProperty

NotificationsCountProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty NotificationsCountProperty
리턴 DependencyProperty

ServerInstalledProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty ServerInstalledProperty
리턴 DependencyProperty

ServerRunningProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty ServerRunningProperty
리턴 DependencyProperty

ServerStatusProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty ServerStatusProperty
리턴 DependencyProperty

aboutManager 공개적으로 프로퍼티

public PageManager aboutManager
리턴 PageManager

accountManager 공개적으로 프로퍼티

public PageManager accountManager
리턴 PageManager

addDevicePage 공개적으로 프로퍼티

public Page,TrakHound_Dashboard.Pages.DeviceManager.AddDevice addDevicePage
리턴 TrakHound_Dashboard.Pages.DeviceManager.AddDevice.Page

deviceListPage 공개적으로 프로퍼티

public DeviceList deviceListPage
리턴 DeviceList

optionsManager 공개적으로 프로퍼티

public PageManager optionsManager
리턴 PageManager