16,015,697 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 .NET 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 helianthus87 (Top 13 by date)
helianthus87
6-Sep-10 8:07am
View
You need to figure out how to place nodes and edges on scene to avoid colliscion and make the graph clear and easy to understand. There are plenty algorithms to draw trees, graphs, etc. But everything depends on certain type of graph youre going to draw, its complexity, number of edges, nodes. The easiest way i found (perfect for learning purpose, works fine for graphs with about 20-40 nodes, with more nodes even with large circle edges edges ovarlaying and cant really see there) is to draw nodes over the circle with straith lines between nodes. Easy to implement, animate or do anything you want.
helianthus87
6-Sep-10 7:55am
View
I solved it other (ugly) way but deadline is comming so hadn't much time to dig in. Thanks alot for this example ill try to apply this when product came back from client after tests with alot efficiency complains xD Im also going to start learning bit more about SQL for better understanding stuff im working with.
helianthus87
1-Sep-10 7:38am
View
So youre mooving cursor according the arrow and need to find yout if the cursor is below or above line defined by 2 red points, right? If that so all you need to do is get equation of line y=a*x+b then having a,b (you can get it solving 2 equations). Lets say you have cursor P4(cx,cy), then calculate y=a*cx+b and if y
helianthus87
1-Sep-10 2:56am
View
I just noticed that youre asking about WPFs list box and given example is from silverlight. I think there is not much differance but you probably can't use this exact example in WPF app. I'll change this code after work. Sorry for confusion.
helianthus87
1-Sep-10 2:53am
View
I know some basics about sockets, streamming buffers etc. so thats why i was asking about this. Dunno anything about I-Series architecture so thought thats the reason of such solution.
helianthus87
31-Aug-10 17:15pm
View
I forgot to mention that user is not operating on entities but other objects mapped from/to entietes at the begining and end editing process so any model update stuff wont work. I'm using SQL Server 2008 and Linq to entities model. All i know about stored procedures is that something like this exists so it can be pretty difficult for me but nothing i couldnt handle.
helianthus87
30-Aug-10 10:37am
View
According to BSD Licence you can use it to commercial solutions but in final product you need to attach information about opencv's authors and it's licence content. I'm not really familiar with licensing stuff at all. Thats all i found out about BSD Licence from wikipedia ;)
helianthus87
13-Jul-10 3:09am
View
That was quick tricky solution i found accidently. Before that i was thinking about universial solution. Recursive adding items in code behind could be an option. You need some function like AddNode(Node root) where you call something like:
foreach(Node n in Nodes)
{
AddNode(n);
}
I wrote something like this to draw genealogical tree from list of Nodes where each node had ParentId, ChildId etc. so the sturcture is similar. Don't really know how to combine it with HierarchicalDataTemplate and TreeView but I'll try to figure out something after work. If i find this thing (its very old, dirty and messy piece of code ;P) i can send it to you via email or something.
About my previous solution... I'm almost sure that you can do this the same way using Proper IValueConverter to bounded items.
helianthus87
12-Jul-10 8:51am
View
"My DataContext of the view is entirely bound to another object."
Could you paste some piece of code where DataContext of view and TextBox is set? Whole view .xaml would be the best ;) There might be a problem when youre setting context for entire view, then TextBox loosing its context and derrives main context from parent.
helianthus87
12-Jul-10 6:40am
View
On my the question is: "How to make ComboBox look/behave(??) like this in Run window (win+R) in Windows" but still don't know whats the problem.
helianthus87
9-Jul-10 3:54am
View
Then you need to dig in differances between WinForms in WinXp and Win7. I'll check my solution today after work becouse it seems universal no matter the platform.
helianthus87
7-Jul-10 9:36am
View
Thanks alot. Thats what i was looking for. Simple and easy. There will be some painfull work to set category to each view (tab), but it's always better than some rocket science i was affraid of.
helianthus87
7-Jul-10 9:31am
View
It's not a typical "Telerik issue". Solution of this problem for common TabControl can be easily applied to Telerik's TabControl.
Show More