AlexCode Posted April 24, 2004 Posted April 24, 2004 I'm developing an IDE for an application. Using several resources, one of them was the Divil's tuturial about Hosting Windows Forms Designers... Now a qustion about it: How can I implement a doubleclick event on the hosted controls so I can go to my code editor tool just like VS.net does...? Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
*Gurus* divil Posted April 27, 2004 *Gurus* Posted April 27, 2004 Implement IEventBindingService, you'll find that's where the double-clicks are eventually routed in most cases (unless DoDefaultAction is overridden). Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
AlexCode Posted April 27, 2004 Author Posted April 27, 2004 Thanks Divil... I'll try that... I've one more question to you. What I'm doing is a mix, I'm develloping this IDE not to create dll's or EXE's but to create XML files of my serialized objects... This XML structure have both objects and code... When it deserializes it produces a Form with it's child components and a code file that is runned using the Script technology... Everything is working already... just need a IDE to implement on my app so there's no need to recompile the app for any changes on the final presentation forms and also allows me to devellop templates fom several business areas... Real ERP tech! :) Now the question... To create the code from the Design view on the IDE I only see the CodeDom way... is it? Thanks... Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
*Gurus* divil Posted April 28, 2004 *Gurus* Posted April 28, 2004 Yes, the only built in way is through CodeDom. You could serialize the CodeDom using a BinaryFormatter if you wanted. Alternatively, MS has a designer host sample of their own now (I don't have an url) which includes XML serialization. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.