private void UserText_TextChanged(object sender, EventArgs e) { WordsLeftL.Text = InfoBoard.WordCounter(UserText.Text); progress.Maximum = Convert.ToInt32(WordsLeftL.Text) + 1; }
public Spritz() { InitializeComponent(); WordsLeftL.Text = InfoBoard.WordCounter(UserText.Text); progress.Maximum = Convert.ToInt32(WordsLeftL.Text) + 1; }