|
No...Reflector is what he is looking for!
Hawaian shirts and shorts work too in Summer.
People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage...
-Anna-Jayne Metcalfe on Paintballing
|
|
|
|
|
leppie wrote:
Reflector mite be what you looking for
No.
I tried the Reflector.
The beauty of CodeVizor is it produces class hierarchy chart just like the MFC classes posters (parent/child relationships). This chart can be printed and tacked onto the wall.
That makes easy to reference for the whole team.
Don't and drive.
|
|
|
|
|
Hmmm I see, and no then I havent seen such a tool, but Visio could probably do it if you have it.
[edit] Did you look at the outline option in Reflector, its not graphs as such, but it mite be sufficient for your needs [edit]
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
leppie wrote:
Did you look at the outline option in Reflector
Thx for the tip.
But pictures work better than words!!
Don't and drive.
|
|
|
|
|
Kant wrote:
But pictures work better than words!!
True I'm gonna have a look at GraphViz and see if I can do something usefull. Maybe possible to do a plugin for Reflector
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
Kant wrote:
But pictures work better than words!!
What details are you looking for exactly? I can generate a tool to make real nice inheritance structures. Just give me all you require and maybe some ideas.
Hey leppie! Your "proof" seems brilliant and absurd at the same time. - Vikram Punathambekar 28 Apr '03
|
|
|
|
|
If you download ASP .NET Web Matrix, it comes with a Class Browser. It shows the class hierarchy w/ each "ancestor" being a hyperlink to that class's def. The thing I don't like is that you can't just do a one-time viewing of an assembly, except by loading it in and then unloading it from the list when you're done.
I don't think it has exactly what you're looking for, though.
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|
|
jdunlap wrote:
ASP .NET Web Matrix, it comes with a Class Browser
Looks good. I didn't know about this one. Thx for the tip.
It supports print options, but the print menu items were disabled.
Don't and drive.
|
|
|
|
|
Object Browser which is embedded in visual studio.Net IDE is sufficient for your purpose. Don't look for any other thing.
Go use and enjoy
I hope that's what you were looking for!
Regards
|
|
|
|
|
Meisi wrote:
I hope that's what you were looking for!
Thx for the tip. But that's not I was looking for.
I want a tool which allows to view Class/namespace hierarchy and also PRINT like Microsoft classes posters. (CodeVizor does that for VC++ and Java)
Don't and drive.
|
|
|
|
|
i am a newbie at c#, but have a good amount of time with vc++ development.. can someone help me with some questions?
in vc++ my application could have variables and functions like:
CCompanyStore* myCompanyStore;
void ShowAboutDialog(); and i would call them throughout the program like:
CMyApp* pApp = (CMyApp*)AfxGetApp();
pApp->ShowAboutDialog(); i would use these types of functions for replacing views in my mainframe and such as well.. but i dont understand how to call a function from my base form without doing something stupid like calling this.Parent.Parent.SetStatusText("hello"); ..
is there an easy way to get a pointer or a handle onto the main form i have derived from System.Windows.Forms.Form to call its functions or get/set its variables?
thanks in advance for any pointers!
EDIT: just to clarify, i want to be able to call functions from anywhere in the program to set the status bar text, or to enable/disable a toolbar button, or to replace the form displayed in the background, etc.
|
|
|
|
|
Remember that everything in C# is defined in a class. So, check out the static [^] keyword. I believe that is what you want. Here[^] is another reference.
α.γεεκ Fortune passes everywhere. Duke Leto Atreides
|
|
|
|
|
i guess the static variables would work for maintaining application variables, but i still dont understand how i would access the variable of that class type if it is a member variable of my main form..
basicly if i have a function which sets what is being displayed in my main form i would want to be able to call that function from another form..
still a newb.. cut me some slack :P
-dz
|
|
|
|
|
The equivalent of AfxGetApp is the .NET Application class, which holds the ApplicationContext and the MainForm.
Unfortunately, the ApplicationContext member is not visible from your own code (it's protected).
|
|
|
|
|
so is there another way to get a handle on the main form?
still a newb.. cut me some slack :P
-dz
|
|
|
|
|
dazinith wrote:
so is there another way to get a handle on the main form?
First of all, a form handle is a different thing. All forms expose the underlying WIN32 window handle through the this.Handle property, but that's a different matter.
Beside navigating the parent hierarchy (as you pointed out in your original post), the most straight forward way to let a main form method be called from a child form is to pass a this reference to it when the child form is created. Passing this passes a reference to it, not a copy.
|
|
|
|
|
I just finished porting my C++ classes over to C# and now I want to document everything. In other words, I want to put the usual /// comments on top of every class and public member. I've started doing it manually, but it seems to me like there ought to be an easier way. I mean, it's a pain to have to write out the opening and closing tags for the summary, params, remarks, etc. So I'm wondering if there's a tool out there that can scan a .cs file, list all the public classes and members in a tree pane (on the left) and allow me to fill in the appropriate doc sections (on the right). This would allow me finish my task sooner, more accurately, and with less typing.
Anyone know of something like this, of should I start thinking about creating one?
Thanks,
Alvaro
When birds fly in the right formation, they need only exert half the effort. Even in nature, teamwork results in collective laziness. -- despair.com
|
|
|
|
|
Alvaro Mendez wrote:
should I start thinking about creating one?
You could do that and then post it as an article...it would be very nice to have. Meanwhile, I'll ask around.
Hawaian shirts and shorts work too in Summer.
People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage...
-Anna-Jayne Metcalfe on Paintballing
|
|
|
|
|
You can try doxygen. Its rather flexable.
I rated this article 2 by mistake. It deserves more. I wanted to get to the second page... - vjedlicka 3:33 25 Nov '02
|
|
|
|
|
Hello,
I agree with you. Doxygen is great. But it will be also great to have some kind of tool as described working with the .NET documentation system.
Have a nice day,
R. LOPES
Just programmer.
|
|
|
|
|
Hello,
I don't know about any such tool but it could be really useful.
Feel free to create one. It will be greatly appreciated .
Have a nice day,
R. LOPES
Just programmer.
|
|
|
|
|
What about NDOC? You can then use the VSHK to convert the CHM into a .NET help project.
Jarrod
|
|
|
|
|
Hello,
I'm wondering if anybody managed to use the webbrowser
control in a multithreaded application.
I would like to have several browsers runnning in
parrallel in the same program, but when I create several
webbrowser controls and call the navigate() function of
each of them to load different sites, it seems that if one
of them is long or somewhat stuck it affects all the
others. If I increase the number of webbrowser I get even
more troubles. I'm doing my tests using C#.
Has anybody tried this kind of solution ? Any experience
will be welcome.
Thanks,
R. LOPES
Just programmer.
|
|
|
|
|
I believe that's because all web browser control instances are hosted by a unique ole control site.
I would try to write my own. Derive the AxHost class. (google!)
|
|
|
|
|
Hello Stephane,
Thank you for your help. Do you have any idea on how to test that with VS .NET easely (if the instances are hosted by the same control) ?
Thanks,
R. LOPES
Just programmer.
|
|
|
|