Geeks With Blogs
John Haigh's Blog Base Class Library Base Class Library
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

Mono Addins Windows Forms Application Sample - Part 1

Mono Addins Windows Forms Application Sample - Part 1 One new framework I came across recently is: Mono Addins. I have the need for a framework that will allow me to easily build extensible applications, whether they be Windows, ASP.NET or VisualWebGUI application(s).

Posted On Monday, October 5, 2009 8:50 AM

Mono Addins, Microsoft Sync Framework - October 2, 2009 Links

October 2, 2009 Links

Posted On Friday, October 2, 2009 8:30 PM

Convert a string value to an Enum
To convert a string value to an Enum, which may be required after retrieving data from an SqlDataReader. To give more context an Order object is created/returned from a static method GetOrderByOrderId and the Order object has a property OrderStatus that is an Enum which needs to be converted as it is stored as a string variable in SQL Server database table. Example Enum OrderStatus: public Enum ArtifactType { Folder, File } Order Class to represent our Order Object: public class Order { public int ......

Posted On Saturday, February 28, 2009 5:10 PM

Copyright © John Haigh | Powered by: GeeksWithBlogs.net