随笔分类 -  C#GDI+

关于C#GDI+的东东
摘要:好的,各位RT 这次是简单的 C# GDI+ 文字描边的实现。。。。这次不使用先进的东西。。。。先看效果图,如下:当然,你自己动手做出的效果我想会更好。我只是抛砖引玉而已,呵呵。 this.Paint += Form1_Paint;//这个写在Form_load事件里面 void Form1_Paint(object sender, PaintEventArgs e) { //Graphics g = e.Graphics; //string s = "Outline"; ... 阅读全文
posted @ 2013-04-02 10:57 SoarNo1 阅读(8571) 评论(2) 推荐(0) 编辑
摘要:this.SetStyle(ControlStyles.AllPaintingInWmPaint,true);//解决闪烁this.SetStyle(ControlStyles.Opaque ,true);//解决背景重绘问题(设置不绘制窗口背景,因为重绘窗口背景会导致性能底下)this.SetStyle(ControlStyles.OptimizedDoubleBuffer ,true);//解决闪烁 具体什么意思,如果你使用VS2010的话,我想智能感知会告诉你的。(我比较懒,神啊,原谅我吧) 阅读全文
posted @ 2012-04-01 12:20 SoarNo1 阅读(2772) 评论(3) 推荐(2) 编辑
摘要:一个很无聊的小程序:下面直接给出代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Drawing.Drawing2D;using System.Drawing.Text;namespace WFADeskTopShow{ public partial class De 阅读全文
posted @ 2010-04-05 22:03 SoarNo1 阅读(208) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示