摘要:
1 DialogResult dr = ofdAddUserPicture.ShowDialog(); 2 this.picPicture.Image = Image.FromFile(ofdAddUserPicture.FileName); //显示图片 3 if (dr == DialogResult.OK) 4 { 5 user.Picture = ofdAddUserPicture.FileName; 6 } 7 ... 阅读全文
摘要:
1.如何创建一个可改变大小没有标题栏的窗体?(How to create a form with resizing borders and no title bar?)form1.Text = string. Empty; form1.ControlBox = false;2. 如何在.NET的Windows窗体上启用XP主题集?(How to use XP Themes with Windows Forms using the .NET?)确认你的控件中FlatStyle属性已经修改为System,再修改Main方法。static void Main() { Application.Enab 阅读全文