private void copyButton_Click(object sender, EventArgs e) { if (urlTextbox.SelectionLength.Equals(0)) urlTextbox.SelectAll(); urlTextbox.Copy(); }