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
Steve Nicco
NA
81
1.3k
Operator '+' cannot be applied to operands od type 'Point'
May 16 2018 11:18 AM
I am trying to send image on secondary display and this is a part of code which intends to set its coordinates to 0,0 position
if
(frP2 ==
false
)
{
Screen disp =
null
;
form2.StartPosition = FormStartPosition.Manual;
disp = Screen.AllScreens[1];
form2.Location = disp.Bounds.Location +
new
Point(0, 0);
form2.Show();
}
Visual Studio returns an error: "Operator '+' cannot be applied to operands od type 'Point'". What to use instead of "+" in this case?
Reply
Answers (
3
)
Invalid Object Error While Using Application With A New DB
SQL Server Automatic Update