C# Class _3PA.MainFeatures.Appli.Appli

Handles the application main window
Datei anzeigen Open project: jcaillon/3P

Public Methods

Method Description
ForceClose ( ) : void

Forces the form to close, only when leaving npp

GoToPage ( PageNames pageName ) : void

Opens the application window and go to a specific page

Init ( ) : void

Initializes the main application, since other windows uses this Form reference, it must be called pretty soon in the plugin initialization

IsFocused ( ) : bool

True if the form is focused

IsMouseIn ( ) : bool

Returns true if the cursor is within the form window

Refresh ( ) : void
ToggleView ( ) : void

Call this method to toggle on/off the application

Method Details

ForceClose() public static method

Forces the form to close, only when leaving npp
public static ForceClose ( ) : void
return void

GoToPage() public static method

Opens the application window and go to a specific page
public static GoToPage ( PageNames pageName ) : void
pageName PageNames
return void

Init() public static method

Initializes the main application, since other windows uses this Form reference, it must be called pretty soon in the plugin initialization
public static Init ( ) : void
return void

IsFocused() public static method

True if the form is focused
public static IsFocused ( ) : bool
return bool

IsMouseIn() public static method

Returns true if the cursor is within the form window
public static IsMouseIn ( ) : bool
return bool

Refresh() public static method

public static Refresh ( ) : void
return void

ToggleView() public static method

Call this method to toggle on/off the application
public static ToggleView ( ) : void
return void