private void FindNext(int setp) { int startLine = _dgv.FirstSelectedRowIndex + setp; for (int i = startLine; i < _dt.Rows.Count; i += setp) { if (((string)_dt.Rows[i]["New_Text"]) .IndexOf(kryptonTextBoxFind.Text, StringComparison.OrdinalIgnoreCase) != -1) { _dgv.FirstSelectedRowIndex = i; _dgv.MakeSelectedLineToCenterScreen(); return; } if (kryptonCheckBoxWithOrg.Checked) { if (((string)_dt.Rows[i]["Org_Text"]) .IndexOf(kryptonTextBoxFind.Text, StringComparison.OrdinalIgnoreCase) != -1) { _dgv.FirstSelectedRowIndex = i; _dgv.MakeSelectedLineToCenterScreen(); return; } } } KryptonMessageBox.Show("¹Ø¼ü×ÖľÓÐÕÒµ½¡«", @"~\(¨R¨Œ¨Q)/~", MessageBoxButtons.OK, MessageBoxIcon.Information); }