|
So you are looking for code? If yes then you are at wrong site. Search google.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
Google doesn't help. And, as far as I know, this site's purpose is to share CODE between participants. Why do you think i'm at a wrong site?
|
|
|
|
|
No, the purpose of the site is to help people write their own code. Not just hand over stuff like a swap meet.
And Google DOES help, if you know how to do research. For example, start by looking to see if any of this stuff[^] will fit your needs.
|
|
|
|
|
Skiv22 wrote: And, as far as I know, this site's purpose is to share CODE between participants.
Partially, yes. So, I want to invite you to SHARE your solution and code as soon as it works, so that others may learn and benefit from it. You're not going to get any money for that, only peer recognition, a few 1-votes and a good, warm feeling inside. Because you helped the community
CP is not the place to order code. We're no take-away chinese, and there ain't no such thing as a free lunch, unless you're a Wall-street-idiot
Back to the point; The component you want is available in the articles on CodeProject. It's not entirely what you want, but close enough. Search for "UML" and the likes
Skiv22 wrote: this site's purpose is to share CODE between participants
There is a site that is built around that idea solely. It's called Google Code[^].
I are troll
|
|
|
|
|
Thanx a lot! I'll investigate those things and if succeed, put here some of my solutions.
And I'm not "a Wall-street-idiot". I'm "Lazy-Guy-From-Ukraine-Who-Wants-To-Jump-Over-His-Head"
|
|
|
|
|
Have you used Flowchart.Net?
I need a charting package which should be quite rich in features. Some of the requirements are:
- the ability to create a tree/network diagram
- user can select items in diagram and the items can be wired so that clicking executes my custom code
- user can draw connectors between items and again I need to execute some code in this situation
- items that are shown may be arranged on a timeline (a bit like Gantt-chart)
- items may be arranged on swimlanes
- drag and drop can be used both on timeline and swimlanes
In your opinion do you think Flowchart.Net would be up to these requirements?
Thanks in advance,
Mika
|
|
|
|
|
Hi,
I have a strange kind of problem. I never faced it nither heard about it.
All controls are disappeared from Design mode.
Form.Designer.cs is having complete code of control initialization but there is no control in design mode...
I tried to add new controls with same name, it says control already exist.
What is the possible reason of this?
I want to regenerate those old controls kindly help.
saif
|
|
|
|
|
Do you have any ActiveX control or any user contorl on the Form ?
If so this[^]and this[^]may help
Be careful, there is no Undo Button(Ctrl+Z) in life.
|
|
|
|
|
AoA
Thanks in advance for help.
I have made user controls of all default windows controls e.g. buttons, text box etc. So i make some skinning capability in it and some functionality enhancements.
So now i have a problem. I have an application developed earlier which usage all default windows controls. I want that i place a single component on each form and it replaces the default controls with my controls run time. Mostly i used paint in my controls. All my work is in C# and VS2005.
Please some body help me. And thanks in advance.
|
|
|
|
|
That is quite a large undertaking. One in which it would be easier if you just rewrote the application.
Basically, you have to go through the controls on the form and wire up new Paint event handlers from every control type. You'd have to supply painting code for every control your app uses, CheckBox's, TextBox's, Button's, ...
|
|
|
|
|
AoA
Thanks a lot. It helps me to understand how to implement my situation. I will check it, if it would be done.
In market there are many skinning frameworks e.g. SkinCrafter. we put a control on the form and supply it a skin, and all forms from that application is skinned automatically. Can you guide me of that process. Or suggest me of any tutorial or book which helps me to do so.
Thanks for previous answer and thanks helping me in further in advance.
|
|
|
|
|
NazarHussain wrote: Can you guide me of that process.
I just told you how it worked. You go enumerate the form's Controls collection, check the type of control and, depending on the type, use AddHandler to wire up it's Paint event to your own custom paint code.
NazarHussain wrote: Or suggest me of any tutorial or book which helps me to do so.
I don't of any skinning tutorials, at least none that show you how to write your own component. Using a third party component, I've seen.
Though, see what you can gleen from this[^]. It's not a good article because it doesn't explain anything about the code or concepts. But, if you can read the code, you might get something out of it.
|
|
|
|
|
Thanks it was a good tutorial. As i done some good thing in this concern i will post it on codeproject.
Thanks again.
|
|
|
|
|
am using treeview controls in windows form
selected nodes to display in visible mode
"visible=false"
plz snd me code.
Chandhu
|
|
|
|
|
chandhuBTS wrote: am using treeview controls in windows form
Ok
chandhuBTS wrote: selected nodes to display in visible mode
Then nodes which are not selected, will not be visible. Now originally none of the nodes should be selected and hence all nodes are invisible.
chandhuBTS wrote: plz snd me code.
As per the requirement, drag drop a tree view on your form. And in form load event write this:
this.treeView1.Visible = false;
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
how to insert,delete,update data for a sql table from a VB form in .NET
|
|
|
|
|
|
Or, if you prefer video;
The MSDN How Do I[^] video series
I are troll
|
|
|
|
|
Hello everyone. I'm building a forms application and i want to build a security system but i don't know where to start. I have divided my application in modules and i have a login form. But want to build something like windows: Users can see somethings and can press some button but in other plases he cannot.
Could some one give some lights so i can guide myself. I would like to build it myself but if you could point out some 3rd party product in last resourt lol.
Thanks in advance CodeProject gurus lol.
|
|
|
|
|
Ice_LS00 wrote: Users can see somethings and can press some button but in other plases he cannot.
I guess you mean that you need to give user specific access rights.
In this case, you can implement roles and rights based application. You can have certain roles defined in the database and provide them with certain rights. Then you can assign each user with a role and depending upon that you can provide the access rights.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
One way to handle this is to use RoleProvider[^] and MembershipProvider[^] classes (inherit your own implementations). Those classes help you to create custom role-based privileges.
On those pages there are good example implementations you could have a look at.
|
|
|
|
|
Isn't this for ASP.NET? I'm developing a winforms application can i still use this?
Thanks for your reply
|
|
|
|
|
Ice_LS00 wrote: Isn't this for ASP.NET? I'm developing a winforms application can i still use this
Yes you can use it. Simply add reference to System.Web. The examples are for ASP.NET and I believe it's mostly used in ASP scenarios but there's no reason why you couldn't use those in winforms.
Ice_LS00 wrote: Thanks for your reply
You're welcome
|
|
|
|
|
I thank you again my friend.
Good programming.
|
|
|
|
|
You're welcome
|
|
|
|