private void btnCopyToClipboard_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(tbOutput.Text)) Clipboard.SetText(tbOutput.Text); }