C# 클래스 SIL.FieldWorks.XWorks.MorphologyEditor.RuleFormulaSlice

This is a view slice that contains a RuleFormulaControl. It is extended by phonological/morphological rule slices.
상속: SIL.FieldWorks.Common.Framework.DetailControls.ViewSlice, XCore.IxCoreColleague
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
InsertionControl_SizeChanged ( object sender, EventArgs e ) : void
Install ( DataTree parent ) : void
OnContextJumpToNaturalClass ( object args ) : bool
OnContextJumpToPhoneme ( object args ) : bool
OnContextSetFeatures ( object args ) : bool
OnDisplayContextJumpToNaturalClass ( object commandObject, XCore &display ) : bool
OnDisplayContextJumpToPhoneme ( object commandObject, XCore &display ) : bool
OnDisplayContextSetFeatures ( object commandObject, XCore &display ) : bool
RuleFormulaSlice ( ) : System

보호된 메소드들

메소드 설명
DesiredHeight ( SIL.FieldWorks.Common.RootSites.RootSite rs ) : int
Dispose ( bool disposing ) : void
OnEnter ( EventArgs e ) : void
OnLeave ( EventArgs e ) : void

비공개 메소드들

메소드 설명
SetSubcontrolHeights ( Control ctrl, int oldHeight, int newHeight ) : void

Set the heights of subcontrols to the new value if they're equal to the old value. (This appears to be done automatically by the Windows .Net implementation during the call to InsertionControl.Show(), even before the specific setting of Height in OnEnter()!)

Setting only RuleFormulaControl.Height fails, because the process of setting the height triggers a layout, and the layout code changes the height to be no more than that of its parent control. There are two levels of control between RuleFormulaSlice and RuleFormulaControl, so the heights of those controls must be adjusted as well. I suppose something like this could be inserted into the implementation of Control.Height, but I'm reluctant to do so, partly because even then the behavior would not really match that of the Windows .Net implementation.

메소드 상세

DesiredHeight() 보호된 메소드

protected DesiredHeight ( SIL.FieldWorks.Common.RootSites.RootSite rs ) : int
rs SIL.FieldWorks.Common.RootSites.RootSite
리턴 int

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

InsertionControl_SizeChanged() 공개 메소드

public InsertionControl_SizeChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

Install() 공개 메소드

public Install ( DataTree parent ) : void
parent SIL.FieldWorks.Common.Framework.DetailControls.DataTree
리턴 void

OnContextJumpToNaturalClass() 공개 메소드

public OnContextJumpToNaturalClass ( object args ) : bool
args object
리턴 bool

OnContextJumpToPhoneme() 공개 메소드

public OnContextJumpToPhoneme ( object args ) : bool
args object
리턴 bool

OnContextSetFeatures() 공개 메소드

public OnContextSetFeatures ( object args ) : bool
args object
리턴 bool

OnDisplayContextJumpToNaturalClass() 공개 메소드

public OnDisplayContextJumpToNaturalClass ( object commandObject, XCore &display ) : bool
commandObject object
display XCore
리턴 bool

OnDisplayContextJumpToPhoneme() 공개 메소드

public OnDisplayContextJumpToPhoneme ( object commandObject, XCore &display ) : bool
commandObject object
display XCore
리턴 bool

OnDisplayContextSetFeatures() 공개 메소드

public OnDisplayContextSetFeatures ( object commandObject, XCore &display ) : bool
commandObject object
display XCore
리턴 bool

OnEnter() 보호된 메소드

protected OnEnter ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLeave() 보호된 메소드

protected OnLeave ( EventArgs e ) : void
e System.EventArgs
리턴 void

RuleFormulaSlice() 공개 메소드

public RuleFormulaSlice ( ) : System
리턴 System