初探C#中Graphic的描画函数
来源:互联网 发布:网络优化工程师干嘛的 编辑:程序博客网 时间:2024/04/28 20:33
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
/*paint the blue title*/
using (SolidBrush b = new SolidBrush(Color.FromArgb(45,65,161)))
{
Rectangle title = new Rectangle(1, 1, this.Size.Width, 22);
e.Graphics.FillRectangle(b, title);
}
m_NormalBorderColor.DrawBorder(e.Graphics, this.ClientRectangle);
(new BMBiFontTextRenderer(
new FontGroup(
new Font("Arial", 16F, FontStyle.Bold, GraphicsUnit.Pixel),
new Font("MS Gothic", 16F, FontStyle.Bold, GraphicsUnit.Pixel)),
Color.White,
TextHAlign.LEFT, 14, TextVAlign.TOP, 3)).DrawText("緊急検査", e.Graphics, new Rectangle(0, 0, 102, 20), new Size(0, 0), true);
}
- 初探C#中Graphic的描画函数
- c#的图形描画
- Android中Graphic的理解
- c# 获取Graphic方法
- ios系统的图形和描画
- 描画着一张青春的面容
- Android开发中graphic layout看不到预览问题的解决
- graphic 透明度的bitmap
- Graphic的学习
- Android的Graphic System
- C#中函数的重载
- C#的多线程机制初探
- C#的多线程机制初探
- C#的多线程机制初探
- C#的多线程机制初探
- 初探C#的打印功能
- C# graphic 的DrawLines 与DrawPath 加粗时线出现分叉现象的解决
- Visual C#中调用Windows服务初探
- 曾经花上数十小时编写过的QQ农场辅助精灵
- 十八个绝招把你从压力中营救出来
- 敏捷开发
- TCP/IP协议栈在Linux与FreeBSD中的实现分析5
- 两个UserControl共用一个BMUserControl的功能建
- 初探C#中Graphic的描画函数
- 当遇到一个好企业招聘时!
- Emacs - Writing HTML
- 当搜索时,使DataGridView中的当前行处于画面中段
- 微软EPG老大让秘书发给所有员工的邮件
- (转)你是否有机会成为嵌入式程序员?
- MECE原则
- jQuery插件开发全解析
- org.hibernate.PersistentObjectException: detached entity passed to persist: cn.yjj.oa.entity.Organization