Re: Switch case-sensitive
Code:
switch (stripCritical.toLower())
{
case "not critical":
Etc.
Re: Switch case-sensitive
I should have thought of that.
Thank you very much.
Also do you know of a good web page that tells how to put a file browser on my form?
Thank you.
Re: Switch case-sensitive
Re: Switch case-sensitive
Common dialog.
I have never made a file browser with code before and I would like to try on out and see how hard or easy it is.
Re: Switch case-sensitive
Code:
OpenFileDialog ofd = new OpenFileDialog();
if(ofd.ShowDialog() != DialogResult.Cancel)
{
MessageBox.Show(ofd.FileName);
}
Something like that?
Re: Switch case-sensitive
Wow!
That was incredably easy.