如题!!
之前我已经参照了
http://blog.csdn.net/xamcsdn2/archive/2005/09/13/478984.aspx但是说我bgMDIClient未付过值?请问还有人知道方法吗?教我,谢谢
之前我已经参照了
http://blog.csdn.net/xamcsdn2/archive/2005/09/13/478984.aspx但是说我bgMDIClient未付过值?请问还有人知道方法吗?教我,谢谢
解决方案 »
- 向大家问一个关于textBox控件设置passwordcha后赋值的问题
- 不懂 str=listbox1.SelectItem.ToSting() 为何要加 ToSting()
- Microsoft.mshtml.dll
- NET2005中“未将对象引用设置到对象的实例。”
- 大家觉得写一个打字测试软件,用VB6.0好一些呢?还是C#好一些?
- 跪求.Net安装启动命令
- 怎么设置水晶报表的页面大小,及相关属性?
- 图标提取的问题? 急!
- 数据库中,可以把一个表的一行copy,生成另一行吗?
- 求助:用C#如何创建TXT文档啊?
- 期望高手来指点:建立一个接受器,采集指定的一台主机上传来的数据,并且数据量的峰值可能很大,如何做。最好用C#
- 急急急!!!关于代码问题,在线等......
If Me.WindowState = FormWindowState.Minimized OrElse Me.ClientSize.Width < 10 OrElse Me.ClientSize.Height < 10 Then
Return
End If
If System.IO.File.Exists(Application.StartupPath & "\Back.jpg") Then
Me.BackgroundImage = New Drawing.Bitmap(Image.FromFile(Application.StartupPath & "\Back.jpg"), Me.ClientSize.Width, Me.ClientSize.Height)
End If
End Sub
private Bitmap bmp = null;public Form1()
{
InitializeComponent(); bmp = new Bitmap(img, this.Width, this.Height);
this.BackgroundImage = bmp; this.Resize += new EventHandler(Form1_Resize);
}private void Form1_Resize(object sender, EventArgs e)
{
if (this.WindowState != System.Windows.Forms.FormWindowState.Minimized)
{
bmp = new Bitmap(img, this.Width, this.Height);
this.BackgroundImage = bmp;
}
}