RE: Wxg2wxnet
"Bryan Bulten" <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
Hola, > For anyone who hasn't tried it yet, Alexander added the optional > wx.Widgets wxXmlResource class (see http://tinyurl.com/2cynv) to > wx.NET. To give credit, the original XmlResource sources were from Achim Breunig. > So given this I'm curious if/why you would prefer this Wxg2wxnet route vs. > just reading in XRC files. I guess two possible benefits: > > + Slightly faster startup > + A little code security -- your UI definition is not hanging > out in config files and can be obfuscated if you use an assembly > obfuscator > > But why not create a XRC->C# util instead? wxGlade can write this format > and so can most other wxWidgets UI builders. I personally prefer the XRC files; start-up speed slowdowns are negligable, especially when I load the XML at application start-up. Another benefit is that the code complexity is greatly reduced... However, another advantage to converting to source is that it's a little easier to make a more dynamic GUI, and customize things appropriately. Cheers. -- Bryan Bulten http://bulten.ca/ http://wxnet.sourceforge.net/ ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click