我在加载的时候 加载了几张图片
可是最小化之后 再打开
就没有了 为什么..?
我是用BitMap 缓存的图片..
可是最小化之后 再打开
就没有了 为什么..?
我是用BitMap 缓存的图片..
解决方案 »
- winform中用鼠标右键点击listview怎么能够知道点的是第几行?
- 还是那段代码 帮忙的朋友再来一下 非常感谢
- 请教Visual C#2005 与 Oracle数据库问题
- 写了一篇为ListView动态组合图标的文章
- 错误提示:return new RegistrationInformation()后要加分号,但加了后 错的更离谱
- 谁能描述下下面代码的内存结构(stack and heap)!!!!!!!!!!!!!!!!!!!
- 很急,求帮助! C#的控件,通过textBox输入内容A,通过A作为条件查找数据库的内容,然后在datagridView中显示出来,出现问题
- 奇怪!
- 求助,如何获取这个网站的源码,感谢!
- 求解答.net 值班表
- 用C#怎么实现打开文件夹??
- 高手进!vs2005 ,Winform程序部署到客户端提示未能使用RsaProtectedConfigurationProvider进行解密
还是不行...
我是刚接触 gdi+ 的
你们说的 我不是很清楚 能给店实际解决的办法吗..?
protected override onpaint(painteventargs e)
{
//to do
}
红色换成你的操作就可以了
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;namespace InvoicePrint
{
public partial class Form3 : Form
{
public Form3()
{
InitializeComponent();
} private void InitializeComponent()
{
this.SuspendLayout();
//
// Form3
//
this.ClientSize = new System.Drawing.Size(945, 552);
this.Name = "Form3";
this.ResumeLayout(false); } protected override void OnPaint(PaintEventArgs e)
{ e.Graphics.DrawRectangle(Pens.Blue, new Rectangle(20, 20, 100, 100)); }
}
}