Beispiel #1
0
        private async void listBoxFilesExplorer_DoubleClick(object sender, EventArgs e)
        {
            try
            {
                string selectedFolder = listBoxFilesExplorer.SelectedItem.ToString();
                //  MessageBox.Show(selectedFolder);
                string[] receivedFolders = await cl.GetFolderContent(selectedFolder);

                //   MessageBox.Show(receivedFolders[1]);
                UpdateListBoxWith(receivedFolders);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }