C# Class SublimeOverlay.MainForm

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: mikadev001/SublimeText-Overlay Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

WndProc ( Message &m ) : void

Private Methods

Méthode 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 méthode

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

FitToWindow() public méthode

public FitToWindow ( ) : void
Résultat void

HideTitle() public méthode

public HideTitle ( ) : void
Résultat void

HideTitleBar() public méthode

public HideTitleBar ( IntPtr hwnd ) : void
hwnd System.IntPtr
Résultat void

IdealTextColor() public méthode

public IdealTextColor ( Color bg ) : Color
bg Color
Résultat Color

MainForm() public méthode

public MainForm ( ) : System
Résultat System

RefreshColor() public méthode

public RefreshColor ( ) : void
Résultat void

RefreshVisuals() public méthode

public RefreshVisuals ( ) : void
Résultat void

ToggleTitle() public méthode

public ToggleTitle ( ) : void
Résultat void

WndProc() protected méthode

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
Résultat void