C# Class ServiceBusMQManager.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
Show file Open project: danielHalan/ServiceBusMQManager

Public Methods

Method Description
CheckIfLatestVersion ( bool startedByUser ) : void
MainWindow ( ) : System
ShowActivityTrayIcon ( ) : void
SystemEvents_DisplaySettingsChanged ( object sender, EventArgs e ) : void
UpdateNotifyIconText ( ) : void
_dlg_Closed ( object sender, EventArgs e ) : void
_notifyIcon_MouseMove ( object sender, System e ) : void
_sys_ErrorOccured ( object sender, ServiceBusMQ.Manager.ErrorArgs e ) : void
_sys_FinishedLoadingQueues ( object sender, EventArgs e ) : void
_sys_StartedLoadingQueues ( object sender, EventArgs e ) : void
_sys_WarningOccured ( object sender, ServiceBusMQ.Manager.WarningArgs e ) : void
cvt_HiddenRunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
cvt_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Protected Methods

Method Description
OnStateChanged ( EventArgs e ) : void

Private Methods

Method Description
ChangeMinimizedState ( bool value ) : void
ChangedMonitorFlag ( QueueType type, bool newState ) : void
CheckVersion_Click ( object sender, RoutedEventArgs e ) : void
ContextMenu_Closed ( object sender, RoutedEventArgs e ) : void
ContextMenu_Opened ( object sender, RoutedEventArgs e ) : void
CreateContentWindow ( ) : ServiceBusMQManager.ContentWindow
CreateNotifyIcon ( ) : void
DisableListView ( string message ) : void
EnableListView ( ) : void
GetQueueItemContent ( ServiceBusMQ.Model.QueueItem itm ) : string
GetQueueStatusString ( ) : string
Grid_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
HandleMinimizeToTrayClick ( Object sender, RoutedEventArgs e ) : void
HasFeature ( ServiceBusFeature feat ) : bool
InitSystem ( ) : void
LoadProcessedQueueItems ( System.TimeSpan timeSpan ) : void
LogError ( string msg, Exception exception, bool fatal = false ) : void
LogInfo ( string msg ) : void
RestartSystem ( ) : void
RestoreMonitorQueueState ( ) : void
RestoreQueueButtonsState ( ) : void
RestoreWindowState ( ) : void
SetAlwaysOnTop ( bool value ) : void
SetDefaultWindowPosition ( ) : void
SetSelectedItem ( ServiceBusMQ.Model.QueueItem itm ) : void
SetupContextMenu ( ) : void
ShowConfigDialog ( ) : void
ShowMainWindow ( ) : void
ShowNewerVersionDialog ( List inf ) : void
ShowProcessedMsgPastDays_Click ( object sender, RoutedEventArgs e ) : void
ShowProcessedMsg_Click ( object sender, RoutedEventArgs e ) : void
SnapWindowToEdge ( ) : void
StoreUIState ( ) : void
UpdateButtonLabel ( System.Windows.Controls.Primitives.ToggleButton btn ) : void
UpdateContentWindow ( ) : void
UpdateContextMenu ( ServiceBusMQ.Model.QueueItem itm ) : void
UpdateTitle ( ) : void
Window_Closed ( object sender, EventArgs e ) : void
Window_Closing ( object sender, System e ) : void
Window_IsVisibleChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void
Window_LocationChanged ( object sender, EventArgs e ) : void
Window_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Window_SourceInitialized ( object sender, EventArgs e ) : void
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr
_BindContextMenuItem ( System.Windows.Controls.MenuItem mi, ServiceBusMQ.Model.QueueItem itm, bool>.Func eval = null ) : void
btnClearProcessed_Click ( object sender, RoutedEventArgs e ) : void
btnSendCommand_Click ( object sender, RoutedEventArgs e ) : void
btnSettings_Click ( object sender, RoutedEventArgs e ) : void
btnShowProcessed_Click ( object sender, RoutedEventArgs e ) : void
btnViewSubscriptions_Click ( object sender, RoutedEventArgs e ) : void
btn_Checked ( object sender, RoutedEventArgs e ) : void
btn_Unchecked ( object sender, RoutedEventArgs e ) : void
frmMain_Activated ( object sender, EventArgs e ) : void
lbItems_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
lbItems_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
miClose_Click ( object sender, EventArgs e ) : void
miCopyMessageContent_Click ( object sender, RoutedEventArgs e ) : void
miCopyMessageID_Click ( object sender, RoutedEventArgs e ) : void
miCopyMessageName_Click ( object sender, RoutedEventArgs e ) : void
miDeleteAllErrorMessage_Click ( object sender, RoutedEventArgs e ) : void
miDeleteAllMessage_Click ( object sender, RoutedEventArgs e ) : void
miDeleteMessage_Click ( object sender, RoutedEventArgs e ) : void
miDeleteQueryMessage_Click ( object sender, RoutedEventArgs e ) : void
miResendCommand_Click ( object sender, RoutedEventArgs e ) : void
miReturnErrorMsg_Click ( object sender, RoutedEventArgs e ) : void
miToggleAlwaysOnTop_Click ( object sender, RoutedEventArgs e ) : void
sys_ItemsChanged ( object sender, ServiceBusMQ e ) : void
tbSearchString_FilterChanged ( object sender, Controls e ) : void
tbSearchString_FilterCleared ( object sender, RoutedEventArgs e ) : void
timer_Tick ( object sender, EventArgs e ) : void

Method Details

CheckIfLatestVersion() public method

public CheckIfLatestVersion ( bool startedByUser ) : void
startedByUser bool
return void

MainWindow() public method

public MainWindow ( ) : System
return System

OnStateChanged() protected method

protected OnStateChanged ( EventArgs e ) : void
e System.EventArgs
return void

ShowActivityTrayIcon() public method

public ShowActivityTrayIcon ( ) : void
return void

SystemEvents_DisplaySettingsChanged() public method

public SystemEvents_DisplaySettingsChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

UpdateNotifyIconText() public method

public UpdateNotifyIconText ( ) : void
return void

_dlg_Closed() public method

public _dlg_Closed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

_notifyIcon_MouseMove() public method

public _notifyIcon_MouseMove ( object sender, System e ) : void
sender object
e System
return void

_sys_ErrorOccured() public method

public _sys_ErrorOccured ( object sender, ServiceBusMQ.Manager.ErrorArgs e ) : void
sender object
e ServiceBusMQ.Manager.ErrorArgs
return void

_sys_FinishedLoadingQueues() public method

public _sys_FinishedLoadingQueues ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

_sys_StartedLoadingQueues() public method

public _sys_StartedLoadingQueues ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

_sys_WarningOccured() public method

public _sys_WarningOccured ( object sender, ServiceBusMQ.Manager.WarningArgs e ) : void
sender object
e ServiceBusMQ.Manager.WarningArgs
return void

cvt_HiddenRunWorkerCompleted() public method

public cvt_HiddenRunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object
e System.ComponentModel.RunWorkerCompletedEventArgs
return void

cvt_RunWorkerCompleted() public method

public cvt_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object
e System.ComponentModel.RunWorkerCompletedEventArgs
return void