C# 클래스 Prizm.Main.Forms.MainChildForm.ChildEditableForm

상속: ChildForm, IModifiable
파일 보기 프로젝트 열기: AleksMorozova/prizm

보호된 프로퍼티들

프로퍼티 타입 설명
headerNumberPart string

공개 메소드들

메소드 설명
Is ( System.Guid id ) : bool
UpdateState ( ) : void

manual updating the state of child controls

UpdateTitle ( ) : void

보호된 메소드들

메소드 설명
OnFormClosed ( System.Windows.Forms.FormClosedEventArgs e ) : void

On closing. Free controls references.

OnFormClosing ( FormClosingEventArgs e ) : void

Before closing.

OnTextChanged ( System e ) : void

If this is first-time Text change, remember original text

SetAlwaysEditable ( Control c ) : void

Derived class can set some it's controls as an exception to be not processed on switching edit mode. Overrides previous setting for this control

SetAlwaysReadOnly ( Control c ) : void

Derived class can set some it's controls as always read only, and they won't be editable in edit mode. Overrides previous setting for this control

SetConditional ( Control c, bool>.Func IsEditableMethod ) : void

Derived class can set some it's controls as conditional read/edit mode, depending on real mode Overrides previous setting for this control

비공개 메소드들

메소드 설명
SetCaption ( ) : void

Set new caption according to current state of document

SetEditModeAllChildren ( Control control, bool editMode ) : void

Set read/edit mode for given control and all it's children (always read only will remain read only)

메소드 상세

Is() 공개 메소드

public Is ( System.Guid id ) : bool
id System.Guid
리턴 bool

OnFormClosed() 보호된 메소드

On closing. Free controls references.
protected OnFormClosed ( System.Windows.Forms.FormClosedEventArgs e ) : void
e System.Windows.Forms.FormClosedEventArgs
리턴 void

OnFormClosing() 보호된 메소드

Before closing.
protected OnFormClosing ( FormClosingEventArgs e ) : void
e System.Windows.Forms.FormClosingEventArgs used for decision whether to close form or not
리턴 void

OnTextChanged() 보호된 메소드

If this is first-time Text change, remember original text
protected OnTextChanged ( System e ) : void
e System to pass to base class
리턴 void

SetAlwaysEditable() 보호된 메소드

Derived class can set some it's controls as an exception to be not processed on switching edit mode. Overrides previous setting for this control
protected SetAlwaysEditable ( Control c ) : void
c System.Windows.Forms.Control reference to control
리턴 void

SetAlwaysReadOnly() 보호된 메소드

Derived class can set some it's controls as always read only, and they won't be editable in edit mode. Overrides previous setting for this control
protected SetAlwaysReadOnly ( Control c ) : void
c System.Windows.Forms.Control reference to control
리턴 void

SetConditional() 보호된 메소드

Derived class can set some it's controls as conditional read/edit mode, depending on real mode Overrides previous setting for this control
protected SetConditional ( Control c, bool>.Func IsEditableMethod ) : void
c System.Windows.Forms.Control reference to control
IsEditableMethod bool>.Func
리턴 void

UpdateState() 공개 메소드

manual updating the state of child controls
public UpdateState ( ) : void
리턴 void

UpdateTitle() 공개 메소드

public UpdateTitle ( ) : void
리턴 void

프로퍼티 상세

headerNumberPart 보호되어 있는 프로퍼티

protected string headerNumberPart
리턴 string