private void urlTextbox_TextChanged(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(Url))
{
SetControls(false);
return;
}
// check if its valid file or url
if (Functions.IO.IsValidPath(Url))
{
SetControls(true);
}
else
{
fileTypeLabel.Text = "*.*";
SetControls(false);
}
}