15,917,176 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by BibhutiAlmighty (Top 10 by date)
BibhutiAlmighty
25-Jan-15 19:43pm
View
string pattern = "\\s+";
What does this line of code mean ?
BibhutiAlmighty
14-Jan-15 8:19am
View
Yes. I would appreciate that
BibhutiAlmighty
11-Jan-15 12:15pm
View
I googled about the meaning of "OP" but couldn't get it . Whatdoes that mean ?
BibhutiAlmighty
10-Jan-15 0:30am
View
yes
BibhutiAlmighty
9-Jan-15 13:13pm
View
What is "parent" ?
BibhutiAlmighty
7-Jan-15 22:11pm
View
Thanks for your comment. I am trying
BibhutiAlmighty
7-Jan-15 21:41pm
View
Yes you are right. But i find the MSDN difficult because i don't think they provide a more detailed information. I just visited the site you referred. The sample which they have provided isn't commented.
for example:
The sample talks about working with pixels. then i search about the pixel and find another new keyword. this continues and i never find the exact answer that i'm searching for.
BibhutiAlmighty
4-Jan-15 9:20am
View
I tweaked your suggested code and it worked.
Thanks your suggestions worked.
here is it :
bool mouse_up = true;
int m_x;
int m_y;
private void Form1_MouseDown(object sender, MouseEventArgs e)
{
mouse_up = false;
m_x = e.X;
m_y = e.Y;
}
private void Form1_MouseUp(object sender, MouseEventArgs e)
{
mouse_up = true;
m_x = 0;
m_y= 0;
}
private void Form1_MouseMove(object sender, MouseEventArgs e)
{
if (mouse_up == false)
{
this.Location = new Point(Cursor.Position.X - m_x, Cursor.Position.Y - m_y);
}
}
But I still haven't got what I asked for. i.e. The meaning of the code I posted.
Hoping to get the answer (^.^)
BibhutiAlmighty
4-Jan-15 9:11am
View
Deleted
The compiler showed this error when I tried the code you suggested " Property or indexer 'System.Windows.Forms.Control.Right' cannot be assigned to -- it is read only "
BibhutiAlmighty
4-Jan-15 5:23am
View
these are the applications I have made till now
---->
geekattech.blogspot.com
---->
what should I try next ?
Show More