in

DĂ© specialist in .NET trainingen en consultancy

Jo-wen Mei

mei 2009 - Posts

  • Keyboard shortcut to run a single test in Visual Studio

    Tip of the day: CTRL + R, CTRL + T

     

    This is the shortcut of the action "Test.DebugTestsInCurrentContext", so you can immediately run the test that has the current focus.

    This saves a lot of time comparing to the scenario where you need to locate the test in the Test View and have to select the "run/debug selected test" option.

    (I'm not aware of an easier way to achieve this...)

     

    the shortcut is easy to remember because it's short for Run Test! :)

  • Multiline TextBox in WPF

    When I want a multiline textBox in WPF, I keep thinking of the MultiLine property, which is only used in Winforms.

    So here's a note-to-self:

    <TextBox Height="40" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap" />

    Posted mei 04 2009, 02:51 by Jo-wen with no comments
    Filed under:
  • DosBox

    I'm currently running 64 bit Vista and have had my fair share of trouble with legacy software.

    If you want to run your old dos games... eh, I mean your first "Hello world" programming app, you can utilize a dos emulator.

    Tried it myself, works like a charm!