This article will demonstrate a simple FogBugz plugin that implements the IPluginFilterView interface contained in the FogCreek.FogBugz.Plugins.Interfaces class library.
We return an array of ViewMenuItems that this plugin will provide views for (in this case, only one). We specify that it's a case list, and link to a static file in our plugin for its image.
When the user selects a view provided by this plugin, it calls PresentFilter and passes the filter. In this case we are only providing one view. If we were providing several, we would check the CFilter.sView property to see which of our views is requested.
"); \n }\n return sb.ToString();\n}'}" plugin_content="" type="hidden">
Compile and Install It On Your Own
Download the source file: IPluginFilterView_Example.cs
Then follow these instructions to create a functioning plugin assembly: Compiling and Installing a FogBugz Plugin