1

    xiaoxiao2021-12-14  14

    private void txtbox_KeyPress(object sender, KeyPressEventArgs e)         {             //如果输入的不是数字键,也不是回车键、Backspace键,则取消该输入             if (!(Char.IsNumber(e.KeyChar)))             {                 e.Handled = true;             }         }
    转载请注明原文地址: https://ju.6miu.com/read-963235.html

    最新回复(0)