C# Class OldFashionedFun.MainForm

Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: swax/OldFashionedFun

Public Properties

Property Type Description
EnumWindow Win32.EnumWindowsProc

Public Methods

Method Description
MainForm ( ) : System
OnEnumWindow ( IntPtr hwnd, IntPtr lParam ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Bounce ( double dT, int groundDistance, double &vel, double accel ) : int
GetTargetShelf ( WinInfo info ) : int
InitializeComponent ( ) : void

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

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
OnShelf ( WinInfo info ) : bool
RefreshTimer_Tick ( object sender, EventArgs e ) : void
ShouldWindowBeDisplayed ( IntPtr window ) : bool
StepTimer_Tick ( object sender, EventArgs e ) : void
TestShelf ( IntPtr handle, Win32 shelf ) : void
button1_Click ( 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

MainForm() public method

public MainForm ( ) : System
return System

OnEnumWindow() public method

public OnEnumWindow ( IntPtr hwnd, IntPtr lParam ) : bool
hwnd System.IntPtr
lParam System.IntPtr
return bool

Property Details

EnumWindow public_oe property

public Win32.EnumWindowsProc EnumWindow
return Win32.EnumWindowsProc