#region 防漏洞操作(键盘不允许输入单引号) FLD private void FLD(KeyPressEventArgs e) { if (e.KeyChar == 39)//键盘不允许输入单引号 { e.Handled = true; } } #endregion