摘要: 1.背景图片推荐代码:Bitmap bmp=(Bitmap)Image.FromFile(@"Pictures\MyImage.jpg"); this.BackgroundImage=new Bitmap(bmp,bmp.Size);2.TextBox焦点问题(1)在启动窗体时候,可以使用TextBox1.TabIndex = 0;(2)在程序运行过程中,可以使用TextBox1.Focus();3.将窗体所有TextBox赋值foreach (Control c in this.Controls)this.SetTextBoxValue(c); void SetTextB 阅读全文