文本图
代码:
using System;
using System.Collections.Generic;
using
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void label1_Click(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
string str1 = textBox1.Text;
string str2 = "";
string str3 = "";
str2 = str1.Substring(0,2);
str3 = str1.Substring(2);
label3.Text = str3;
label4.Text = str2;
}
}
}