public FileBrowser(ListView listView, string path) { this.listView = listView; this.compressor = new Compress(); listView.MouseDoubleClick += doubleClicked; currentPath = path; fillListView(path); }
public Form1() { InitializeComponent(); boundDriveLetters(); compress = new Compress(); leftComboBox.SelectionChangeCommitted += comboBoxChanged; rightComboBox.SelectionChangeCommitted += comboBoxChanged; leftTable.SelectedIndexChanged += slectedChangeLeft; rightTable.SelectedIndexChanged += slectedChangeRight; }