private void ResetSearch()//reset the searching { TxtNameSearch.Text = string.Empty; TxtSurnameSearch.Text = string.Empty; TxtPhoneSearch.Text = string.Empty; BtnCancelSearch.Hide(); }
private void Reset()//reset the changes on textboxes { Txtname.Text = string.Empty; TxtPhone.Text = string.Empty; BtnCancelSearch.Hide(); }