学习C#: 简单的文字编辑器
发布时间
阅读量:
阅读量
题目:基础文本编辑工具
要求:具备修改文本框内字体尺寸、文字色彩、字体种类以及字形风格的功能
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace 文字编辑器
{
public partial class Form1 : Form
{
int t=10;//定义全局变量,一改就改,防止后面覆盖
string s="华文行楷";
public Form1()//预加载的文件(必有)
{
InitializeComponent();
textBox1.Text = "黄鹤楼";
}
private voi
全部评论 (0)
还没有任何评论哟~
