Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 0.32 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. protected override PropertyCollection OnCreatePropertyCollection()
  2. {
  3.     List<Property> propsBuilder = new List<Property>();
  4.  
  5.     propsBuilder.Add(new Int32Property("Left-hand brightness", 0, 0, 10));
  6.     propsBuilder.Add(new Int32Property("Right-hand brightness", 0, 0, 10));
  7.  
  8.     return new PropertyCollection(propsBuilder);
  9. }