C# 클래스 Smrf.NodeXL.GraphDataProviders.LimitToNControl

UserControl for selecting a maximum number of objects to include.
The control contains a CheckBox and a NumericUpDown control. If the checkbox is checked, the user can enter a value into the NumericUpDown control that is between 10 and MaximumN. The value is available via the N property.

Unchecking the checkbox indicates "no limit," in which case the user cannot enter a value and N is always Int32.MaxValue.

By default, the "objects" are people. If the control is being used to select a maximum number of something besides people, set the property.

This control uses the following keyboard shortcut: T

상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
m_iMaximumN System.Int32

공개 메소드들

메소드 설명
LimitToNControl ( ) : System

Initializes a new instance of the LimitToNControl class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
AssertValid ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

chkLimitToN_CheckedChanged ( object sender, EventArgs e ) : void
nudN_Validating ( object sender, System e ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

LimitToNControl() 공개 메소드

Initializes a new instance of the LimitToNControl class.
public LimitToNControl ( ) : System
리턴 System

프로퍼티 상세

m_iMaximumN 보호되어 있는 프로퍼티

protected Int32,System m_iMaximumN
리턴 System.Int32