C# Class FarsiLibrary.Win.FAPopup.FAShadow

Inheritance: FAPopupContainer
显示文件 Open project: HEskandari/FarsiLibrary Class Usage Examples

Private Properties

Property Type Description
CheckRectangle System.Drawing.Rectangle
CheckShadowIntersects System.Drawing.Rectangle
CreateBrush System.Drawing.Brush
NeedHideCursor bool

Public Methods

Method Description
CreateShadows ( ArrayList shadows, int shadowSize, bool canShow, Form form, Rectangle creatorRect ) : void
CreateShadows ( ArrayList shadows, int shadowSize, bool canShow, Form form, Rectangle creatorRect1, Rectangle creatorRect2 ) : void
DestroyShadows ( ArrayList shadows ) : void
FAShadow ( bool horz, int width, Form Owner ) : System
HideShadow ( ) : void
HideShadows ( ArrayList shadows ) : void
MoveShadow ( ) : void
ShowShadow ( ) : void
ShowShadows ( ArrayList shadows ) : void
ShowShadows ( ArrayList shadows, bool show ) : void
UpdateShadows ( ArrayList shadows, Rectangle creatorRect1, Rectangle creatorRect2, int shadowSize ) : void
UpdateShadows ( ArrayList shadows, Rectangle creatorRect, int shadowSize ) : void

Protected Methods

Method Description
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Method Description
CheckRectangle ( Rectangle r ) : Rectangle
CheckShadowIntersects ( Rectangle shadow, Rectangle rect ) : Rectangle
CreateBrush ( bool horz, int width ) : Brush
NeedHideCursor ( Control control ) : bool

Method Details

CreateShadows() public static method

public static CreateShadows ( ArrayList shadows, int shadowSize, bool canShow, Form form, Rectangle creatorRect ) : void
shadows System.Collections.ArrayList
shadowSize int
canShow bool
form System.Windows.Forms.Form
creatorRect System.Drawing.Rectangle
return void

CreateShadows() public static method

public static CreateShadows ( ArrayList shadows, int shadowSize, bool canShow, Form form, Rectangle creatorRect1, Rectangle creatorRect2 ) : void
shadows System.Collections.ArrayList
shadowSize int
canShow bool
form System.Windows.Forms.Form
creatorRect1 System.Drawing.Rectangle
creatorRect2 System.Drawing.Rectangle
return void

DestroyShadows() public static method

public static DestroyShadows ( ArrayList shadows ) : void
shadows System.Collections.ArrayList
return void

FAShadow() public method

public FAShadow ( bool horz, int width, Form Owner ) : System
horz bool
width int
Owner System.Windows.Forms.Form
return System

HideShadow() public method

public HideShadow ( ) : void
return void

HideShadows() public static method

public static HideShadows ( ArrayList shadows ) : void
shadows System.Collections.ArrayList
return void

MoveShadow() public method

public MoveShadow ( ) : void
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

ShowShadow() public method

public ShowShadow ( ) : void
return void

ShowShadows() public static method

public static ShowShadows ( ArrayList shadows ) : void
shadows System.Collections.ArrayList
return void

ShowShadows() public static method

public static ShowShadows ( ArrayList shadows, bool show ) : void
shadows System.Collections.ArrayList
show bool
return void

UpdateShadows() public static method

public static UpdateShadows ( ArrayList shadows, Rectangle creatorRect1, Rectangle creatorRect2, int shadowSize ) : void
shadows System.Collections.ArrayList
creatorRect1 System.Drawing.Rectangle
creatorRect2 System.Drawing.Rectangle
shadowSize int
return void

UpdateShadows() public static method

public static UpdateShadows ( ArrayList shadows, Rectangle creatorRect, int shadowSize ) : void
shadows System.Collections.ArrayList
creatorRect System.Drawing.Rectangle
shadowSize int
return void

WndProc() protected method

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void