Geeks With Blogs
John Haigh's Blog November 2009 Entries
Mono Addins - Working with the Mono Addins Registry to Enable and Disable an Addin.
A commenter had the question "How do you unload a plugin after loading it?". This is done through the Mono Addin Registry. Here is some quick code on how to work with the Mono Addins Registry to Enable and Disable an Addin: This will give you a list of Addins. You could add the Addin's Id to a ListBox as I am doing here and then have buttons to Enable/Disable an Addin. Addin[] arry = AddinManager.Registry.GetAd... foreach (Addin item in arry) { this.listBox1.Items.Add(ite... } This will disable ......

Posted On Thursday, November 12, 2009 11:20 AM

Copyright © John Haigh | Powered by: GeeksWithBlogs.net