How to create a Vertical ProgressBar

from:
http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/60b2493d-c8ff-495d-b845-d114fe456f54/#ee67fc20-7bc4-4e57-842d-1e7d5ec2d6f9

Here's an easier way to implement Tony's idea.  Add a new class to your project and paste the code shown below.  Build.  Drop the new control from the top of the toolbox onto your form.

using System;
using System.Windows.Forms;

public class VerticalProgressBar : ProgressBar {
  protected override CreateParams CreateParams {
    get {
      CreateParams cp = base.CreateParams;
      cp.Style |= 0x04;
      return cp;
    }
  }
}
原文地址:https://www.cnblogs.com/luoyaoquan/p/2303095.html