Font Add-In for Reflector

Feel free to ignore everything posted here. Reflector has a switch, /fontsize:14 that would do the samething. The moral of the story, as always, is that I'm an idiot. I'll leave this posted so people can point and laugh at me.

As a trainer, reflector is obviously a TREEEEmendous tool to have at your disposal.  The problem?  8.25ft on a projector generally doesn't go over well.  I've used those zoom-in tools in the past, but with the release of the 4.0 release of reflector I decided to get off my butt and knock out an add-in to bump up the font.  So, I present to you, the most ghetto add-in for reflector ever, FontPackage.  There are somethings to keep in mind:

  1. The GotDotNet workspaces were running WAY to slow for me to figure out if there is better info out there on writing an add-in, so I just kinda winged it.
  2. I use Lucida Console, 14pt for everything.  If you want to customize the font for each window, knock yourself out. 

So here it is, in all it's glory:

Public Class FontPackage
    Implements Reflector.IPackage
    Private windowManager As Reflector.IWindowManager

    Public Sub Load(ByVal serviceProvider As System.IServiceProvider) Implements Reflector.IPackage.Load
        windowManager = serviceProvider.GetService(GetType(Reflector.IWindowManager))
        Dim myFont = New System.Drawing.Font("Lucida Console", 14, System.Drawing.FontStyle.Regular)
        windowManager.Content.Font = myFont
        For Each myWindow As Reflector.IWindow In windowManager.Windows
            myWindow.Content.Font = myFont
        Next
    End Sub
    Public Sub Unload() Implements Reflector.IPackage.Unload
    End Sub
End Class


Here's the compiled version of my wonderful app right here. A word of warning, I spent all of 15 minutes writing this, and 10 minutes of that was waiting for GotDotNet to respond to different page requests. Obviously, I've not done any error handling and the possibility of actually having a dialog to customize the font would be pretty cool. But it gets the job done for me, and I just felt like sharing.

10 Comments

  • Why not use: Reflector.exe /fontsize:13 (?)

  • SON OF A BITCH.



    i both hate and love you frank

  • Well now I have to go and do something really cool because the whole internerd knows that I'm too stupid to run a /? on a program.



    Reflector.exe /fontname:Lucida Console /fontsize:14



    This is not a good way to go to sleep, dwelling on failure....

  • Think about it this way: You get the credit for making sure everybody finds out this command line switch exists.

  • @Phil: and if you put quotation marks around the font name it will even work ;-)

  • free golden showers gallery free golden showers gallery,annuity factors term certain annuity factors term certain,weather info for a certain day weather info for a certain day,rans rans,billy talent lies tab billy talent lies tab,sanibel florida real estate sanibel florida real estate,matt danowski tricia matt danowski tricia,terrace heights hospital parsons blvd queens ny terrace heights hospital parsons blvd queens ny,ran dahlstr246 ran dahlstr246,melda ran melda ran,

  • slutty women videos [url=http://www.homeviewuzbekistan.info/slutty53.html]slutty women videos[/url] slutty women videos http://www.homeviewuzbekistan.info/slutty53.html,blue sweetheart neck halter black sheer overlay [url=http://www.freewuzstore.info/overlay50.html]blue sweetheart neck halter black sheer overlay[/url] blue sweetheart neck halter black sheer overlay http://www.freewuzstore.info/overlay50.html,108th congress vacant seat [url=http://www.officialwuzsupplies.info/vacant38.html]108th congress vacant seat[/url] 108th congress vacant seat http://www.officialwuzsupplies.info/vacant38.html,creating myspace div overlays [url=http://www.freewuzstore.info/overlay50.html]creating myspace div overlays[/url] creating myspace div overlays http://www.freewuzstore.info/overlay50.html,find ski resort director position vacant [url=http://www.officialwuzsupplies.info/vacant38.html]find ski resort director position vacant[/url] find ski resort director position vacant http://www.officialwuzsupplies.info/vacant38.html,

  • sylvia bishop seminars [url=http://www.wuzhome.info/sylvia12.html]sylvia bishop seminars[/url] sylvia bishop seminars http://www.wuzhome.info/sylvia12.html,six white boomers music [url=http://www.sawuzi.info/boomer17.html]six white boomers music[/url] six white boomers music http://www.sawuzi.info/boomer17.html,espresso 1 lehrbuch preisvergleich [url=http://www.habasitio.info/preisvergleich25.html]espresso 1 lehrbuch preisvergleich[/url] espresso 1 lehrbuch preisvergleich http://www.habasitio.info/preisvergleich25.html,sylvias restaurantny [url=http://www.wuzhome.info/sylvia12.html]sylvias restaurantny[/url] sylvias restaurantny http://www.wuzhome.info/sylvia12.html,what causes a dog to have seizures [url=http://www.wuznation.info/seizures47.html]what causes a dog to have seizures[/url] what causes a dog to have seizures http://www.wuznation.info/seizures47.html,

  • the presdiental race 1992 [url=http://www.glanderiver.info/race16.html]the presdiental race 1992[/url] the presdiental race 1992 http://www.glanderiver.info/race16.html,trusses- triangles strongest polygons- [url=http://www.superwuz.info/polygon67.html]trusses- triangles strongest polygons-[/url] trusses- triangles strongest polygons- http://www.superwuz.info/polygon67.html,gwen stefani words to music [url=http://www.wuzsupplies.info/gwen22.html]gwen stefani words to music[/url] gwen stefani words to music http://www.wuzsupplies.info/gwen22.html,heat capacity temperature [url=http://www.wuzwizard.info/heat26.html]heat capacity temperature[/url] heat capacity temperature http://www.wuzwizard.info/heat26.html,gbc heat153 [url=http://www.wuzwizard.info/heat26.html]gbc heat153[/url] gbc heat153 http://www.wuzwizard.info/heat26.html,

  • Is it so important?,

Comments have been disabled for this content.