C# Class SourceGrid.ControlsRepository

A dictionary with keys of type Guid and values of type Control
Inheritance: System.Collections.DictionaryBase
Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Méthodes publiques

Méthode Description
Add ( System.Guid key, Control value ) : void

Adds an element with the specified key and value to this ControlsRepository.

Contains ( System.Guid key ) : bool

Determines whether this ControlsRepository contains a specific key.

ContainsKey ( System.Guid key ) : bool

Determines whether this ControlsRepository contains a specific key.

ContainsValue ( Control value ) : bool

Determines whether this ControlsRepository contains a specific value.

ControlsRepository ( Control p_ParentControl ) : System

Initializes a new empty instance of the ControlsRepository class

Remove ( System.Guid key ) : void

Removes the element with the specified key from this ControlsRepository.

this ( System.Guid key ) : Control

Gets or sets the Control associated with the given Guid

Method Details

Add() public méthode

Adds an element with the specified key and value to this ControlsRepository.
public Add ( System.Guid key, Control value ) : void
key System.Guid /// The Guid key of the element to add. ///
value System.Windows.Forms.Control /// The Control value of the element to add. ///
Résultat void

Contains() public méthode

Determines whether this ControlsRepository contains a specific key.
public Contains ( System.Guid key ) : bool
key System.Guid /// The Guid key to locate in this ControlsRepository. ///
Résultat bool

ContainsKey() public méthode

Determines whether this ControlsRepository contains a specific key.
public ContainsKey ( System.Guid key ) : bool
key System.Guid /// The Guid key to locate in this ControlsRepository. ///
Résultat bool

ContainsValue() public méthode

Determines whether this ControlsRepository contains a specific value.
public ContainsValue ( Control value ) : bool
value System.Windows.Forms.Control /// The Control value to locate in this ControlsRepository. ///
Résultat bool

ControlsRepository() public méthode

Initializes a new empty instance of the ControlsRepository class
public ControlsRepository ( Control p_ParentControl ) : System
p_ParentControl System.Windows.Forms.Control
Résultat System

Remove() public méthode

Removes the element with the specified key from this ControlsRepository.
public Remove ( System.Guid key ) : void
key System.Guid /// The Guid key of the element to remove. ///
Résultat void

this() public méthode

Gets or sets the Control associated with the given Guid
public this ( System.Guid key ) : Control
key System.Guid /// The Guid whose value to get or set. ///
Résultat System.Windows.Forms.Control