Upgraded to NUnit 2.4.0

git-svn-id: file:///srv/devel/repo-conversion/nuwi@3 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2007-04-13 19:31:53 +00:00
parent ed2eb1443e
commit f36cfeb68f
2 changed files with 20 additions and 5 deletions

View File

@ -81,6 +81,22 @@
<XNAUseContentPipeline>false</XNAUseContentPipeline>
<Name>EmbeddedControlCollection</Name>
</Compile>
<Compile Include="Source\TrackingBar\TrackingBar.cs">
<XNAUseContentPipeline>false</XNAUseContentPipeline>
<Name>TrackingBar</Name>
<SubType>Component</SubType>
</Compile>
<Compile Include="Source\TrackingBar\TrackingBar.Designer.cs">
<DependentUpon>TrackingBar.cs</DependentUpon>
<XNAUseContentPipeline>false</XNAUseContentPipeline>
<Name>TrackingBar.Designer</Name>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Nuclex.Support\Nuclex.Support %28PC%29.csproj">
<Project>{A696702E-AFAD-45E7-88FA-1E2520E5E746}</Project>
<Name>Nuclex.Support %28PC%29</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA\Game Studio Express\v1.0\Microsoft.Xna.ContentPipeline.targets" />

View File

@ -20,7 +20,7 @@ namespace Nuclex.Windows.Forms {
/// </remarks>
public partial class ContainerListView : System.Windows.Forms.ListView {
/// <summary>Initialisiert ein neues ListView-Steuerelement</summary>
/// <summary>Initializes a new ContainerListView</summary>
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) {