C# 클래스 SourceGrid.ControlsRepository

A dictionary with keys of type Guid and values of type Control
상속: System.Collections.DictionaryBase
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Add() 공개 메소드

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. ///
리턴 void

Contains() 공개 메소드

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. ///
리턴 bool

ContainsKey() 공개 메소드

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. ///
리턴 bool

ContainsValue() 공개 메소드

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. ///
리턴 bool

ControlsRepository() 공개 메소드

Initializes a new empty instance of the ControlsRepository class
public ControlsRepository ( Control p_ParentControl ) : System
p_ParentControl System.Windows.Forms.Control
리턴 System

Remove() 공개 메소드

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. ///
리턴 void

this() 공개 메소드

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. ///
리턴 System.Windows.Forms.Control