richtextbox classı
unknown
csharp
6 months ago
877 B
5
Indexable
Never
textBox1.Text = richTextBox1.Lines.Count().ToString(); richTextBox1.SelectionBackColor = Color.Blue; richTextBox1.SelectionColor = Color.Green; richTextBox1.AppendText("\n" + textBox1.Text); richTextBox1.Font = new Font("Arial", 12, FontStyle.Bold); textBox1.Text = richTextBox1.Find("selamun").ToString(); textBox1.Text = richTextBox1.Text; textBox1.Text = richTextBox1.SelectionLength.ToString(); textBox1.Text = richTextBox1.SelectedText.Count().ToString(); textBox1.Text = richTextBox1.SelectedText.Insert(3, "emiran"); textBox1.Text = richTextBox1.SelectedText.IndexOf('a').ToString(); textBox1.Text = richTextBox1.SelectedText.Replace('a', 'b'); textBox1.Text = richTextBox1.SelectedText.Remove(4); textBox1.Text = richTextBox1.SelectedText.Remove(3, 2); richTextBox1.Select(0, richTextBox1.Lines[0].Length); richTextBox1.SelectionBackColor = Color.Blue;
Leave a Comment