public void changeDrive(object sender, EventArgs e) { ToolStripButton button = (ToolStripButton)sender; FileView view = getLastFocusedFileView(); view.setPath(button.Text); view.drawView(); }
public FileView getAnotherFileView(FileView file_view) { if (file_view == left_file_listview) { return(right_file_listview); } else { return(left_file_listview); } }
public void setLastFocusedFileView(FileView focused_view) { last_focused_fileview = focused_view; }