private void handleUrl()
{
urlBox.Text = pasteURL;
History.AddHistory(DateTime.Now.ToString(), pasteURL);
if ((bool)Settings.Default["autoCopy"] == true)
{
Clipboard.SetText(urlBox.Text);
PastedURLLabel.Text = "Pasted URL (Auto-copied)";
}
else
{
PastedURLLabel.Text = "Pasted URL";
}
if ((bool)Settings.Default["autoOpen"] == true)
{
if (pasteURL != "")
{
System.Diagnostics.Process.Start(urlBox.Text);
}
}
}