diff --git a/Nuclex.Windows.Forms.csproj b/Nuclex.Windows.Forms.csproj index 503589a..8e5c158 100644 --- a/Nuclex.Windows.Forms.csproj +++ b/Nuclex.Windows.Forms.csproj @@ -81,6 +81,22 @@ false EmbeddedControlCollection + + false + TrackingBar + Component + + + TrackingBar.cs + false + TrackingBar.Designer + + + + + {A696702E-AFAD-45E7-88FA-1E2520E5E746} + Nuclex.Support %28PC%29 + diff --git a/Source/ContainerListView/ContainerListView.cs b/Source/ContainerListView/ContainerListView.cs index 6fdc3ea..a85e52b 100644 --- a/Source/ContainerListView/ContainerListView.cs +++ b/Source/ContainerListView/ContainerListView.cs @@ -20,7 +20,7 @@ namespace Nuclex.Windows.Forms { /// public partial class ContainerListView : System.Windows.Forms.ListView { - /// Initialisiert ein neues ListView-Steuerelement + /// Initializes a new ContainerListView public ContainerListView() { this.embeddedControlClickedHandler = new EventHandler(embeddedControlClicked); @@ -117,13 +117,12 @@ namespace Nuclex.Windows.Forms { if(subItem >= order.Length) throw new IndexOutOfRangeException("SubItem " + subItem + " out of range"); - // Rahmen des gesamten ListViewItems ermitteln, inklusive aller SubItems + // Determine the border of the entire ListViewItem, including all sub items Rectangle itemBounds = item.GetBounds(ItemBoundsPortion.Entire); int subItemX = itemBounds.Left; - // Horizontale Position des SubItems berechnen - // Da die Spaltenreihenfolge geändert werden kann müssen wir - // Columns[order[i]] statt Columns[i] verwenden! + // Find the horizontal position of the sub item. Because the column order can vary, + // we need to use Columns[order[i]] instead of simply doing Columns[i] here! ColumnHeader columnHeader; int i; for(i = 0; i < order.Length; ++i) {