C# Class SuperPutty.ApplicationPanel

Inheritance: System.Windows.Forms.Panel
显示文件 Open project: sepich/superputty Class Usage Examples

Private Properties

Property Type Description
ApplicationPanel_Disposed void
MoveWindow void
MoveWindow void
OnInnerApplicationFocused void
Settings_SettingsSaving void
SuperPuTTY_LayoutChanged void
UpdateTitle void
WinEventProc void

Public Methods

Method Description
ApplicationPanel ( ) : System
ReFocusPuTTY ( string caller ) : bool
RefreshAppWindow ( ) : void

Protected Methods

Method Description
OnHandleDestroyed ( EventArgs e ) : void

Send a close message to the hosted application window when the parent is destroyed

OnResize ( EventArgs e ) : void

Refresh the hosted applications window when the parent changes size

OnSizeChanged ( EventArgs e ) : void

Force redraw of control when size changes

OnVisibleChanged ( EventArgs e ) : void

Create (start) the hosted application when the parent becomes visible

Private Methods

Method Description
ApplicationPanel_Disposed ( object sender, EventArgs e ) : void
MoveWindow ( string src ) : void
MoveWindow ( string src, int x, int y ) : void
OnInnerApplicationFocused ( ) : void
Settings_SettingsSaving ( object sender, CancelEventArgs e ) : void
SuperPuTTY_LayoutChanged ( object sender, Data e ) : void
UpdateTitle ( ) : void
WinEventProc ( IntPtr hWinEventHook, uint eventType, IntPtr hwnd, int idObject, int idChild, uint dwEventThread, uint dwmsEventTime ) : void

Method Details

ApplicationPanel() public method

public ApplicationPanel ( ) : System
return System

OnHandleDestroyed() protected method

Send a close message to the hosted application window when the parent is destroyed
protected OnHandleDestroyed ( EventArgs e ) : void
e System.EventArgs
return void

OnResize() protected method

Refresh the hosted applications window when the parent changes size
protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

OnSizeChanged() protected method

Force redraw of control when size changes
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs Not used
return void

OnVisibleChanged() protected method

Create (start) the hosted application when the parent becomes visible
protected OnVisibleChanged ( EventArgs e ) : void
e System.EventArgs Not used
return void

ReFocusPuTTY() public method

public ReFocusPuTTY ( string caller ) : bool
caller string
return bool

RefreshAppWindow() public method

public RefreshAppWindow ( ) : void
return void