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
Sairah Naveed
NA
40
737
How the two different graphics plots in parallel using C#
Sep 13 2017 9:18 PM
Greetings Everyone,
I need help to plot two graphics (of a different style (point and rectangular dot) plot in parallel using same data on an image. This GUI program executes in the following way:
1. Reads text file contains the data points which have to be plotted on an image file which loads in picture Box.
2. The program uses click button and the check box.
3. After clicking up the button the program execution started with the plotting of the First graphic, however when the check box is checked the second graphic plotting started in parallel with the first graphic, and when the check box unchecked the second graphic plotting stopped. (Both of the graphics style using the same text file).
4. The second graphic actually plots the trajectory (continuous plot /tracking plot) of the first graphic. As when the user wants to observe the trajectory(tracking plot) so check the check box.
5. I used the threading technique to read a text file and activates this thread under click button.
I need help what to do in this case, should I create the separate thread for check box for plotting the second graphic in parallel with the first graphic?
here I am sharing a block of my code, which I tried to implement but it plots like when the check box is checked the program plots the first and second graphic in parallel but the second graphic does not plot continuously, which does not meet my program requirement. I want to plot the blue rectangular dot continuously (track plot) as the second graphic when the check box is checked, and stopped plotting when the checkbox is unchecked.
Please help!
Attachment:
WindowsFormsApp5.zip
Reply
Answers (
2
)
Crating word using winforms
Sending Mail in Gmail and that Message show in our App