private void buttonLineAccept_Click(object sender, EventArgs e) { TextCopy textCopy = new TextCopy(); string [] ret = textCopy.LinNumChange(textToCopy.Text, textBoxLineChange.Text); textBoxLineChange.Text = ""; labelCurrentLineNum.Text = ret[0]; labelCopyStatus.Text = ret[1]; }
private void buttonCopyToCopyPaste_Click(object sender, EventArgs e) { textToCopy.Text = richTextExtractEmails.Text; TextCopy textCopy = new TextCopy(); string[] ret = textCopy.LinNumChange(textToCopy.Text, textBoxLineChange.Text); textBoxLineChange.Text = ""; labelCurrentLineNum.Text = ret[0]; labelCopyStatus.Text = ret[1]; }