private void checkBoxRemovLines_CheckedChanged(object sender, EventArgs e) { TextCopy removeLines = new TextCopy(); textToCopy.Text = removeLines.RemoveEmptyLines(textToCopy.Text); checkBoxRemovLines.Checked = true; }
private void buttonSortRemoveLines_Click(object sender, EventArgs e) { TextCopy removeLines = new TextCopy(); richTextBoxSort.Text = removeLines.RemoveEmptyLines(richTextBoxSort.Text); }