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.Text.RegularExpressions;
using System.IO;
namespace _2134
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private bool flag = false;
private void textBox1_TextChanged(object sender, EventArgs e)
{
if (textBox1.Focus() == true)
{
if (textBox1.Text.Length == 1)
{
flag = true;
label1.Text = textBox1.Text.Substring(0);
}
}
}
}
}