I'm trying to make a switch based on a folder path selected and if its 1.) blank - then warn the user if its not blank check to see if they selected a root folder 2.) I:\proj - warn that its too large. I also want to add another root folder 3.) G:\pj where it would warn that is also too large!
The highlight is on case case (@"I:\proj"):
How may I rewrite the following to account for that and not get the error and include the other G:\pj folder? I'm new to C# sharp so please be patient with me. Thank you in advance!
sPath = txtPath.Text;
MessageBox.Show("You have not selected a folder. Please click 'Browse' to continue.");
MessageBox.Show("Folder too large to search.");