TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dong Lam Trien
830
986
146.5k
Sea trying to change the RichTextBox does not work ?
Feb 22 2017 12:58 AM
Drag and drop RichTextBox into form in the Form_Load and his running assign content for events RichTextBox_TextChanged RichTextBox but not running although I have to add this line of code:
this.RichTextBox.TextChanged + = new System.EventHandler (this.RichTextBox_TextChanged);
before Form_Load
[CODE]
public Form1()
{
InitializeComponent();
this.RichTextBox.TextChanged + = new System.EventHandler (this.RichTextBox_TextChanged);
this.Load += new System.EventHandler(this.Form1_Load);
}
private void RichTextBox_TextChanged (object sender, System.EventArgs e)
{
do something ...
}
[/ CODE]
as an example of his small examples on running normally, but in the main program will not run, I do not know what is not right ? What advice can you help me fix this.
Reply
Answers (
2
)
How to get system latitude longitute records every one hour?
can I run c# code in notepad