C# 클래스 _3PA.MainFeatures.NppInterfaceForm.NppInterfaceForm

This is the base class for the tooltips and the autocomplete form
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: jcaillon/3P

공개 프로퍼티들

프로퍼티 타입 설명
CurrentForegroundWindow System.IntPtr
FocusedOpacity double
GiveFocusBackToScintilla bool
IsActivated bool
UnfocusedOpacity double

공개 메소드들

메소드 설명
Cloack ( ) : void

hides the form

ForceClose ( ) : void

Call this method instead of Close() to really close this form

GiveFocusBack ( ) : void

Gives focus back to the owner window

NppInterfaceForm ( ) : System

Create a new npp interface form, please set CurrentForegroundWindow

UnCloack ( ) : void

show the form

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
OnActivated ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnShown ( EventArgs e ) : void
SetVisibleCore ( bool value ) : void

This ensures the form is never visible at start

WndProc ( Message &m ) : void

비공개 메소드들

메소드 설명
CheckAeroEnabled ( ) : bool
OnClosing ( object sender, CancelEventArgs cancelEventArgs ) : void

instead of closing, cloak this form (invisible)

PlugOnOnNppWindowsMove ( ) : void

메소드 상세

Cloack() 공개 메소드

hides the form
public Cloack ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

ForceClose() 공개 메소드

Call this method instead of Close() to really close this form
public ForceClose ( ) : void
리턴 void

GiveFocusBack() 공개 메소드

Gives focus back to the owner window
public GiveFocusBack ( ) : void
리턴 void

NppInterfaceForm() 공개 메소드

Create a new npp interface form, please set CurrentForegroundWindow
public NppInterfaceForm ( ) : System
리턴 System

OnActivated() 보호된 메소드

protected OnActivated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnShown() 보호된 메소드

protected OnShown ( EventArgs e ) : void
e EventArgs
리턴 void

SetVisibleCore() 보호된 메소드

This ensures the form is never visible at start
protected SetVisibleCore ( bool value ) : void
value bool
리턴 void

UnCloack() 공개 메소드

show the form
public UnCloack ( ) : void
리턴 void

WndProc() 보호된 메소드

protected WndProc ( Message &m ) : void
m Message
리턴 void

프로퍼티 상세

CurrentForegroundWindow 공개적으로 프로퍼티

Should be set when you create the new form CurrentForegroundWindow = WinApi.GetForegroundWindow();
public IntPtr,System CurrentForegroundWindow
리턴 System.IntPtr

FocusedOpacity 공개적으로 프로퍼티

Sets the Opacity to give to the window when it's focused
public double FocusedOpacity
리턴 double

GiveFocusBackToScintilla 공개적으로 프로퍼티

Set to true if scintilla should get the focus back, false if you want to use CurrentForegroundWindow
public bool GiveFocusBackToScintilla
리턴 bool

IsActivated 공개적으로 프로퍼티

Use this to know if the form is currently activated
public bool IsActivated
리턴 bool

UnfocusedOpacity 공개적으로 프로퍼티

Sets the Opacity to give to the window when it's not focused
public double UnfocusedOpacity
리턴 double