渐变的窗口背景(C#2005)
来源:互联网 发布:js改变css样式 编辑:程序博客网 时间:2024/06/07 00:15
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Drawing2D;//提供高级的二维和矢量图形功能namespace Example010_渐变的窗口背景{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { } private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; Color FColor = Color.Blue;//渐变起始色 Color TColor = Color.Yellow;//渐变结束色 Brush b = new LinearGradientBrush(this.ClientRectangle, FColor, TColor, LinearGradientMode.ForwardDiagonal); g.FillRectangle(b, this.ClientRectangle); } private void Form1_Resize(object sender, EventArgs e) { this.Invalidate(); } }}
- 渐变的窗口背景(C#2005)
- 窗口背景随弹窗的出现而渐变
- c#渐变效果的窗体背景
- 【C#】[窗体]渐变窗口背景
- C#窗体背景渐变色
- 表格背景的渐变
- UIView的背景渐变
- 背景颜色的渐变
- 点击弹出窗口,并且背景变暗渐变
- 使窗口背景有渐变色
- 表格背景渐变的实现
- div渐变背景的实现
- 椭圆形、渐变背景的文本框
- 渐变色的背景实现
- 自定义渐变背景的文本框
- 炫酷的渐变背景
- 在窗口上显示图片,渐变色背景贴图
- 点击弹出窗口层,并且背景变暗渐变
- Properties(C#)
- Google搜索市占在美持续上扬 Yahoo/微软下滑
- 什么才是程序员的最高境界
- struts+hibernate+spring简单登录实例
- “CIO生存法则”培训——企业信息主管如何成功的“潜规则”
- 渐变的窗口背景(C#2005)
- 美国最新研究证实苹果是最佳减肥水果
- Free Pascal不完全攻略之一 :进入FP的世界
- 10g OCA考试
- 近期小结
- Easy to Find Hided PID Code
- 通过大学学习后发现毕业后不能去的几类单位
- 数据结构之排序
- Linux下Socket写http协议下载文件代码以及说明