怎样在窗体中分成几个独立的区域进行画图,且可以通过软件进行清空再进行重画?或者每次重画时把它冲掉!
怎样在这些区域中画一个坐标图?画坐标图的方法?
怎样在这些区域中画一个坐标图?画坐标图的方法?
解决方案 »
- (全分奉送!)求下载Visual Studio .Net 2003 Enterpirse Edition 英文版
- 从文件中读取文本的简单问题……
- 求一个C#或vb.net模拟登录QQ空间的例子
- c# webbrowser 制作浏览器 整理收藏夹的源程序(求助!)
- 程序员基本问题:正则表达式?内存池?回调?钩子?句柄?red black tree?.net的程序集?
- ListView怎么换行?
- C# 多线程的AccesViolationException
- 两个窗体Form1,From2:在form1怎么写当按下键盘上的数字键(十个数字)时自动跳转到Form2
- 最新.net框架的安装程序哪儿有下载,
- 各位兄弟姐妹,我两天都捆在这里了,帮帮我.我用Net自带的Mail控件添加附件的时候怎么在客户机上面报错误?
- 关于arcEngine中toolbarControl的问题
- 大家帮我看一下这个有错吗?c#中的查询
Graphics.SetClip 方法:将此 Graphics 的剪辑区域设置为当前剪辑区域和指定的 Graphics 的 Clip 属性指定的组合操作的结果。
{ // Create temporary graphics object and set its clipping region.
Graphics newGraphics = this.CreateGraphics();
newGraphics.SetClip(new Rectangle(0, 0, 100, 100)); // Update clipping region of graphics to clipping region of new // graphics.
e.Graphics.SetClip(newGraphics, CombineMode.Replace); // Fill rectangle to demonstrate clip region.
e.Graphics.FillRectangle(new SolidBrush(Color.Black), 0, 0, 500, 300); // Release new graphics.
newGraphics.Dispose();
}
参考