C# Class _3PA.MainFeatures.Appli.AppliForm

Inheritance: YamuiFramework.Forms.YamuiForm
Mostrar archivo Open project: jcaillon/3P Class Usage Examples

Public Properties

Property Type Description
CurrentForegroundWindow System.IntPtr

Public Methods

Method Description
AppliForm ( ) : System
Cloack ( ) : void

hides the form

DoShow ( ) : void

should be called after Show() or ShowDialog() for a sweet animation

ForceClose ( ) : void

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

GiveFocusBack ( ) : void

Gives focus back to the owner window

HandleKeyPressed ( Keys key, KeyModifiers keyModifiers ) : bool

Handling key board event sent from the global hook

UnCloack ( ) : void

show the form

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnActivated ( EventArgs e ) : void

When the form gets activated..

OnClosing ( CancelEventArgs e ) : void
OnDeactivate ( EventArgs e ) : void
SetVisibleCore ( bool value ) : void

This ensures the form is never visible at start

Private Methods

Method Description
InitializeComponent ( ) : void

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

Method Details

AppliForm() public method

public AppliForm ( ) : System
return System

Cloack() public method

hides the form
public Cloack ( ) : void
return void

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

DoShow() public method

should be called after Show() or ShowDialog() for a sweet animation
public DoShow ( ) : void
return void

ForceClose() public method

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

GiveFocusBack() public method

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

HandleKeyPressed() public method

Handling key board event sent from the global hook
public HandleKeyPressed ( Keys key, KeyModifiers keyModifiers ) : bool
key Keys
keyModifiers KeyModifiers
return bool

OnActivated() protected method

When the form gets activated..
protected OnActivated ( EventArgs e ) : void
e System.EventArgs
return void

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnDeactivate() protected method

protected OnDeactivate ( EventArgs e ) : void
e System.EventArgs
return void

SetVisibleCore() protected method

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

UnCloack() public method

show the form
public UnCloack ( ) : void
return void

Property Details

CurrentForegroundWindow public_oe property

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