第十二周 C# 试验 《 3 》 .
来源:互联网 发布:淘宝密码找回密码页面 编辑:程序博客网 时间:2024/05/18 12:03
private void Form1_Paint(object sender, PaintEventArgs e)
{
Graphics g = e.Graphics;
TextureBrush brush = new TextureBrush(Image.FromFile("p01.jpg"));
//创建字体
Font font = new Font("黑体",60, FontStyle.Underline ^ FontStyle.Bold);
g.DrawString("中国电力出版社", font, brush, new Point(10, 10));
}
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;namespace WindowsFormsApplication2{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; TextureBrush brush = new TextureBrush(Image.FromFile("huguang.JPG")); //创建字体 Font font = new Font("黑体", 60, FontStyle.Underline ^ FontStyle.Bold); g.DrawString("中国电力出版社", font, brush, new Point(10, 10));} } }
- 第十二周 C# 试验 《 3 》 .
- 第十二周 C# 试验 《 1 》
- 第十二周 C# 试验 《 2 》 .
- 第十二周 C# 试验 《 4 》
- C#第一次试验
- C#第三次试验
- 第十二周作业3
- 第十二周任务3
- 第十二周任务3
- 第十二周任务3
- 第十二周任务3
- 第十二周作业3
- 第十二周-#号图3
- 第十二周项目3
- 第十二周 【项目3
- 第十二周 【项目3
- 试验3
- C#的UDP打洞试验
- Qt 的线程与事件循环
- vc6++BYTE,WORD,DWORD和一些宏定义
- 设计模式--行为型--访问者模式
- 社会交际系统的启动按钮" 之 "一起去吃饭吧!"
- android:descendantFocusability用法简析
- 第十二周 C# 试验 《 3 》 .
- Linux下Apache无法解析.php文件
- 网络编程相关概念
- iPhone UIView
- linux中cat命令;解压缩命令
- MFC连接ACCESS数据库心得
- Android启动
- SQL Server 2008 安装程序支持文件时中断
- ldap的配置