C# Class Selene.Winforms.Ordering.ControlBox

Inheritance: System.Windows.Forms.UserControl, IControlBox
显示文件 Open project: TobiasKappe/Selene

Public Properties

Property Type Description
DefaultPadding int
DefaultSpacing int

Protected Properties

Property Type Description
mPadding int
mSpacing int
x int
y int

Public Methods

Method Description
ControlBox ( ) : System
ControlBox ( int Spacing, int Padding ) : System
LayoutControls ( ) : void

Protected Methods

Method Description
OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void
OnControlRemoved ( System e ) : void
OnVisibleChanged ( System e ) : void
Shift ( Control Subject ) : void
TraitsFor ( Control Subject, int &Primary, int &Secondary ) : void

Private Methods

Method Description
LayoutIfVisible ( ) : void
LayoutIfVisible ( object sender, EventArgs e ) : void

Method Details

ControlBox() public method

public ControlBox ( ) : System
return System

ControlBox() public method

public ControlBox ( int Spacing, int Padding ) : System
Spacing int
Padding int
return System

LayoutControls() public method

public LayoutControls ( ) : void
return void

OnControlAdded() protected method

protected OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void
e System.Windows.Forms.ControlEventArgs
return void

OnControlRemoved() protected method

protected OnControlRemoved ( System e ) : void
e System
return void

OnVisibleChanged() protected method

protected OnVisibleChanged ( System e ) : void
e System
return void

Shift() protected abstract method

protected abstract Shift ( Control Subject ) : void
Subject System.Windows.Forms.Control
return void

TraitsFor() protected abstract method

protected abstract TraitsFor ( Control Subject, int &Primary, int &Secondary ) : void
Subject System.Windows.Forms.Control
Primary int
Secondary int
return void

Property Details

DefaultPadding public_oe static_oe property

public static int DefaultPadding
return int

DefaultSpacing public_oe static_oe property

public static int DefaultSpacing
return int

mPadding protected_oe property

protected int mPadding
return int

mSpacing protected_oe property

protected int mSpacing
return int

x protected_oe property

protected int x
return int

y protected_oe property

protected int y
return int