C# Class 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

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: 2014-sed-team3/term-project

Protected Properties

Свойство Type Description
m_iMaximumN System.Int32

Méthodes publiques

Méthode Description
LimitToNControl ( ) : System

Initializes a new instance of the LimitToNControl class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
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

Method Details

Dispose() protected méthode

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

LimitToNControl() public méthode

Initializes a new instance of the LimitToNControl class.
public LimitToNControl ( ) : System
Résultat System

Property Details

m_iMaximumN protected_oe property

protected Int32,System m_iMaximumN
Résultat System.Int32