I'm using Visual Studio 2019 community
private void CreateDownloadFolders()
{
string locationToCreateFolderRadar = textBoxRadarPath.Text;
string locationToCreateFolderSatellite = textBoxSatellitePath.Text;
string folderName = "";
string date = DateTime.Now.ToString("ddd MM.dd.yyyy");
string time = DateTime.Now.ToString("HH.mm tt");
string format = "{0} On {1} {2}";
folderName = string.Format(format, date, time, "");
var p = Path.Combine(locationToCreateFolderRadar + folderName);
Directory.CreateDirectory(locationToCreateFolderRadar + folderName);
Directory.CreateDirectory(locationToCreateFolderSatellite + folderName);
}
I put a breakpoint on the line :
Directory.CreateDirectory(locationToCreateFolderRadar + folderName);
Code execution stops here and then I hover the mouse over the string locationToCreateFolderRadar
, but it's not showing its content not also the other variables in this method.
I'm calling this method from this button click event :
private async void btnStart_Click(object sender, EventArgs e)
{
CreateDownloadFolders();
urls = new List<string>();
lblStatus.Text = "Downloading...";
rad.GetRadarImages();
await Task.Delay(5000);
foreach (string link in rad.links)
{
urls.Add(link);
}
await sat.DownloadSatelliteAsync();
foreach (string link in sat.SatelliteUrls())
{
urls.Add(link);
}
urlsCounter = urls.Count;
await DownloadAsync();
}
Screenshot showing the breakpoint and that it's not showing the content when the mouse cursor is over it.