C# Class SublimeOverlay.MainForm

Inheritance: System.Windows.Forms.Form
显示文件 Open project: mikadev001/SublimeText-Overlay Class Usage Examples

Public Methods

Method Description
FitToWindow ( ) : void
HideTitle ( ) : void
HideTitleBar ( IntPtr hwnd ) : void
IdealTextColor ( Color bg ) : Color
MainForm ( ) : System
RefreshColor ( ) : void
RefreshVisuals ( ) : void
ToggleTitle ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

WndProc ( Message &m ) : void

Private Methods

Method Description
DockWindow ( ) : void
Drag ( object sender, MouseEventArgs e ) : void
GetTitleText ( IntPtr hWnd ) : string
HookChildTracker ( ) : void
Initialize ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InvalidateWindow ( IntPtr hWnd ) : void
MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
MainForm_GotFocus ( object sender, EventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
MainForm_Move ( object sender, EventArgs e ) : void
Maximize ( ) : void
Minimize ( ) : void
MoveWindowControls ( WindowControlPosition position ) : void
ParseArgs ( ) : void
RestorePreviousSize ( ) : void
RoundRegion ( int width, int height, int wRadius ) : Region
RunSublime ( string path ) : bool
SetRestoreSize ( ) : void
closeButton_Click ( object sender, EventArgs e ) : void
container_Resize ( object sender, EventArgs e ) : void
editor_Exited ( object sender, EventArgs e ) : void
isWindowActive ( IntPtr hWnd ) : bool
maximizeButton_Click ( object sender, EventArgs e ) : void
minimizeButton_Click ( object sender, EventArgs e ) : void
panelContainer_MouseDown ( object sender, MouseEventArgs e ) : void
panelContainer_MouseLeave ( object sender, EventArgs e ) : void
panelContainer_MouseMove ( object sender, MouseEventArgs e ) : void
panelContainer_MouseUp ( object sender, MouseEventArgs e ) : void
settingsButton_Click ( object sender, EventArgs e ) : void
titleBar_DoubleClick ( object sender, EventArgs e ) : void
titleText_DoubleClick ( object sender, EventArgs e ) : void
titleWatcher_Tick ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

FitToWindow() public method

public FitToWindow ( ) : void
return void

HideTitle() public method

public HideTitle ( ) : void
return void

HideTitleBar() public method

public HideTitleBar ( IntPtr hwnd ) : void
hwnd System.IntPtr
return void

IdealTextColor() public method

public IdealTextColor ( Color bg ) : Color
bg Color
return Color

MainForm() public method

public MainForm ( ) : System
return System

RefreshColor() public method

public RefreshColor ( ) : void
return void

RefreshVisuals() public method

public RefreshVisuals ( ) : void
return void

ToggleTitle() public method

public ToggleTitle ( ) : void
return void

WndProc() protected method

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void