15,891,136 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 MehdiNaseri (Top 14 by date)
MehdiNaseri
2-Aug-13 21:58pm
View
Reason for my vote of 5 \n Simple but effective method.
1) You can eliminate these two lines of code:
FirstArrowXPos = e.GetPosition((sender as Control).Parent as Control).X - FirstXPos - 20;
FirstArrowYPos = e.GetPosition((sender as Control).Parent as Control).Y - FirstYPos - 20;
2) Also use respective canvas margins instead of 20 , like this:
(sender as Control).SetValue(Canvas.LeftProperty,
e.GetPosition((sender as Control).Parent as Control).X - FirstXPos – ConvasName.Margin.Left);
(sender as Control).SetValue(Canvas.TopProperty,
e.GetPosition((sender as Control).Parent as Control).Y - FirstYPos - ConvasName.Margin.Left);
MehdiNaseri
12-Apr-12 19:41pm
View
Thanks
MehdiNaseri
12-Apr-12 19:41pm
View
Deleted
Thanks
MehdiNaseri
11-Apr-12 22:26pm
View
I think you should post a tip/trick about how to make this link: http://bit.ly/IQX6l5 :D
MehdiNaseri
11-Apr-12 18:58pm
View
+6 :D
MehdiNaseri
25-Mar-12 18:00pm
View
Yes, of course. I agree, but if your computer has enough Ram (depending on operation systems on virtual machine) then the boost in performance won’t be that much.
MehdiNaseri
25-Mar-12 17:53pm
View
No: “Developing in VC++, on a 64-bits system won’t be a problem when deploying the application for a 32-bits system”
MehdiNaseri
24-Mar-12 20:53pm
View
You don’t need SSD to use virtual machine. You can run Windows XP, Vista, Apple iOS and other operation systems on your current system by using virtual machine.
MehdiNaseri
20-Mar-12 19:09pm
View
If I want to count three reasons for why someone need to learn ASP.NET, JQuery is certainly one of them.
There are three technologies you have to learn them as fast as possible (if you hadn’t done it yet):
1- Linq
2- Entity framework
3- JQuery
MehdiNaseri
16-Mar-12 7:13am
View
When I make and run ASP MVC applications on my computer, there isn’t any problem but when I upload website, it is not accessible on webhost. Why?
Is it because my host doesn’t support .Net framework 4?
Each website have a file like “default.html” and the host use it as start page of website but ASP MVC applications don’t have such file. we should make this file or it is not necessary?
Does an ASP MVC application need special host or configuration?
MehdiNaseri
12-Mar-12 21:39pm
View
Thank you.
MehdiNaseri
12-Mar-12 21:27pm
View
I have a WPF program with 2 textboxes and 1 button.
User enter the string in textbox1, Ex: "Pi (\u03a0)”
After clicking the button, textbox2.text must be: Pi (Π)
MehdiNaseri
12-Mar-12 21:23pm
View
This is a windows application.
MehdiNaseri
11-Mar-12 21:22pm
View
Thanks, but how can I invite others to join my group?
Show More