Archived
1
0

optimise files

This commit is contained in:
2025-11-25 20:14:10 +08:00
Unverified
parent bb4a37acc4
commit 4e148364a9
171 changed files with 6555 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
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 WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void richTextBox1_TextChanged(object sender, EventArgs e)
{
}
private void Form1_Load(object sender, EventArgs e)
{
richTextBox1.Text = @"TextBox控件用于输入文本信息" +
@"此控件具有windows文本框控件所没有的" +
@"附加功能,包括多行编辑和密码字符屏蔽";
textBox1.Text = "";
}
private void button1_Click(object sender, EventArgs e)
{
textBox1.Text += richTextBox1.SelectedText;
richTextBox1.SelectionFont = new Font("Kaiti", 24, FontStyle.Bold);
richTextBox1.SelectionColor = System.Drawing.Color.Red;
}
}
}