Answer the question
In order to leave comments, you need to log in
C# Windows Forms. Status bar in a text editor, you need to display the number of lines, the number of characters and words, how?
here's something nakalyakal, thanks to a kind person who will solve the problem
ToolStripLabel strokiLabel;
ToolStripLabel simvolLabel;
strokiLabel = new ToolStripLabel(richTextBox1.Lines.Length.ToString());
simvolLabel= new ToolStripLabel(richTextBox1.TextLength.ToString());
strokiLabel.Text = "Кол-во строк:" + strokiLabel.Text;
simvolLabel.Text = "Кол-во символ:" + simvolLabel.Text;
statusStrip1.Items.Add(strokiLabel.Text);
statusStrip1.Items.Add(simvolLabel.Text);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question