I have searched on google and youtube but still i can't understand how
to show the current character on the label :S
to show the current character on the label :S
PHP Code:
private void CharLimit()
{
if (textBox1.Text.Length >= 160)
for (int i = 160; i < Text.Length; i--)
{
label1.Text = Text.Length.ToString();
}
}
private void label1_Click(object sender, EventArgs e)
{
CharLimit();
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
CharLimit();
}