Pedro Silva's Blog

Development lead on Visual Studio Platform team focusing on the extensibility of Visual Studio.

Browse by Tags

Tagged Content List
  • Blog Post: ListView Performance Posts

    I've been reading a series of ListView performance posts by HippieTim . He's done a really good job of showing different ways of using ListViews and how they perform compared to one another. And, recommendations for getting good perf with your ListView. WinForms ListView Performance WinForms...
  • Blog Post: List of WinForms and C# Links

    There's been lots of WinForms and C# related content posted recently, and I have a list of things that I had meant to blog about, but never got around to. I'm going to post of list of some of these, so I can clear my backlog, keep track of them, and let other folks know about them... Priority Queue...
  • Blog Post: Multimedia Timer for the .NET Framework

    I'm always a big fan of new .NET wrappers for Win32 APIs that haven't been made part of the framework. And, I usually link to projects that implement that interop layer. Doing interop can be tough, so having code that someone's written for it is very useful. Here's a link to a CodeProject the wraps...
  • Blog Post: Check Out Gel Buttons for Winforms

    Chris Jackson has two posts about Gel Buttons that he's created for WinForms. They look really good and implement design-time support, so they're good examples on how to do that as well. Creating Gel Buttons With Window Forms: Part 1 Creating Gel Buttons With Window Forms: Part 2 Not sure...
  • Blog Post: Using 'Open With' System Dialog in C#

    Vivek has a project where he's written the interop layer to access the Windows shell's 'Open With' Dialog -- the one where you can associate a file extension with the application that should open it. It's a dialog that you may find useful in one of your applications, but isn't supported in the .NET libraries...
  • Blog Post: VS.Net 2005 Design-Time Integration

    Doing design-time integration for components and controls is always a big request. Being able drop a control or component in something like the WinForms designer, lets developers visualize what things will look like as they change properties. The following article gives a good overview of the architecture...
  • Blog Post: Using XBox 360 Controller in C#

    Here's a very cool sample that uses Managed DirectX to support input from the new XBox 360 controller in a simple Windows Form in C#. Paul Stubbs : MDX: XBOX 360 Controller Windows Forms Application [via Greg ]
  • Blog Post: CodeProject Gradient Editor

    Sameera has an interesting article on CodeProject about creating a Gradient Editor control that lets you pick the colors and attributes for a gradient fill. It's similar to features that you've probably seen in professional drawing applications, like Photoshop.
  • Blog Post: Radio Button in a .NET 2.0 MenuStrip

    I just ran into a problem doing this and found a great post about how to work around it. It appears that the MenuStrip doesn't support radio button items be default, but you can create a radio button effect by using the ToolStripMenuItem.Checked property and some drawing.
  • Blog Post: Minimize to System Tray Revisited

    Earlier in the week, I posted about a project that implemented system tray support for .NET applications. That seems like a good project, but it's a bit complicated. I was just trying to add this functionality to an app that I've been playing around with, and I found another sources that has a more...
  • Blog Post: Using My Namespace for Splash Screen

    I posted earlier about using the My namespace in VS 2005 to create a single instance application in C#. You can also do a similar thing to use the My functionality for displaying a splash screen when your .NET application is loading. Here is Tyler's post on how to do this in VB, but if you include...
  • Blog Post: .NET Application Running on the System Tray

    Here's a link to sample code by Chris Szurgot for creating an application that can be placed on the system tray . It's become much more common to have things on the system tray recently, and this code allows you to implement this feature using .NET 2.0. I haven't had a chance to use the code yet,...
  • Blog Post: Using Settings in VS 2005 to Save Window Position

    Here is a good article on how to use Application Settings to save a windows size, location, and state. There were lots of good improvements to Application Settings in VS 2005, and now it's easier to use them in WinForms applications for custom data. Also, today is my last day at work for the year...
  • Blog Post: SplitButton WinForms Control

    Here's some sample code by jfoscoding that creates a split button , with part of it behaving like a button and the other part flys out a menu. It's pretty useful, and you've probably seen similar buttons on toolbars and dialogs.
  • Blog Post: RSS Feed Authoring Tool

    Duncan MacKenzie created a tool to create an RSS 2.0 file from user entered data rather than as a feed from a blogging engine. Sometimes you have content that you want a feed for without it necessarily being in your blogging engine. Duncan created this for use on MSDN, so that some of they're article...
  • Blog Post: 3D Graphics Engine in C#

    Here's a cool 3D graphics engine that was ported to 100% C# . This is great if you're looking at doing graphics in a WinForms application. And, it's built using the Visual C# 2005 Beta 2 -- cool. [via Brian Keller ] Also, I'm going on vacation next week to Boston and then visit family in Connecticut...
  • Blog Post: WinForms Gradient Panel

    Christopher posted code yesterday that implements a custom gradient panel WinForms control. The code is pretty straight-forward and uses Graphics rotation to paint the gradient at different angles.
  • Blog Post: ColorPicker.NET Article on MSDN

    Chris Sano just posted an article on MSDN about ColorPicker.NET and some of the custom WinForms controls that it uses. This is a very informative article for anyone doing custom controls in .NET. And, the ColorPicker.NET dialog looks really good. I look forward to using it in some personal projects that...
  • Blog Post: Single Instance App on Whidbey

    In prior versions of .NET, there were lots of discussions about how to support single-instance WinForms applications. Here are a couple of links discussed some ways to do that: here and here and here's one in C++ . For Whidbey, some of that functionality has been built into the Visual Basic libararies...
  • Blog Post: Difference between Control.Invalidate, Control.Update and Control.Refresh.

    If you've ever developed WinForms applications and/or controls, you've probably come across the different ways to get a control or form to repaint. Here's a blog post with a great description of the different ways to do that.
Page 1 of 1 (20 items)