C# Class UlteriusServer.Forms.Utilities.UlteriusTray

Mostrar archivo Open project: Ulterius/server

Public Properties

Property Type Description
About System.Windows.Forms.MenuItem
AboutOpen bool
ExitProgram System.Windows.Forms.MenuItem
Menu System.Windows.Forms.ContextMenu
NotificationIcon System.Windows.Forms.NotifyIcon
OpenClient System.Windows.Forms.MenuItem
OpenDonate System.Windows.Forms.MenuItem
RestartProgram System.Windows.Forms.MenuItem

Public Methods

Method Description
RefreshTrayArea ( ) : void
ShowMessage ( string message, string title = "" ) : void
ShowTray ( ) : void

Private Methods

Method Description
AboutEvent ( object sender, EventArgs e ) : void
ExitEvent ( object sender, EventArgs e ) : void
FindWindow ( string lpClassName, string lpWindowName ) : IntPtr
FindWindowEx ( IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow ) : IntPtr
GetClientRect ( IntPtr hWnd, Rect &lpRect ) : bool
OpenAbout ( ) : void
OpenClientEvent ( object sender, EventArgs e ) : void
OpenDonateEvent ( object sender, EventArgs e ) : void
OpenSettingsEvent ( object sender, EventArgs e ) : void
RefreshTrayArea ( IntPtr windowHandle ) : void
RestartEvent ( object sender, EventArgs e ) : void
SendMessage ( IntPtr hWnd, uint msg, int wParam, int lParam ) : IntPtr

Method Details

RefreshTrayArea() public static method

public static RefreshTrayArea ( ) : void
return void

ShowMessage() public static method

public static ShowMessage ( string message, string title = "" ) : void
message string
title string
return void

ShowTray() public static method

public static ShowTray ( ) : void
return void

Property Details

About public_oe static_oe property

public static MenuItem,System.Windows.Forms About
return System.Windows.Forms.MenuItem

AboutOpen public_oe static_oe property

public static bool AboutOpen
return bool

ExitProgram public_oe static_oe property

public static MenuItem,System.Windows.Forms ExitProgram
return System.Windows.Forms.MenuItem

Menu public_oe static_oe property

public static ContextMenu,System.Windows.Forms Menu
return System.Windows.Forms.ContextMenu

NotificationIcon public_oe static_oe property

public static NotifyIcon,System.Windows.Forms NotificationIcon
return System.Windows.Forms.NotifyIcon

OpenClient public_oe static_oe property

public static MenuItem,System.Windows.Forms OpenClient
return System.Windows.Forms.MenuItem

OpenDonate public_oe static_oe property

public static MenuItem,System.Windows.Forms OpenDonate
return System.Windows.Forms.MenuItem

RestartProgram public_oe static_oe property

public static MenuItem,System.Windows.Forms RestartProgram
return System.Windows.Forms.MenuItem