private void ListViewCloudFiles_DoubleClick(object sender, EventArgs e) { if (listViewCloudFiles.FocusedItem.Text == "..") { cloudController.GetFilesList(currentCLoud.token, LoadFilesCallback, "/"); isInPlanFolder = false; listViewCloudFiles.Items.Clear(); } else if (!isInPlanFolder) { currentPath = listViewCloudFiles.FocusedItem.Text; cloudController.GetFilesList(currentCLoud.token, LoadFilesCallback, currentPath); listViewCloudFiles.Items.Clear(); listViewCloudFiles.Items.Add(".."); isInPlanFolder = true; } }