|
-
March 23rd, 2011, 04:21 PM
#16
Re: [RESOLVED] stacking several PNG files under in a windows forms
 Originally Posted by TheGreatCthulhu
[...] The form-related resource file is still there, but it's not normally used, nor there's a need for it to be used. It's collapsed under the form node in the project tree, so you barely even notice it - I guess it's reserved for the designer (I think that the IDE might use it when you work with some specific controls.)
The form-related .resx file is collapsed under the form node in C++/CLI as well. And it is not normally used insofar as there usually is no need for the developer to directly work with it in any way. But it is quite commonly used by the Designer: It holds references to form-related resources such as the background images of forms or buttons, as used over there in the moving button thread. It also holds information about objects placed on the Designer's tray (timers, for instance); at least their position on the tray.
Interesting. I haven't yet read the entire article but I've bookmarked it. Looks as if many of the forum celebrities haven't read it either. ... or they simply agreed not to agree at some point.
If [C++/CLI's] usefulness is limited, we have Microsoft to blame: generally, the support could be better, and especially so when it comes to the IDE.
I coudn't agree more.
For example, you could probably create a WPF application using C++/CLI, but it would be cumbersome to code it without the support of the IDE. (bunch of stuff that needs to be set up, and XAML, all manually.)
I'm pretty certain this can be done. But hand-writing (as opposed to sometimes hand-editing for some fine tuning) XAML seems similar to hand-writing HTML or XML to me, and that's also something that practically isn't done anymore nowadays. Maybe someday someone will come up with a 3rd-party XAML editor that can be used with C++/CLI?
Hm... After some digging, the docs say that C-style casts should be avoided in CLR projects.
I think I have read something like that too, but doesn't that pertain to native C++ as well?
But, .NET events are essentially just a syntactic sugar for what is in its core the Observer pattern. [...]
Looks as if this could be the beginning of another interesting discussion, so I'll spawn a separate thread on it. I'll post the code containing the PentagramBox class I already mentioned there as a basis for discussion. The thread I wrote that for is almost a month ago and the homework is most likely already handed in.
EDIT: This is the spawned thread: http://www.codeguru.com/forum/showthread.php?t=510377
Last edited by Eri523; March 23rd, 2011 at 06:01 PM.
Reason: Added link to the spawned thread
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|