private void BtnBack_Click(object sender, EventArgs e) { if (txtFCF.SelectionStart > 0) { int index = txtFCF.SelectionStart; txtFCF.Text = txtFCF.Text.Remove(txtFCF.SelectionStart - 1, 1); txtFCF.Select(index - 1, 1); } }
private void BtnBack_Click(object sender, EventArgs e) { txtFCF.Focus(); SendKeys.Send("{BACKSPACE}"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)