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
cad sunny
NA
138
22.9k
draw line between forms
Sep 29 2014 7:27 AM
hi,
i used panel1,panel2 on form2
for eg i have slected panel1 color is red
panel2 click event
System.Drawing.Graphics graphicsObj;
graphicsObj = panel2.CreateGraphics();
Pen graphPen = new Pen(panel1.BackColor, 15);
graphicsObj.DrawLine(graphPen, 5, 10, 120, 10);
now if click on panel2 show draw line panel1 selected red color
this is ok,
but i want to show form2 panel2 drawline color (i.e red) to form1 datagridview column0 row0
plz help me the code?
Reply
Answers (
3
)
load more content when browser scroll
upload multiple image in database in asp.net using c#