C# 클래스 Forex_Strategy_Builder.Strategy_Layout

Represents the strategies slots into a readable form
상속: System.Windows.Forms.Panel
파일 보기 프로젝트 열기: nuggett11/Forex-Strategy-Builder 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
abtnRemoveSlot System.Windows.Forms.Button[]
apnlSlot System.Windows.Forms.Panel[]
btnAddCloseFilter System.Windows.Forms.Button
btnAddOpenFilter System.Windows.Forms.Button
pnlProperties System.Windows.Forms.Panel

공개 메소드들

메소드 설명
ArrangeStrategyControls ( ) : void

Calculates the position of the controls

BtnClosingFilterHelp_Click ( object sender, EventArgs e ) : void

Shows Closing Filter Help.

InitializeStrategySlots ( ) : void

Initializes the strategy slots

PnlProperties_Paint ( object sender, PaintEventArgs e ) : void

Panel properties Paint

PnlSlot_Paint ( object sender, PaintEventArgs e ) : void

Panel Slot Paint

PnlSlot_Resize ( object sender, EventArgs e ) : void

Panel Strategy Resize

RearangeStrategyControls ( ) : void

Rearranges all controls in panel Strategy

RebuildStrategyControls ( Strategy strategy ) : void

Rebuilds all the controls in panel Strategy

RepaintStrategyControls ( Strategy strategy ) : void

Repaints the strategy slots

Strategy_Layout ( Strategy strategy ) : System

Initializes the strategy field

VScrollBarStrategy_Scroll ( object sender, ScrollEventArgs e ) : void

보호된 메소드들

메소드 설명
OnResize ( EventArgs eventargs ) : void

Arranges the controls after resizing

SetAddSlotButtons ( ) : void

Sets add new slot buttons

비공개 메소드들

메소드 설명
PnlPropertiesCalculateHeight ( int width ) : int

Calculates the height of the Averaging Panel

PnlSlotCalculateHeight ( int slot, int width ) : int

Calculates the height of the Panel Slot

PnlSlotCalculateTotalHeight ( int width ) : int

Calculates the total height of the Panel Slot

메소드 상세

ArrangeStrategyControls() 공개 메소드

Calculates the position of the controls
public ArrangeStrategyControls ( ) : void
리턴 void

BtnClosingFilterHelp_Click() 공개 메소드

Shows Closing Filter Help.
public BtnClosingFilterHelp_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

InitializeStrategySlots() 공개 메소드

Initializes the strategy slots
public InitializeStrategySlots ( ) : void
리턴 void

OnResize() 보호된 메소드

Arranges the controls after resizing
protected OnResize ( EventArgs eventargs ) : void
eventargs System.EventArgs
리턴 void

PnlProperties_Paint() 공개 메소드

Panel properties Paint
public PnlProperties_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
리턴 void

PnlSlot_Paint() 공개 메소드

Panel Slot Paint
public PnlSlot_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
리턴 void

PnlSlot_Resize() 공개 메소드

Panel Strategy Resize
public PnlSlot_Resize ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

RearangeStrategyControls() 공개 메소드

Rearranges all controls in panel Strategy
public RearangeStrategyControls ( ) : void
리턴 void

RebuildStrategyControls() 공개 메소드

Rebuilds all the controls in panel Strategy
public RebuildStrategyControls ( Strategy strategy ) : void
strategy Strategy
리턴 void

RepaintStrategyControls() 공개 메소드

Repaints the strategy slots
public RepaintStrategyControls ( Strategy strategy ) : void
strategy Strategy The strategy
리턴 void

SetAddSlotButtons() 보호된 메소드

Sets add new slot buttons
protected SetAddSlotButtons ( ) : void
리턴 void

Strategy_Layout() 공개 메소드

Initializes the strategy field
public Strategy_Layout ( Strategy strategy ) : System
strategy Strategy
리턴 System

VScrollBarStrategy_Scroll() 공개 메소드

public VScrollBarStrategy_Scroll ( object sender, ScrollEventArgs e ) : void
sender object
e System.Windows.Forms.ScrollEventArgs
리턴 void

프로퍼티 상세

abtnRemoveSlot 공개적으로 프로퍼티

public Button[],System.Windows.Forms abtnRemoveSlot
리턴 System.Windows.Forms.Button[]

apnlSlot 공개적으로 프로퍼티

public Panel[],System.Windows.Forms apnlSlot
리턴 System.Windows.Forms.Panel[]

btnAddCloseFilter 공개적으로 프로퍼티

public Button,System.Windows.Forms btnAddCloseFilter
리턴 System.Windows.Forms.Button

btnAddOpenFilter 공개적으로 프로퍼티

public Button,System.Windows.Forms btnAddOpenFilter
리턴 System.Windows.Forms.Button

pnlProperties 공개적으로 프로퍼티

public Panel,System.Windows.Forms pnlProperties
리턴 System.Windows.Forms.Panel