Click here to Skip to main content
15,885,839 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm trying to develop a tool with drag n drop facility to visualize connection of components. u can assume them to be registers, capacitors etc., with input and output pins in an electronic circuit. I'm using Visual C#. bt d components I create are not transparent. dey appear to be 2D pictures. wen I place components one above d other, d unused part of top component hides d component below it. I want dem to b actual components.

Is der any method to achiev it, or can anybody suggest me some better approaches..

Thanks,
Sharath
Posted
Comments
Addy Tas 17-Jan-12 16:40pm    
If i read the story correct, your biggest issue is that the components (or partsof them) are not transpartently drawn on screen. It might help if you specify what you use for drawing.
Sergey Alexandrovich Kryukov 17-Jan-12 20:04pm    
"I'm using Visual C#" does not describe the problem. By the way, C# or C++/CLI? Does not really matter. What is the UI library: WPF, Forms, what?
--SA

1 solution

Main problem is: you did not specify what UI library you use, and that makes answering to your question totally impossible. Please also see my comment to the question.

However, I don't want waste time on answering your question and addressing your problem. I want to give you a very different advice: use WPF, and nothing else. With WPF, the problem you describe does not exist, as well as many other problems. (You will face other problems, don't worry :-)). WPF is designed to serve different kinds of presentation fields, and the diagramming of any kind is one of them.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900