Tutorials > Monospace BugEvents
Monospace BugEvents Plugin
Now that you've gotten your development environment setup and built the classic Hello, world it's time to build something a little more functional.
This example plugin implements the IPluginStaticCSS interface to specify a custom stylesheet file to be imported for all pages in FogBugz. Plugin-defined CSS files are imported after the built-in ones, so you can override any of the default styles.
This plugin implements the IPluginStaticCSS interface (Example) contained in the FogCreek.FogBugz.Plugins.Interfaces class library. This plugin overrides the font-family property for BugEvents in the case view. Many users find that they would prefer to have monospace text not only when editing a case, but also when viewing. This is useful for formatting code snippets (and for ascii art)
Compile and Install It On Your Own
Download the source file: MonoSpaceBugEvents.cs
Download the zip file: MonoSpaceBugEvents.zip
Then follow these instructions to create a functioning plugin assembly: Compiling and Installing a FogBugz Plugin