Alvas.FileControls Class Library

DriveComboBox Class

DriveComboBox implements a specialized combo box that displays drives list.

For a list of all members of this type, see DriveComboBox Members.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ListControl
               System.Windows.Forms.ComboBox
                  Alvas.Windows.Forms.FileControls.DriveComboBox

[Visual Basic]
Public Class DriveComboBox
    Inherits ComboBox
[C#]
public class DriveComboBox : ComboBox

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Example

This sample shows how to use DriveComboBox.

private void button1_Click(object sender, System.EventArgs e)
{
    fileListBox1.FileEdit = textBox1;
    filterComboBox1.FileList = fileListBox1;
    folderListBox1.FileList = fileListBox1;
    driveComboBox1.FolderList = folderListBox1;
}
 

Requirements

Namespace: Alvas.Windows.Forms.FileControls

Assembly: Alvas.Windows.Forms.FileControls (in Alvas.Windows.Forms.FileControls.dll)

See Also

DriveComboBox Members | Alvas.Windows.Forms.FileControls Namespace