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
Ensoi
NA
28
7.8k
Graph setting -Ve value in c#
Apr 29 2013 2:54 AM
hi
We have clarification i.e., if y is -ve in the below code, the line is not getting plotted inside the picturebox.
Kindly let us know how to set the -ve value in picture box
int height = pictureBox3.Size.Height;
int wid = pictureBox3.Size.Width;
Point pt1 = new Point(x, y + (int)((float)height * 10 / 11));
Point pt2 = new Point(x + wid, y + (int)((float)height * 10 / 11));
e.Graphics.DrawLine(Pens.Black, pt1, pt2);
Reply
Answers (
0
)
bind data from the database
app.config file change dynamically at runtime