C# Class Smrf.AppLib.FolderPathControl

Control for getting the path to an existing folder.
Set the FolderPath property after the control is created. To retrieve the folder path , call Validate, and if returns true, read the FolderPath property.
Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: 2014-sed-team3/term-project

Protected Properties

Свойство Type Description
m_bAllowEmptyFolderPath System.Boolean
m_sBrowsePrompt String
m_sFolderPath String

Méthodes publiques

Méthode Description
FolderPathControl ( ) : System

Initializes a new instance of the FolderPathControl class.

Validate ( ) : System.Boolean

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean

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.

btnBrowse_Click ( 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

DoDataExchange() protected méthode

protected DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
Résultat System.Boolean

FolderPathControl() public méthode

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

Validate() public méthode

public Validate ( ) : System.Boolean
Résultat System.Boolean

Property Details

m_bAllowEmptyFolderPath protected_oe property

protected Boolean,System m_bAllowEmptyFolderPath
Résultat System.Boolean

m_sBrowsePrompt protected_oe property

protected String m_sBrowsePrompt
Résultat String

m_sFolderPath protected_oe property

protected String m_sFolderPath
Résultat String