1 设定输入框获得焦点

   txtGoodIDName.Focus();

2 设定数字xx.xx格式的输入框

this.txtMakeCollections.Properties.Mask.EditMask = "###############0.00#####";        
this.txtMakeCollections.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;        
this.txtMakeCollections.Properties.Mask.UseMaskAsDisplayFormat = true;        

 

  

相关文章:

  • 2022-01-22
  • 2021-06-15
  • 2021-12-19
  • 2021-05-25
  • 2021-09-21
  • 2022-12-23
猜你喜欢
  • 2021-12-31
  • 2022-02-20
  • 2021-04-15
  • 2022-02-01
  • 2021-08-15
相关资源
相似解决方案